Skip to content

ceph: async directory operations support

Jeff Layton ceph-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest13 patches 7 repliesIn review
  2. v512 patches 11 repliesSuperseded
  3. v49 patches 12 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13ceph: make kick_flushing_inode_caps non-staticfs/ceph/caps.c fs/ceph/super.h+5 -30 replies
2/13ceph: add flag to designate that a request is asynchronousfs/ceph/inode.c fs/ceph/mds_client.c fs/ceph/mds_client.h +1 more+20 -20 replies
3/13ceph: track primary dentry linkfs/ceph/dir.c fs/ceph/inode.c fs/ceph/super.h +1 more+12 -10 replies
4/13ceph: add infrastructure for waiting for async create to completefs/ceph/caps.c fs/ceph/dir.c fs/ceph/mds_client.c +2 more+54 -70 replies
5/13ceph: make __take_cap_refs non-staticfs/ceph/caps.c fs/ceph/super.h+8 -60 replies
6/13ceph: cap tracking for async directory operationsfs/ceph/caps.c fs/ceph/mds_client.c fs/ceph/mds_client.h +1 more+56 -140 replies
7/13ceph: don't take refs to want mask unless we have all bitsfs/ceph/caps.c+4 -10 replies
8/13ceph: perform asynchronous unlink if we have sufficient capsfs/ceph/dir.c fs/ceph/super.c fs/ceph/super.h+128 -50 replies
9/13ceph: make ceph_fill_inode non-staticfs/ceph/inode.c fs/ceph/super.h+32 -230 replies
10/13ceph: decode interval_sets for delegated inosfs/ceph/mds_client.c fs/ceph/mds_client.h+121 -105 replies
11/13ceph: add new MDS req field to hold delegated inode numberfs/ceph/mds_client.c fs/ceph/mds_client.h+2 -20 replies
12/13ceph: cache layout in parent dir on first sync createfs/ceph/caps.c fs/ceph/file.c fs/ceph/inode.c +2 more+40 -50 replies
13/13ceph: attempt to do async create when possiblefs/ceph/file.c include/linux/ceph/ceph_fs.h+243 -70 replies

Reviews trailers per patch

None of the 13 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchYan, Zheng
SeriesR-b
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13
10/13
11/13
12/13
13/13

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

Read the v6 thread

Cover letter [PATCH v6 00/13] ceph: async directory operations support

v6: move handling of CEPH_I_ASYNC_CREATE from __send_cap into callers
also issue ceph_mdsc_release_dir_caps() in complete_request properly handle -EJUKEBOX return in async callbacks

I previously pulled the async unlink patch from ceph-client/testing, so this set includes a revised version of that as well, and orders it some other changes.

The main change from v5 is to rework the callers of __send_cap to either skip sending or wait if the create reply hasn't come in yet.

We may not actually need patch #7 here. Zheng had that delta in one of the earlier patches, but I'm not sure it's really needed now. It may make sense to just take it on its own merits though.

Jeff Layton (12):
ceph: make kick_flushing_inode_caps non-static
ceph: add flag to designate that a request is asynchronous
ceph: track primary dentry link
ceph: add infrastructure for waiting for async create to complete
ceph: make __take_cap_refs non-static
ceph: cap tracking for async directory operations
ceph: perform asynchronous unlink if we have sufficient caps
ceph: make ceph_fill_inode non-static
ceph: decode interval_sets for delegated inos
ceph: add new MDS req field to hold delegated inode number
ceph: cache layout in parent dir on first sync create
ceph: attempt to do async create when possible

Yan, Zheng (1):
ceph: don't take refs to want mask unless we have all bits

 fs/ceph/caps.c               |  91 ++++++++----
 fs/ceph/dir.c                | 111 ++++++++++++++-
 fs/ceph/file.c               | 269 +++++++++++++++++++++++++++++++++--
 fs/ceph/inode.c              |  58 ++++----
 fs/ceph/mds_client.c         | 196 ++++++++++++++++++++++---
 fs/ceph/mds_client.h         |  24 +++-
 fs/ceph/super.c              |  20 +++
 fs/ceph/super.h              |  23 ++-
 include/linux/ceph/ceph_fs.h |  17 ++-
 9 files changed, 724 insertions(+), 85 deletions(-)
Signature · 1 line
2.24.1