ceph: reinitialize mds feature bit even when session in open
authorVenky Shankar <vshankar@redhat.com>
Mon, 6 Nov 2023 04:32:32 +0000 (10:02 +0530)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 15 Jan 2024 14:40:50 +0000 (15:40 +0100)
commitf48e0342a74d7770cdf1d11894bdc3b6d989b29e
tree1937ffeb243d10e16f47df5bafa53414b5328a5b
parentcbcb358b744bf8d8c52b35d5efb1a960438c31cd
ceph: reinitialize mds feature bit even when session in open

Following along the same lines as per the user-space fix. Right
now this isn't really an issue with the ceph kernel driver because
of the feature bit laginess, however, that can change over time
(when the new snaprealm info type is ported to the kernel driver)
and depending on the MDS version that's being upgraded can cause
message decoding issues - so, fix that early on.

Link: http://tracker.ceph.com/issues/63188
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c