Actions
Bug #23855
closedmds: MClientCaps should carry inode's dirstat
Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Correctness/Safety
Target version:
% Done:
0%
Source:
Development
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
inode's dirstat gets updated by request reply, but not by cap message. this is problematic.
For example:
...
MDS modifies a directory
MDS issues CEPH_STAT_CAP_INODE_ALL to client
...
user stat(2) the directory
cephfs client finds that it has all shared caps locally, it return dirstat.size() as directory size.
Actions