Page MenuHomeFreeBSD

xen/blkfront: correctly detach a disk with active users
ClosedPublic

Authored by royger on May 17 2017, 2:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 30, 11:19 AM
Unknown Object (File)
Wed, Sep 24, 12:51 AM
Unknown Object (File)
Aug 31 2025, 3:17 PM
Unknown Object (File)
Aug 5 2025, 8:41 PM
Unknown Object (File)
Aug 1 2025, 6:20 PM
Unknown Object (File)
Jul 13 2025, 5:04 AM
Unknown Object (File)
Jul 10 2025, 10:18 AM
Unknown Object (File)
Jul 7 2025, 9:42 AM
Subscribers

Details

Summary

Call disk_gone when the backend switches to the "Closing" state and blkfront
still has pending users. This allows the disk to be detached, and will call
into xbd_closing by itself when the geom layout cleanup has finished.

Reported by: bapt
Sponsored by: Citrix Systems R&D
MFC after: 1 week

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 17 2017, 2:39 PM

you can add tested by: manu

In D10772#223139, @bapt wrote:

you can add tested by: manu

Yep,

Thanks for working on this.

This revision was automatically updated to reflect the committed changes.