diff options
author | Xiubo Li <xiubli@redhat.com> | 2022-04-19 03:58:49 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2022-05-25 21:45:14 +0300 |
commit | 1b2ba3c5616e17ff951359e25c658a1c3f146f1e (patch) | |
tree | 756428b0de47b54b6dab61efa9a44b336a84258a /fs/proc/loadavg.c | |
parent | ae0670633014d172fab3772fff2da99269d17874 (diff) | |
download | linux-1b2ba3c5616e17ff951359e25c658a1c3f146f1e.tar.xz |
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/proc/loadavg.c')
0 files changed, 0 insertions, 0 deletions