]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: journal backtrace update in EMetaBlob::fullbit
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 17 May 2013 08:02:03 +0000 (16:02 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Tue, 28 May 2013 05:57:22 +0000 (13:57 +0800)
commit6c721116fcc8079699dfd6fcc329350b30d49042
tree7028a3d9320e89d5342c3d0ff82af8da7996758f
parent03c0fe937da5e2ddd47a18ac85bdddd214a98a97
mds: journal backtrace update in EMetaBlob::fullbit

Current way to journal backtrace update is set EMetaBlob::update_bt
to true. The problem is that an EMetaBlob can include several inodes.
If an EMetaBlob's update_bt is true, journal replay code has to queue
backtrace updates for all inodes in the EMetaBlob.

This patch adds two new flags to class EMetaBlob::fullbit, make it be
able to journal backtrace update.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/events/EMetaBlob.h
src/mds/journal.cc