diff options
author | Yan, Zheng <zyan@redhat.com> | 2018-04-27 06:11:31 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-06-04 21:45:56 +0300 |
commit | 4985d6f9e50fa48e35a9dbe1726434f987305cae (patch) | |
tree | 4b5c7a54f2b9e71564c5b37cf7b23e7fe93c5307 /lib/dynamic_debug.c | |
parent | a1c6b8358171c16db0f858a7fbb28aa574b07c09 (diff) | |
download | linux-4985d6f9e50fa48e35a9dbe1726434f987305cae.tar.xz |
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 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions