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

Paolo Bonzini
2013-02-12T16:06:23Z

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(-)