The journal reply code has check that decides which scatter locks
should be marked as dirty. So don't unconditionally mark scatter
locks dirty when dirfrag is dirty
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
if (lump.is_dirty()) {
dir->_mark_dirty(logseg);
- dir->get_inode()->filelock.mark_dirty();
- dir->get_inode()->nestlock.mark_dirty();
if (!(dir->fnode.rstat == dir->fnode.accounted_rstat)) {
dout(10) << "EMetaBlob.replay dirty nestinfo on " << *dir << dendl;