]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix regression in the handling of blkback close events for
authorJustin T. Gibbs <gibbs@FreeBSD.org>
Fri, 17 Feb 2012 22:33:46 +0000 (22:33 +0000)
committerJustin T. Gibbs <gibbs@FreeBSD.org>
Fri, 17 Feb 2012 22:33:46 +0000 (22:33 +0000)
commit45cbfcdabc4ce68336116bacf93dcc6abbb76656
treefbb385cf4bc9bfc5c8a9712803b42d3d28a6f74f
parentbabc7c12587be4f23bd76e6072081d920ded1a47
Fix regression in the handling of blkback close events for
devices that are unplugged via QEMU.

sys/dev/xen/blkback/blkback.c:
Toolstack initiated closures change the frontend's state
to Closing.  The backend must change to Closing as well,
even if we can't actually close yet, in order for the
frontend to notice and start the closing process.

MFC after: 3 days
sys/dev/xen/blkback/blkback.c