commit | 15289dc85b2d03d42d7e479476254be2b17c65d5 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.z.yan@intel.com> | Mon Mar 03 09:20:44 2014 +0800 |
committer | Yan, Zheng <zheng.z.yan@intel.com> | Thu Apr 03 10:33:52 2014 +0800 |
tree | 707fcbc2650015c8217cea0fe5008df38066ba78 | |
parent | dcd3cc05e5f230f8fbc0c3369a5d6ad4f1d23aed [diff] |
ceph: let MDS adjust readdir 'frag' If readdir 'frag' is adjusted, readdir 'offset' should be reset. Otherwise some dentries may be lost when readdir and fragmenting directory happen at the some. Another way to fix this issue is let MDS adjust readdir 'frag'. The code that handles MDS reply reset the readdir 'offset' if the readdir reply is different than the requested one. Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>