Bug 1594741 - client may report incorrect directory stat
Summary: client may report incorrect directory stat
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: CephFS
Version: 3.0
Hardware: All
OS: All
Target Milestone: z5
: 3.0
Assignee: Patrick Donnelly
QA Contact: ceph-qe-bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2018-06-25 10:11 UTC by Ram Raja
Modified: 2018-08-09 18:28 UTC (History)
4 users (show)

Fixed In Version: RHEL: ceph-12.2.4-32 Ubuntu: ceph_12.2.4-36redhat1xenial
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-08-09 18:27:13 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Ceph Project Bug Tracker 24050 None None None 2018-06-25 10:11:29 UTC
Red Hat Product Errata RHBA-2018:2375 None None None 2018-08-09 18:28:03 UTC

Description Ram Raja 2018-06-25 10:11:30 UTC
Description of problem:

It's a correctness related issue that was reported by a developer

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

Comment 16 errata-xmlrpc 2018-08-09 18:27:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.