linux/fs/ceph
Ilya Dryomov 60267ba35c ceph: reencode gid_list when reconnecting
On reconnect, cap and dentry releases are dropped and the fields
that follow must be reencoded into the freed space.  Currently these
are timestamp and gid_list, but gid_list isn't reencoded.  This
results in

  failed to decode message of type 24 v4: End of buffer

errors on the MDS.

While at it, make a change to encode gid_list unconditionally,
without regard to what head/which version was used as a result
of checking whether CEPH_FEATURE_FS_BTIME is supported or not.

URL: https://tracker.ceph.com/issues/48618
Fixes: 4f1ddb1ea8 ("ceph: implement updated ceph_mds_request_head structure")
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
2020-12-28 20:34:32 +01:00
..
acl.c ceph: add caps perf metric for each superblock 2020-06-01 13:22:51 +02:00
addr.c ceph: pass down the flags to grab_cache_page_write_begin 2020-12-14 23:21:47 +01:00
cache.c
cache.h
caps.c ceph: fix race in concurrent __ceph_remove_cap invocations 2020-12-14 23:21:47 +01:00
ceph_frag.c
debugfs.c ceph: add status debugfs file 2020-12-14 23:21:47 +01:00
dir.c Revert "ceph: allow rename operation under different quota realms" 2020-12-14 23:21:47 +01:00
export.c ceph: don't return -ESTALE if there's still an open file 2020-06-01 13:22:53 +02:00
file.c libceph, rbd, ceph: "blacklist" -> "blocklist" 2020-10-12 15:29:26 +02:00
inode.c ceph: don't reach into request header for readdir info 2020-12-14 23:21:48 +01:00
io.c
io.h
ioctl.c
ioctl.h
Kconfig libceph: replace HTTP links with HTTPS ones 2020-08-03 11:05:26 +02:00
locks.c ceph: fix up some warnings on W=1 builds 2020-12-14 23:21:47 +01:00
Makefile
mds_client.c ceph: reencode gid_list when reconnecting 2020-12-28 20:34:32 +01:00
mds_client.h ceph: take a cred reference instead of tracking individual uid/gid 2020-12-14 23:21:48 +01:00
mdsmap.c libceph, ceph: get and handle cluster maps with addrvecs 2020-12-14 23:21:50 +01:00
metric.c ceph: send dentry lease metrics to MDS daemon 2020-12-14 23:21:47 +01:00
metric.h ceph: send dentry lease metrics to MDS daemon 2020-12-14 23:21:47 +01:00
quota.c Revert "ceph: allow rename operation under different quota realms" 2020-12-14 23:21:47 +01:00
snap.c ceph: check session state after bumping session->s_seq 2020-11-04 20:55:49 +01:00
strings.c
super.c ceph: add new RECOVER mount_state when recovering session 2020-12-14 23:21:46 +01:00
super.h Revert "ceph: allow rename operation under different quota realms" 2020-12-14 23:21:47 +01:00
util.c
xattr.c ceph: set osdmap epoch for setxattr 2020-12-14 23:21:48 +01:00