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

ceph: fix xattr cap writeback



We should include the xattr metadata blob in the cap update message any
time we are flushing dirty state, NOT just when we are also dropping the
cap.  This fixes async xattr writeback.

Also, clean up the code slightly to avoid duplicating the bit test.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent f3c60c59
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment