]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: choose auth MDS for getxattr with the Xs caps
authorXiubo Li <xiubli@redhat.com>
Fri, 27 May 2022 04:39:17 +0000 (12:39 +0800)
committerJeff Layton <jlayton@kernel.org>
Tue, 31 May 2022 14:44:35 +0000 (10:44 -0400)
commita7fff45333188098c5bc1d0e3ccfe298458479fd
tree76a9b245209b58a53cae0a04fb0f88feccd8b86d
parent75e93c09ee7cf19bf1dce79f17de02f909771b3e
ceph: choose auth MDS for getxattr with the Xs caps

And for the 'Xs' caps for getxattr we will also choose the auth MDS,
because the MDS side code is buggy due to setxattr won't notify the
replica MDSes when the values changed and the replica MDS will return
the old values. Though we will fix it in MDS code, but this still
makes sense for old ceph.

URL: https://tracker.ceph.com/issues/55331
Signed-off-by: Xiubo Li <xiubli@redhat.com>
fs/ceph/inode.c