Skip to content
Commit ec97f88b authored by Sage Weil's avatar Sage Weil
Browse files

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: default avatarSage Weil <sage@newdream.net>
parent a1a31e73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment