Project

General

Profile

Bug #36072

ceph fuse client can't write data and reporting waiting for caps need Fw want Fb

Added by Ivan Guan 3 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
09/18/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:

Description

Version: jewel(10.2.2)
MDS mode: hot standby

Describe:
The client will not be able to continue writing data if MDS doesn't handle MClientReconnect message correctly during RECONNECT phase.
According client log "waiting for caps need Fw want Fb ..." we can know that client can't acquire Fw.After study mds log i found that
the file's wanted cap is null,so the client will waiting all the time which will lead our application can't complete.

Reproduce:
1.one fuse client mounted on /mnt/ivan/ and the mds.xt1 is active
2.open the file /mnt/ivan/test_waiting and write some data
3.kill the session of the client
4.restart mds daemon
5.write data continually when mds become active again

you will found your write op can't return and will hang all the time.

History

#1 Updated by Ivan Guan 3 months ago

this pr https://github.com/ceph/ceph/pull/24164 can resolve this problem.

#2 Updated by Casey Bodley 2 months ago

  • Project changed from rgw to fs

Also available in: Atom PDF