Actions
Bug #3738
closedkclient fsx truncate/write multi-client race
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
This bug is similar to #3681, but occurs only in the non-exclusive case (multiple clients), where a truncate doesn't update i_size in the kclient, sends a setattr request to the mds, which races with a cap update triggered by a write completion.
I'm not 100% sure this bug exists, but it seems likely. Needs to first be verified with fsx-mpi.
A possible fix is to delay the truncate request until the caps are no longer dirty.
Updated by Sage Weil over 11 years ago
- Project changed from Linux kernel client to CephFS
- Category deleted (
fs/ceph)
Updated by Zheng Yan over 10 years ago
- Status changed from New to Resolved
now mds revokes Fw before doing truncate
Updated by Greg Farnum over 10 years ago
Is this a side effect of 3c3b2ceb03e7294704f5bf3e1e420012a0166585, or some other patch? Please reference them when closing tickets. :)
Updated by Zheng Yan over 10 years ago
by commit 755581977c2bc9eb81c9d9d955024cbedded2161
Actions