summaryrefslogtreecommitdiffstats
path: root/fs/ceph/cache.c
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2022-04-19 08:58:49 +0800
committerIlya Dryomov <idryomov@gmail.com>2022-05-25 20:45:14 +0200
commit1b2ba3c5616e17ff951359e25c658a1c3f146f1e (patch)
tree756428b0de47b54b6dab61efa9a44b336a84258a /fs/ceph/cache.c
parentae0670633014d172fab3772fff2da99269d17874 (diff)
downloadlinux-1b2ba3c5616e17ff951359e25c658a1c3f146f1e.tar.bz2
ceph: flush the mdlog for filesystem sync
Before waiting for a request's safe reply, we will send the mdlog flush request to the relevant MDS. And this will also flush the mdlog for all the other unsafe requests in the same session, so we can record the last session and no need to flush mdlog again in the next loop. But there still have cases that it may send the mdlog flush requst twice or more, but that should be not often. Rename wait_unsafe_requests() to flush_mdlog_and_wait_mdsc_unsafe_requests() to make it more descriptive. [xiubli: fold in MDS request refcount leak fix from Jeff] URL: https://tracker.ceph.com/issues/55284 URL: https://tracker.ceph.com/issues/55411 Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/cache.c')
0 files changed, 0 insertions, 0 deletions