aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorXiubo Li <[email protected]>2022-04-19 08:58:49 +0800
committerIlya Dryomov <[email protected]>2022-05-25 20:45:14 +0200
commit1b2ba3c5616e17ff951359e25c658a1c3f146f1e (patch)
tree756428b0de47b54b6dab61efa9a44b336a84258a /lib/memory-notifier-error-inject.c
parentae0670633014d172fab3772fff2da99269d17874 (diff)
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 <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions