[GIT PULL] Ceph updates for 5.20-rc1

From: Ilya Dryomov
Date: Thu Aug 11 2022 - 11:25:07 EST


Hi Linus,

The following changes since commit 3d7cb6b04c3f3115719235cc6866b10326de34cd:

Linux 5.19 (2022-07-31 14:03:01 -0700)

are available in the Git repository at:

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

for you to fetch changes up to a8af0d682ae0c9cf62dd0ad6afdb1480951d6a10:

libceph: clean up ceph_osdc_start_request prototype (2022-08-03 14:05:39 +0200)

----------------------------------------------------------------
We have a good pile of various fixes and cleanups from Xiubo, Jeff,
Luis and others, almost exclusively in the filesystem. Several patches
touch files outside of our normal purview to set the stage for bringing
in Jeff's long awaited ceph+fscrypt series in the near future. All of
them have appropriate acks and sat in linux-next for a while.

----------------------------------------------------------------
Daichi Mukai (1):
libceph: print fsid and epoch with osd id

Hu Weiwen (1):
ceph: don't truncate file in atomic_open

Jason Wang (1):
libceph: fix ceph_pagelist_reserve() comment typo

Jeff Layton (8):
fs: change test in inode_insert5 for adding to the sb list
fscrypt: export fscrypt_fname_encrypt and fscrypt_fname_encrypted_size
fscrypt: add fscrypt_context_for_new_inode
ceph: don't leak snap_rwsem in handle_cap_grant
ceph: convert to generic_file_llseek
ceph: call netfs_subreq_terminated with was_async == false
ceph: switch back to testing for NULL folio->private in ceph_dirty_folio
libceph: clean up ceph_osdc_start_request prototype

Li Qiong (1):
libceph: check pointer before assigned to "c->rules[]"

Luis Henriques (2):
ceph: use correct index when encoding client supported features
ceph: prevent a client from exceeding the MDS maximum xattr size

Xiubo Li (13):
ceph: remove useless CEPHFS_FEATURES_CLIENT_REQUIRED
fs/dcache: export d_same_name() helper
ceph: wait for the first reply of inflight async unlink
ceph: add session already open notify support
ceph: choose auth MDS for getxattr with the Xs caps
ceph: fix the incorrect comment for the ceph_mds_caps struct
ceph: fix incorrect old_size length in ceph_mds_request_args
ceph: make change_auth_cap_ses a global symbol
ceph: update the auth cap when the async create req is forwarded
ceph: don't get the inline data for new creating files
ceph: flush the dirty caps immediatelly when quota is approaching
ceph: make f_bsize always equal to f_frsize
ceph: remove useless check for the folio

drivers/block/rbd.c | 6 +-
fs/ceph/addr.c | 59 ++++++--------
fs/ceph/caps.c | 38 ++++-----
fs/ceph/dir.c | 79 ++++++++++++++++---
fs/ceph/file.c | 123 ++++++++++++------------------
fs/ceph/inode.c | 13 +++-
fs/ceph/mds_client.c | 165 ++++++++++++++++++++++++++++++++++++++--
fs/ceph/mds_client.h | 13 ++--
fs/ceph/mdsmap.c | 22 +++++-
fs/ceph/super.c | 19 +++--
fs/ceph/super.h | 31 ++++++--
fs/ceph/xattr.c | 12 ++-
fs/crypto/fname.c | 36 +++++++--
fs/crypto/fscrypt_private.h | 9 +--
fs/crypto/hooks.c | 6 +-
fs/crypto/policy.c | 35 +++++++--
fs/dcache.c | 15 +++-
fs/inode.c | 10 ++-
include/linux/ceph/ceph_fs.h | 8 +-
include/linux/ceph/mdsmap.h | 1 +
include/linux/ceph/osd_client.h | 5 +-
include/linux/dcache.h | 2 +
include/linux/fscrypt.h | 5 ++
include/linux/mmdebug.h | 10 +++
net/ceph/osd_client.c | 15 ++--
net/ceph/osdmap.c | 32 ++++++--
net/ceph/pagelist.c | 2 +-
27 files changed, 538 insertions(+), 233 deletions(-)