This series implements the kclient equivalents of recent userspace changes for http://tracker.ceph.com/issues/7317 We modify the client's behaviour on the OSD map full flag to cancel ops instead of blocking them, and we add a new 'osd epoch barrier' concept in the client-server protocol to ensure that nobody else can touch a file who had an operation cancelled until they have the subsequent OSD map, to ensure ordering. The epoch barrier will also be important in the future for stricter client eviction. John Spray (7): ceph: update ceph_msg_header structure ceph: remove unused `map_waiters` from osdc client ceph: add ceph_osdc_cancel_writes ceph: handle full condition by cancelling ops ceph: update CAPRELEASE message format ceph: handle new osdmap barrier field in CLIENTCAPS ceph: include osd epoch barrier in debugfs fs/ceph/caps.c | 110 +++++++++++++++++++++++++++++++++++-- fs/ceph/debugfs.c | 3 ++ fs/ceph/mds_client.c | 116 +++++++++++++++++++++++++++++++++++++++- fs/ceph/mds_client.h | 18 ++++++- fs/ceph/super.h | 3 +- include/linux/ceph/msgr.h | 3 +- include/linux/ceph/osd_client.h | 9 +++- net/ceph/osd_client.c | 68 ++++++++++++++++++++++- 8 files changed, 319 insertions(+), 11 deletions(-) -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html