• Y
    ceph: let MDS adjust readdir 'frag' · 15289dc8
    Yan, Zheng 提交于
    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: NYan, Zheng <zheng.z.yan@intel.com>
    15289dc8
dir.c 35.8 KB