Comment 43 for bug 861656

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

The kernel should (imo) return -EBUSY when when asked to disconnect a mounted nbd device. It'd be trivial to do. But consensus is that it'd be refused because it should behave like all other disks.

Kvm's qemu-nbd.c *could* detect the condition as well. But the check there would be racy.

So we will propose a patch to have nova refuse the disconnect if the device is busy.