mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
a1a31e7342
commit
ec97f88ba6
1 changed files with 6 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue