[GIT PULL] Ceph updates for 5.15-rc1

From: Ilya Dryomov
Date: Wed Sep 08 2021 - 13:03:25 EST

Hi Linus,

The following changes since commit 7d2a07b769330c34b4deabeed939325c77a7ec2f:

Linux 5.14 (2021-08-29 15:04:50 -0700)

are available in the Git repository at:

https://github.com/ceph/ceph-client.git tags/ceph-for-5.15-rc1

for you to fetch changes up to 05a444d3f90a3c3e6362e88a1bf13e1a60f8cace:

ceph: fix dereference of null pointer cf (2021-09-03 10:55:51 +0200)

We have:

- a set of patches to address fsync stalls caused by depending on
periodic rather than triggered MDS journal flushes in some cases
(Xiubo Li)

- a fix for mtime effectively not getting updated in case of competing
writers (Jeff Layton)

- a couple of fixes for inode reference leaks and various WARNs after
"umount -f" (Xiubo Li)

- a new ceph.auth_mds extended attribute (Jeff Layton)

- a smattering of fixups and cleanups from Jeff, Xiubo and Colin.

Colin Ian King (1):
ceph: fix dereference of null pointer cf

Jeff Layton (11):
ceph: fix memory leak on decode error in ceph_handle_caps
ceph: fix comment about short copies in ceph_write_end
ceph: remove some defunct forward declarations
ceph: add a new vxattr to return auth mds for an inode
ceph: cancel delayed work instead of flushing on mdsc teardown
ceph: remove redundant initializations from mdsc and session
ceph: add ceph_change_snap_realm() helper
ceph: print more information when we can't find snaprealm
ceph: request Fw caps before updating the mtime in ceph_write_iter
ceph: lockdep annotations for try_nonblocking_invalidate
ceph: drop the mdsc_get_session/put_session dout messages

Xiubo Li (8):
ceph: make ceph_create_session_msg a global symbol
ceph: make iterate_sessions a global symbol
ceph: flush mdlog before umounting
ceph: flush the mdlog before waiting on unsafe reqs
ceph: reconnect to the export targets on new mdsmaps
ceph: remove the capsnaps when removing caps
ceph: don't WARN if we're force umounting
ceph: don't WARN if we're forcibly removing the session caps

fs/ceph/addr.c | 2 +-
fs/ceph/cache.h | 6 -
fs/ceph/caps.c | 266 ++++++++++++++++++++++++++++---------------
fs/ceph/file.c | 32 +++---
fs/ceph/inode.c | 11 +-
fs/ceph/mds_client.c | 218 +++++++++++++++++++++++++----------
fs/ceph/mds_client.h | 5 +
fs/ceph/mdsmap.c | 12 +-
fs/ceph/metric.c | 4 +-
fs/ceph/snap.c | 59 ++++++----
fs/ceph/strings.c | 1 +
fs/ceph/super.h | 9 +-
fs/ceph/xattr.c | 19 ++++
include/linux/ceph/ceph_fs.h | 1 +
14 files changed, 438 insertions(+), 207 deletions(-)