]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: simplify caps revocation, fix for multimds
authorSage Weil <sage@newdream.net>
Thu, 10 Jun 2010 20:20:33 +0000 (13:20 -0700)
committerSage Weil <sage@newdream.net>
Thu, 10 Jun 2010 21:13:35 +0000 (14:13 -0700)
commit6fe2174c3a9950fcd8fa530a4070df553bfbe7b1
treee0305c032096dbcb38eccb69b10334229b84c6bb
parentd92a7f0fbed7383c27bb5f53d241989c5639d61b
ceph: simplify caps revocation, fix for multimds

The caps revocation should either initiate writeback, invalidateion, or
call check_caps to ack or do the dirty work.  The primary question is
whether we can get away with only checking the auth cap or whether all
caps need to be checked.

The old code was doing...something else.  At the very least, revocations
from non-auth MDSs could break by triggering the "check auth cap only"
case.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c