Project

General

Profile

Bug #23855

mds: MClientCaps should carry inode's dirstat

Added by Zheng Yan about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Correctness/Safety
Target version:
Start date:
04/25/2018
Due date:
% 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:

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.


Related issues

Copied to fs - Backport #24050: luminous: mds: MClientCaps should carry inode's dirstat Resolved

History

#1 Updated by Patrick Donnelly about 1 year ago

  • Subject changed from MClientCaps should carry inode's dirstat to mds: MClientCaps should carry inode's dirstat
  • Category set to Correctness/Safety
  • Assignee set to Zheng Yan
  • Priority changed from Normal to Urgent
  • Target version set to v13.0.0
  • Source set to Development
  • Backport set to luminous
  • Component(FS) MDS added

#2 Updated by Zheng Yan about 1 year ago

  • Status changed from New to Need Review

#3 Updated by Patrick Donnelly about 1 year ago

  • Target version changed from v13.0.0 to v14.0.0
  • Backport changed from luminous to mimic,luminous

#4 Updated by Patrick Donnelly about 1 year ago

  • Target version changed from v14.0.0 to v13.2.0
  • Backport changed from mimic,luminous to luminous

#5 Updated by Patrick Donnelly about 1 year ago

  • Status changed from Need Review to Pending Backport

#6 Updated by Nathan Cutler about 1 year ago

  • Copied to Backport #24050: luminous: mds: MClientCaps should carry inode's dirstat added

#7 Updated by Nathan Cutler about 1 year ago

  • Backport changed from luminous to luminous, mimic

Testing; will revert

#9 Updated by Nathan Cutler about 1 year ago

  • Backport changed from luminous, mimic to luminous

#10 Updated by Nathan Cutler about 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF