Project

General

Profile

Actions

Bug #55284

closed

kclient: filesystem sync will stuck for around 5 seconds sometimes

Added by Xiubo Li about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
kcephfs
Crash signature (v1):
Crash signature (v2):

Description

We have fixed the fsync(fd) case in the following commits:

6316d4197437 ("ceph: put the requests/sessions when it fails to alloc memory")
716e68d445fa ("ceph: fix off by one bugs in unsafe_request_wait()")
2e31f19343da ("ceph: flush the mdlog before waiting on unsafe reqs")
65628853caba ("ceph: flush mdlog before umounting")
4c0090260622 ("ceph: make iterate_sessions a global symbol")
90803e2b16ec ("ceph: make ceph_create_session_msg a global symbol")

But when syncing the whole filesystem we still could hit this bug. We need to send the mdlog flush request to the MDSes when waiting the unsafe requests to finish.


Related issues 2 (0 open2 closed)

Related to CephFS - Feature #55283: qa: add fsync/sync stuck waiting for unsafe request testResolvedXiubo Li

Actions
Related to Linux kernel client - Bug #55411: BUG: Dentry XXXXXX still in use (1) [unmount of ceph ceph]ResolvedXiubo Li

Actions
Actions

Also available in: Atom PDF