summaryrefslogtreecommitdiffstats
path: root/fs/ceph/caps.c
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-09-18 09:44:13 +0800
committerSage Weil <sage@inktank.com>2013-09-30 14:49:53 -0700
commit81c6aea5275eae453719d7f3924da07e668265c5 (patch)
tree97fab33034d7b3f99cf4e875c1ed5c50bff54b78 /fs/ceph/caps.c
parent53e879a485f9def0e55c404dbc7187470a01602d (diff)
downloadop-kernel-dev-81c6aea5275eae453719d7f3924da07e668265c5.zip
op-kernel-dev-81c6aea5275eae453719d7f3924da07e668265c5.tar.gz
ceph: handle frag mismatch between readdir request and reply
If client has outdated directory fragments information, it may request readdir an non-existent directory fragment. In this case, the MDS finds an approximate directory fragment and sends its contents back to the client. When receiving a reply with fragment that is different than the requested one, the client need to reset the 'readdir offset'. Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/ceph/caps.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud