]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ceph: defer stopping mdsc delayed_work
authorXiubo Li <xiubli@redhat.com>
Tue, 25 Jul 2023 04:03:59 +0000 (12:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Aug 2023 13:13:56 +0000 (15:13 +0200)
commit287c2c8677eddd5e0480374875abb3a3f433f1bb
tree1e6d543925c40cb6f01748bda4c7013e085f1317
parent98b521d10e73d43ac3867463a7e8ad55225a544a
ceph: defer stopping mdsc delayed_work

commit e7e607bd00481745550389a29ecabe33e13d67cf upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/mds_client.c
fs/ceph/mds_client.h
fs/ceph/super.c