Skip to content

NBD fixes for caching and block device flags

Paolo Bonzini lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nbd: support FLUSH requestsdrivers/block/nbd.c include/uapi/linux/nbd.h+22 -310 replies
2/3nbd: fsync and kill block device on shutdowndrivers/block/nbd.c+10 -03 replies
3/3nbd: show read-only state in sysfsdrivers/block/nbd.c+3 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

Patch[email protected]
1/3A-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] NBD fixes for caching and block device flags

The first two patches improve the behavior of NBD with respect to the host cache---respectively the server's cache and the client's. The first adds support for flushing the backing storage, so that NBD is safe against power losses. The second properly syncs and cleans the client's page cache when an NBD device is disconnected from the server.

The third reports read-only devices properly in sysfs.

Ok for 3.9? I saw the last NBD patches were applied by Andrew Morton, so I'm CCing him; Paul, please ack them if they are okay.

Paolo

Alex Bligh (1):
nbd: support FLUSH requests

Paolo Bonzini (2):
nbd: fsync and kill block device on shutdown
nbd: show read-only state in sysfs

 drivers/block/nbd.c      |   35 +++++++++++++++++++++++++++++++++--
 include/uapi/linux/nbd.h |    3 ++-
 2 files changed, 35 insertions(+), 3 deletions(-)