]> git.baikalelectronics.ru Git - kernel.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 10:08:19 +0000 (12:08 +0200)
commita062da58ed97d1f16a564619726e77ba528c5191
tree0f0921c203c7b25d0f5be37fe7515f69509dfc91
parentad82aac732c22e043307933e13fe112682bfff0c
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