From: Yan, Zheng Date: Wed, 18 Sep 2013 01:44:13 +0000 (+0800) Subject: ceph: handle frag mismatch between readdir request and reply X-Git-Tag: v3.13-rc2~25^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81c6aea5275eae453719d7f3924da07e668265c5;p=pandora-kernel.git 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 Reviewed-by: Sage Weil --- Reading git-diff-tree failed