Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1430676

Re: [Nbd] [PATCH 1/2] nbd: make nbd device wait for its users

From Eric Blake <eblake@redhat.com>
Newsgroups linux.kernel
Subject Re: [Nbd] [PATCH 1/2] nbd: make nbd device wait for its users
Date 2016-06-24 15:50 +0200
Message-ID <rNzEB-h8-5@gated-at.bofh.it> (permalink)
References <rKf9o-F4-23@gated-at.bofh.it> <rNvB0-6gB-19@gated-at.bofh.it>
Organization Red Hat, Inc.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 06/24/2016 03:29 AM, Markus Pargmann wrote:
> From: "Pranay Kr. Srivastava" <pranjas@gmail.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@gmail.com>
> 
> [mpa: Keep the blockdevice open until all users left]
> Signed-off-by: Markus Pargmann <mpa@pengutronix.de>



-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] nbd: make nbd device wait for its users Markus Pargmann <mpa@pengutronix.de> - 2016-06-24 11:40 +0200
  Re: [PATCH 1/2] nbd: make nbd device wait for its users Pranay Srivastava <pranjas@gmail.com> - 2016-06-24 11:50 +0200
  Re: [Nbd] [PATCH 1/2] nbd: make nbd device wait for its users Eric Blake <eblake@redhat.com> - 2016-06-24 15:50 +0200
  Re: [PATCH 1/2] nbd: make nbd device wait for its users Pranay Srivastava <pranjas@gmail.com> - 2016-06-25 20:00 +0200
    Re: [PATCH 1/2] nbd: make nbd device wait for its users Markus Pargmann <mpa@pengutronix.de> - 2016-06-29 09:00 +0200

csiph-web