]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: avoid leaking objects when purging file. 708/head
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 11 Oct 2013 06:03:13 +0000 (14:03 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 11 Oct 2013 09:24:33 +0000 (17:24 +0800)
commit4e2ff539bf45644da7bf822a28ca48a37835c780
tree49f0f621a7035791450bc7af36d75bd5f0c56294
parentcb9ebd6f363fb571ecb770eab9ab1313cb407108
mds: avoid leaking objects when purging file.

The filer implementation does not delete stripe objects that are truncated
to zero. When purging a deleted file, we need to purge stripe objects up to
the max size the file has ever been.

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