]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: track caps we release in requests, and reissue on request cleanup if needed
authorSage Weil <sage@newdream.net>
Thu, 13 Aug 2009 00:08:04 +0000 (17:08 -0700)
committerSage Weil <sage@newdream.net>
Thu, 13 Aug 2009 00:08:15 +0000 (17:08 -0700)
commit2d47dcd212bec130195004d067767c1afe5b8045
treea0cb2062f3f840b98c9f2b3ebaff08e7dd560183
parent5d9eb394c4e16400d234a11d963517a284311d86
mds: track caps we release in requests, and reissue on request cleanup if needed

We may suppress cap issue when we release caps in a request.  A lock state
change may have changed the allowed caps and should normally have issued
caps, but we suppress that because the request will way to embed that
normally.  When we cleanup the request, if we haven't issued on that cap
for some reason (maybe the request errored out, or forwarded, etc.), force
an issue then.
src/mds/Locker.cc
src/mds/Locker.h
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/Server.cc