ceph kernel client ENOSPC handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | ceph: update ceph_msg_header structureinclude/ | +2 | 0 replies | |
| 2/7 | ceph: remove unused `map_waiters` from osdc clientinclude/ net/ | +0 | 0 replies | |
| 3/7 | ceph: add ceph_osdc_cancel_writesinclude/ net/ | +75 | 1 reply | |
| 4/7 | ceph: handle full condition by cancelling opsfs/ fs/ | +22 | 0 replies | |
| 5/7 | ceph: update CAPRELEASE message formatfs/ fs/ | +19 | 0 replies | |
| 6/7 | ceph: handle new osdmap barrier field in CLIENTCAPSfs/ fs/ fs/ +1 more | +214 | 0 replies | |
| 7/7 | ceph: include osd epoch barrier in debugfsfs/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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