[Bug 211028] [GEOM][Hyper-V] gpart can't detect the new free space after the disk capacity changes
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Sep 30 03:46:16 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211028
--- Comment #37 from commit-hook at freebsd.org ---
A commit references this bug:
Author: ae
Date: Fri Sep 30 03:45:41 UTC 2016
New revision: 306476
URL: https://svnweb.freebsd.org/changeset/base/306476
Log:
MFC r303019:
Use g_resize_provider() to change the size of GEOM_DISK provider,
when it is being opened. This should fix the possible loss of a resize
event when disk capacity changed.
MFC r303288:
Do not invoke resize method if geom is being withered.
MFC r303637:
Do not invoke resize event if initial disk size is zero. Some disks
report the size only after first opening. And due to the events are
asynchronous, some consumers can receive this event too late and
this confuses them. This partially restores previous behaviour, and
at the same time this should fix the problem, when already opened
provider loses resize event.
PR: 211028
Changes:
_U stable/11/
stable/11/sys/geom/geom_disk.c
stable/11/sys/geom/geom_subr.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list