summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2018-04-27 11:11:31 +0800
committerIlya Dryomov <idryomov@gmail.com>2018-06-04 20:45:56 +0200
commit4985d6f9e50fa48e35a9dbe1726434f987305cae (patch)
tree4b5c7a54f2b9e71564c5b37cf7b23e7fe93c5307 /net/core
parenta1c6b8358171c16db0f858a7fbb28aa574b07c09 (diff)
ceph: handle the new nfiles/nsubdirs fields in cap message
Without these new fields, stale st_size is returned in following case. 1. MDS modifies a directory 2. MDS issues CEPH_CAP_ANY_SHARED to client 3. The client satifies stat(2) by its cached metadata. set st_size to "i_files + i_subdirs". Link: http://tracker.ceph.com/issues/23855 Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions