]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: don't decrease file size when recovering file 709/head
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 11 Oct 2013 07:13:22 +0000 (15:13 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 11 Oct 2013 09:13:11 +0000 (17:13 +0800)
commiteb381ffc8db14f13a7c5e3528a109bf89a7c5b31
treebbbcb291d6419ae533239f3d8ae549fd811ff8bf
parentcb9ebd6f363fb571ecb770eab9ab1313cb407108
mds: don't decrease file size when recovering file

Otherwise we may truncate sparse file to wrong size

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