android_kernel_motorola_sm6375/fs/ceph
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Xiubo Li 2cdced57bc ceph: don't let check_caps skip sending responses for revoke msgs
commit 257e6172ab36ebbe295a6c9ee9a9dd0fe54c1dc2 upstream.

If a client sends out a cap update dropping caps with the prior 'seq'
just before an incoming cap revoke request, then the client may drop
the revoke because it believes it's already released the requested
capabilities.

This causes the MDS to wait indefinitely for the client to respond
to the revoke. It's therefore always a good idea to ack the cap
revoke request with the bumped up 'seq'.

Cc: [email protected]
Link: https://tracker.ceph.com/issues/61782
Signed-off-by: Xiubo Li <[email protected]>
Reviewed-by: Milind Changire <[email protected]>
Reviewed-by: Patrick Donnelly <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2023-07-27 08:37:38 +02:00
..
acl.c
addr.c ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty 2021-07-20 16:10:48 +02:00
cache.c
cache.h
caps.c ceph: don't let check_caps skip sending responses for revoke msgs 2023-07-27 08:37:38 +02:00
ceph_frag.c
debugfs.c
dir.c
export.c
file.c ceph: don't truncate file in atomic_open 2022-10-15 07:54:39 +02:00
inode.c ceph: fix handling of "meta" errors 2021-10-27 09:54:27 +02:00
io.c
io.h
ioctl.c
ioctl.h
Kconfig
locks.c
Makefile
mds_client.c ceph: flush cap releases when the session is flushed 2023-02-22 12:50:33 +01:00
mds_client.h
mdsmap.c
quota.c
snap.c ceph: fix use-after-free bug for inodes when flushing capsnaps 2023-06-14 10:59:57 +02:00
strings.c
super.c
super.h ceph: fix handling of "meta" errors 2021-10-27 09:54:27 +02:00
xattr.c ceph: allow ceph.dir.rctime xattr to be updatable 2022-06-14 18:12:01 +02:00