]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: defer cap release and update consistently when frozen
authorSage Weil <sage@newdream.net>
Fri, 24 Sep 2010 16:40:40 +0000 (09:40 -0700)
committerSage Weil <sage@newdream.net>
Fri, 24 Sep 2010 18:44:22 +0000 (11:44 -0700)
commit63bc150fe9b1ef6c7e300fa6aae591ccd3b0f763
tree580780ded62d80a290a0d7255649da67b3bf5f92
parent7f329dfe46649e103f3531b4a4864a92db2e1420
mds: defer cap release and update consistently when frozen

We need to preserve the order of processing of cap release and writeback
messages across handle_client_caps() and process_request_cap_release().
Use a helper with the appropriate condition, and defer the release
processing as needed.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/Locker.cc
src/mds/Locker.h