I've been trying to chip away at the coverage of the session->s_mutex, and in the process have been doing some minor cleanup of the code and comments, mostly around the cap handing. These shouldn't cause much in the way of behavioral changes. Jeff Layton (8): ceph: remove ceph_get_cap_mds and __ceph_get_cap_mds ceph: fetch cap_gen under spinlock in ceph_add_cap ceph: eliminate session->s_trim_caps ceph: fix comments over ceph_add_cap ceph: have __mark_caps_flushing return flush_tid ceph: remove unneeded test in try_flush_caps ceph: remove CEPH_I_NOFLUSH ceph: remove incorrect comment above __send_cap fs/ceph/caps.c | 80 ++++++++++++-------------------------------- fs/ceph/mds_client.c | 17 +++++----- fs/ceph/mds_client.h | 2 +- fs/ceph/super.h | 20 +++++------ 4 files changed, 39 insertions(+), 80 deletions(-) -- 2.21.0