<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/dev/hyperv/storvsc/hv_vstorage.h, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-08-31T09:05:45Z</updated>
<entry>
<title>Hyper-V: storvsc: Enhance srb_status code handling.</title>
<updated>2020-08-31T09:05:45Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2020-08-31T09:05:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2a0ce39d086ffe13782c9dc1e24bb240abbe790a'/>
<id>urn:sha1:2a0ce39d086ffe13782c9dc1e24bb240abbe790a</id>
<content type='text'>
In hv_storvsc_io_request() when coring, prevent changing of the send channel
from the base channel to another one. storvsc_poll always probes on the base
channel.

Based upon conversations with Microsoft, changed the handling of srb_status
codes. Most we should never get, others yes. All are treated as retry-able
except for two. We should not get these statuses, but if we ever do, the I/O
state is not known.

Submitted by:	Alexander Sideropoulos &lt;Alexander.Sideropoulos@netapp.com&gt;
Reviewed by:	trasz, allanjude, whu
MFC after:	1 week
Sponsored by:	Netapp Inc
Differential Revision:	https://reviews.freebsd.org/D25756
</content>
</entry>
<entry>
<title>storvsc: port a Linux patch, properly set residual data length on errors</title>
<updated>2020-01-14T13:20:16Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2020-01-14T13:20:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=efdba95d62e573a013dc06552c6bbb0df84dae87'/>
<id>urn:sha1:efdba95d62e573a013dc06552c6bbb0df84dae87</id>
<content type='text'>
This change is based on Linux commit 40630f462824ee.  csio.resid should
account for transfer_len only for success and SRB_STATUS_DATA_OVERRUN
condition.

I am not sure how exactly this change works, but I have a report from a
user that they see lots of checksum errors when running a pool scrub
concurrently with iozone -l 1 -s 100G.  After applying this patch the
problem cannot be reproduced.

Reviewed by:	nobody
Sponsored by:	CyberSecure
Differential Revision: https://reviews.freebsd.org/D22312
</content>
</entry>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>hyperv: Update copyright for the files changed in 2017</title>
<updated>2017-08-14T06:00:50Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2017-08-14T06:00:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=93b4e111bb02ce42ba82e25c9c049e03ded19062'/>
<id>urn:sha1:93b4e111bb02ce42ba82e25c9c049e03ded19062</id>
<content type='text'>
MFC after:	3 days
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D11982
</content>
</entry>
<entry>
<title>hyperv/storvsc: Fixup SRB status.</title>
<updated>2017-04-05T08:15:47Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2017-04-05T08:15:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=498ef762ecb7f7fd5dd273245524823428a7a9b5'/>
<id>urn:sha1:498ef762ecb7f7fd5dd273245524823428a7a9b5</id>
<content type='text'>
This unbreaks GEN2 Hyper-V cd support.

Submitted by:	Hongjiang Zhang &lt;honzhan microsoft com&gt;
Reviewed by:	dexuan@
MFC after:	3 days
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D10212
</content>
</entry>
<entry>
<title>hyperv/storvsc: Increase queue depth and rework channel selection.</title>
<updated>2016-08-25T05:50:19Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2016-08-25T05:50:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9db7c2c6b59a6e01356ccb25211764d6a5664fc9'/>
<id>urn:sha1:9db7c2c6b59a6e01356ccb25211764d6a5664fc9</id>
<content type='text'>
- Increasing queue depth gives ~100% performance improvement for
  randwrite fio test in Azure.
- New channel selection, which takes LUN id and the current cpuid
  into consideration, gives additional ~20% performance improvement
  for ranwrite fio test in Azure.

Submitted by:   Hongzhang Jiang &lt;honzhan microsoft com&gt;
Modified by:    sephe
MFC after:	1 week
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D7622
</content>
</entry>
<entry>
<title>hyperv/storvsc: Deliver CAM_SEL_TIMEOUT upon SRB status error.</title>
<updated>2016-08-17T05:02:18Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2016-08-17T05:02:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=86afc9b6252f722561b53b4354f43925ae232654'/>
<id>urn:sha1:86afc9b6252f722561b53b4354f43925ae232654</id>
<content type='text'>
SRB status is set to 0x20 by the hypervisor, if the specified LUN is
unaccessible, and even worse the INQUIRY response will not be set by
the hypervisor at all under this situation.  Additionally, SRB status
is 0x20 too, for TUR on an unaccessible LUN.

Deliver CAM_SEL_TIMEOUT to CAM upon SRB status errors as suggested by
Scott Long, other values seems improper.

This commit fixes the Hyper-V disk hotplug support.

Submitted by:	Hongjiang Zhang &lt;honzhan microsoft com&gt;
MFC after:	3 days
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D7521
</content>
</entry>
<entry>
<title>hyperv/stor: Enable INQUIRY result check only on WIN10 like host systems</title>
<updated>2016-05-12T03:29:29Z</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2016-05-12T03:29:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=008c25ebb9af3085b497eaa487de27d83b88ea45'/>
<id>urn:sha1:008c25ebb9af3085b497eaa487de27d83b88ea45</id>
<content type='text'>
On WIN8 like host systems, when rescan happens, the already installed
disks seem to return random invalid results for INQUIRY.

More investigation is under way to figure out why random invalid INQUIRY
results are delivered to VM on WIN8 like host systems.

Submitted by:	Hongjiang Zhang &lt;honzhan microsoft com&gt;
Reviewed by:	sephe
MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D6316
</content>
</entry>
<entry>
<title>Add support for SCSI disk hot add and remove. Also add padding according to</title>
<updated>2015-05-18T10:31:23Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2015-05-18T10:31:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=17b87604456dab26f4787453cdb98534ce0809f9'/>
<id>urn:sha1:17b87604456dab26f4787453cdb98534ce0809f9</id>
<content type='text'>
the requirement of different hypervisor releases.

Submitted by:	whu
Reviewed by:	royger
Approved by:	royger
MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D2512
</content>
</entry>
<entry>
<title>Microsoft vmbus, storage and other related driver enhancements for HyperV.</title>
<updated>2015-04-29T10:12:34Z</updated>
<author>
<name>Wei Hu</name>
<email>whu@FreeBSD.org</email>
</author>
<published>2015-04-29T10:12:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=da2f98a1cf890caeb84b303d3bd94da2b518785c'/>
<id>urn:sha1:da2f98a1cf890caeb84b303d3bd94da2b518785c</id>
<content type='text'>
    - Vmbus multi channel support.
    - Vector interrupt support.
    - Signal optimization.
    - Storvsc driver performance improvement.
    - Scatter and gather support for storvsc driver.
    - Minor bug fix for KVP driver.
Thanks royger, jhb and delphij from FreeBSD community for the reviews
and comments. Also thanks Hovy Xu from NetApp for the contributions to
the storvsc driver.

PR:     195238
Submitted by:   whu
Reviewed by:    royger, jhb, delphij
Approved by:    royger
MFC after:      2 weeks
Relnotes:       yes
Sponsored by:   Microsoft OSTC
</content>
</entry>
</feed>
