• Sage Weil's avatar
    ceph: fix xattr cap writeback · 082afec9
    Sage Weil authored
    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>
    082afec9
caps.c 82 KB