]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: mark and pin dentries while purging, so they don't get trimmed out from under us
authorSage Weil <sage@newdream.net>
Fri, 14 Nov 2008 22:31:24 +0000 (14:31 -0800)
committerSage Weil <sage@newdream.net>
Fri, 14 Nov 2008 22:31:24 +0000 (14:31 -0800)
commitb5c399cc4119e55b705f55c58b051e9e40070fdb
tree416d81e35defbe4cc68eb7907e8d8a3b82dbd88d
parent530cc2dbf33196204888e899bc0557bbd59608e0
mds: mark and pin dentries while purging, so they don't get trimmed out from under us

Aslo avoid purging more than once.

Previously it was possible to drop the dentry from the cache while
it was being purged.
src/mds/CDentry.h
src/mds/MDCache.cc