Re: [Nbd] [PATCH v2 4/5]nbd: make nbd device wait for its users.

2016-06-15 Thread Pranay Srivastava
On Wed, Jun 15, 2016 at 12:30 PM, Wouter Verhelst wrote: > On Wed, Jun 15, 2016 at 08:30:45AM +0200, Markus Pargmann wrote: >> Thanks for the explanations. I think my understanding was off by one ;).. >> I didn't realize that the DO_IT thread from the userspace has the block >> device open as well

Re: [Nbd] [PATCH v2 4/5]nbd: make nbd device wait for its users.

2016-06-15 Thread Wouter Verhelst
On Wed, Jun 15, 2016 at 08:30:45AM +0200, Markus Pargmann wrote: > Thanks for the explanations. I think my understanding was off by one ;).. > I didn't realize that the DO_IT thread from the userspace has the block > device open as well. Obviously, otherwise it couldn't do an ioctl() to it :-) >