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.
Actions