]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: don't mark scatter locks dirty when dirfrag is dirty
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 19 Mar 2014 03:09:07 +0000 (11:09 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Wed, 19 Mar 2014 03:35:56 +0000 (11:35 +0800)
commita86716660c8226f4b11dfed59eddb4f28765bd0d
tree53d91b24ddad236a7480add5dca6efdf611914d2
parent5150fe63d81c0c512ee4315911df20218074c4f8
mds: don't mark scatter locks dirty when dirfrag is dirty

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>
src/mds/journal.cc