]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: Hold on to exclusive caps on directories we "own" 4168/head
authorGreg Farnum <gfarnum@redhat.com>
Tue, 24 Mar 2015 22:15:42 +0000 (15:15 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 25 Mar 2015 18:10:56 +0000 (11:10 -0700)
commit0c6bd2775fe43274e07c5b10586565d6170d8ea9
tree6f69d3033c5b7a032b4bbcd4142843720c461c34
parent2724ce2d1b7411b5027a34005ec2eff0bba78a09
client: Hold on to exclusive caps on directories we "own"

If a directory is complete, we *really* want to keep the exclusive cap
so that we don't end up needing to do MDS lookup requests on every cache
miss.

Fixes: #11226
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/client/Client.cc