]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: journal open_files based on is_any_caps_wanted(), not is_any_caps()
authorSage Weil <sage@newdream.net>
Fri, 13 Nov 2009 23:06:31 +0000 (15:06 -0800)
committerSage Weil <sage@newdream.net>
Fri, 13 Nov 2009 23:21:32 +0000 (15:21 -0800)
commit63f75e56086323ff97cbea823c17d048eed5fd0a
tree2fc6bf5c32439eb8b6ece0f93521e72c192a3526
parent07369305f81b5d1d2d5a66217d7109766a8a0887
mds: journal open_files based on is_any_caps_wanted(), not is_any_caps()

Actually we're a bit conservative in a few places since the wanted check
is a bit more expensive.  We always do a full check in try_to_expire, so
much of the time we can do the quick check only.
src/mds/CInode.h
src/mds/Locker.cc
src/mds/MDCache.cc
src/mds/journal.cc