Skip to content

ceph kernel client ENOSPC handling

John Spray ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ceph: update ceph_msg_header structureinclude/linux/ceph/msgr.h+2 -10 replies
2/7ceph: remove unused `map_waiters` from osdc clientinclude/linux/ceph/osd_client.h net/ceph/osd_client.c+0 -20 replies
3/7ceph: add ceph_osdc_cancel_writesinclude/linux/ceph/osd_client.h net/ceph/osd_client.c+75 -01 reply
4/7ceph: handle full condition by cancelling opsfs/ceph/mds_client.c fs/ceph/mds_client.h+22 -00 replies
5/7ceph: update CAPRELEASE message formatfs/ceph/mds_client.c fs/ceph/mds_client.h+19 -20 replies
6/7ceph: handle new osdmap barrier field in CLIENTCAPSfs/ceph/caps.c fs/ceph/mds_client.c fs/ceph/mds_client.h +1 more+214 -220 replies
7/7ceph: include osd epoch barrier in debugfsfs/ceph/debugfs.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] ceph kernel client ENOSPC handling

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(-)
Signature · 1 line
1.9.3