[Bug 211000] [Hyper-V] Online VHDX Resize doesn't work properly
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 11 09:43:29 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211000
Bug ID: 211000
Summary: [Hyper-V] Online VHDX Resize doesn't work properly
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: decui at microsoft.com
Hyper-V has a feature called Online VHDX Resize: the disk capacity can be
changed by the host when the VM is running. Note: the host doesn't notify
the VM of the capacity change proactively; when the VM sends the next I/O
request to the host, the host will report an error (SCSI_STATUS_CHECK_COND)
with sense data supplied (the sense data indicates a disk capacity change)
and the VM is supposed to check and handle the capacity change properly,
and re-submit the I/O request.
However, the current I/O response handling in the VM has a bug: the host's
response's status is lost unintentionally, so the upper SCSI layer in the
VM
always thinks the I/O request is completed successfully while it's not
(this
causes undefined behaviors), and ignores the sense data.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list