[Bug 211000] [Hyper-V] Online VHDX Resize doesn't work properly
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jul 12 08:59:21 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211000
--- Comment #4 from Dexuan Cui <decui at microsoft.com> ---
2 patches are committed into the CURRENT to improve the situation:
commit 2d2d5090052a987069c501ea3a7b73691347dae1
Author: sephe <sephe at FreeBSD.org>
Date: Tue Jul 12 02:57:13 2016 +0000
hyperv/stor: Save the response status and xfer length properly.
The current command response handling discards status and xfer
length unconditionally, so that all of the commands would be
considered successful, even if errors happened. When errors
really happens, this causes all kinds of wiredness, since the
buffer will not be filled on the host side and sense data will
be ignored.
Most of the time, errors do not happen, however, error does
happen for the request sent immediately after the disk resizing.
Discarding the SCSI status (SCSI_STATUS_CHECK_COND) and sense
data (capacity changes) prevents the disk resizing from working
properly.
This commit saves the response status and xfer length properly
for later use.
Submitted by: Dexuan Cui <decui microsoft com>
Noticed by: sephe
MFC after: 3 days
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D7181
commit 187620ec479c064b89a998d295ebf81b71db24ad
Author: sephe <sephe at FreeBSD.org>
Date: Mon Jul 11 05:17:48 2016 +0000
hyperv/stor: Fix the INQUIRY checks
Don't check the area that the host has not filled.
PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209443
PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210425
Submitted by: Hongjiang Zhang <honzhan microsoft com>
Reviewed by: sephe, Dexuan Cui <decui microsoft com>
MFC after: 3 days
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6955
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list