ceph: defer stopping mdsc delayed_work
authorXiubo Li <xiubli@redhat.com>
Tue, 25 Jul 2023 04:03:59 +0000 (12:03 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 1 Aug 2023 22:13:02 +0000 (00:13 +0200)
commite7e607bd00481745550389a29ecabe33e13d67cf
treeabea17b8ea26354393ddaa1123a7a8e126e7f8a9
parent5d0c230f1de8c7515b6567d9afba1f196fb4e2f4
ceph: defer stopping mdsc delayed_work

Flushing the dirty buffer may take a long time if the cluster is
overloaded or if there is network issue. So we should ping the
MDSs periodically to keep alive, else the MDS will blocklist
the kclient.

Cc: stable@vger.kernel.org
Link: https://tracker.ceph.com/issues/61843
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c
fs/ceph/mds_client.h
fs/ceph/super.c