[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <576D3852.1050209@redhat.com>
Date: Fri, 24 Jun 2016 07:40:34 -0600
From: Eric Blake <eblake@...hat.com>
To: Markus Pargmann <mpa@...gutronix.de>,
"Pranay Kr. Srivastava" <pranjas@...il.com>
Cc: nbd-general@...ts.sourceforge.net, Wouter Verhelst <w@...r.be>,
linux-kernel@...r.kernel.org
Subject: Re: [Nbd] [PATCH 1/2] nbd: make nbd device wait for its users
On 06/24/2016 03:29 AM, Markus Pargmann wrote:
> From: "Pranay Kr. Srivastava" <pranjas@...il.com>
>
> When a timeout occurs or a recv fails, then instead of abruplty killing
s/abruplty/abruptly/
> nbd block device wait for it's users to finish.
s/it's/its/ (remember, "it's" is only usable where "it is" would also be
appropriate)
>
> This is more required when filesystem(s) like ext2 or ext3 don't expect
> their buffer heads to disappear while the filesystem is mounted.
>
> Each open is counted. The blockdevice is kept open until the last user
> closes the block device. This offers the possibility as well to open a
> new socket to be used while the filesystems are mounted.
>
> Signed-off-by: Pranay Kr. Srivastava <pranjas@...il.com>
>
> [mpa: Keep the blockdevice open until all users left]
> Signed-off-by: Markus Pargmann <mpa@...gutronix.de>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Download attachment "signature.asc" of type "application/pgp-signature" (605 bytes)
Powered by blists - more mailing lists