]> git.baikalelectronics.ru Git - kernel.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)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 2 Aug 2022 22:54:12 +0000 (00:54 +0200)
commit8fa227feddf8aa295a2a88b2be899382b3bbcad3
treef75ffb2b860fd872f94083afd96c306728e776f8
parent0d4bace8b9c6ba3ee0f93ceee8966e77a920e27b
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.

Link: https://tracker.ceph.com/issues/55331
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/inode.c