• Sage Weil's avatar
    ceph: include dirty xattrs state in snapped caps · 4a625be4
    Sage Weil authored
    When we snapshot dirty metadata that needs to be written back to the MDS,
    include dirty xattr metadata.  Make the capsnap reference the encoded
    xattr blob so that it will be written back in the FLUSHSNAP op.
    
    Also fix the capsnap creation guard to include dirty auth or file bits,
    not just tests specific to dirty file data or file writes in progress
    (this fixes auth metadata writeback).
    Signed-off-by: default avatarSage Weil <sage@newdream.net>
    4a625be4
xattr.c 20.2 KB