diff options
author | Sage Weil <sage@newdream.net> | 2010-06-24 15:12:37 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-06-29 09:31:55 -0700 |
commit | ec97f88ba6d4256927fde516033ee76d5d85b54a (patch) | |
tree | 0df9cb10364afdb9092a089ba0da4a15f3c25a06 /fs/dlm/recoverd.c | |
parent | a1a31e734241aefcb2b30fb0cc0376977b6d2ba8 (diff) |
ceph: only release clean, unused caps with mds requests
We can drop caps with an mds request. Ensure we only drop unused AND
clean caps, since the MDS doesn't support cap writeback in that context,
nor do we track it. If caps are dirty, and the MDS needs them back, we
it will revoke and we will flush in the normal fashion.
This fixes a possibly loss of metadata.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/dlm/recoverd.c')
0 files changed, 0 insertions, 0 deletions