Project

General

Profile

Actions

Bug #36072

open

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

Added by Ivan Guan over 5 years ago. Updated about 5 years ago.

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

0%

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

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.

Actions #1

Updated by Ivan Guan over 5 years ago

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

Actions #2

Updated by Casey Bodley over 5 years ago

  • Project changed from rgw to CephFS
Actions #3

Updated by Patrick Donnelly about 5 years ago

  • Target version changed from v14.0.0 to v15.0.0
Actions #4

Updated by Patrick Donnelly about 5 years ago

  • Target version deleted (v15.0.0)
Actions

Also available in: Atom PDF