]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: do file recover after authpin inode
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 13 Apr 2014 07:45:33 +0000 (15:45 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Sun, 13 Apr 2014 12:33:43 +0000 (20:33 +0800)
commitbd8aa6f46e770b47a3967d56ca1ef02768d90ecc
treea5dd90f792f9dd1f8622390b05e98b7ed68825d2
parent4ccc845c0a5593a1809e53c13fc9bb0c7cfc46ae
mds: do file recover after authpin inode

MDCache::do_file_recover may call Locker::evel_gather, which may change
filelock to stable state. So we should authpin the inode (for unstable
lock state) first.

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