• Christoph Hellwig's avatar
    xfs: remove SYNC_BDFLUSH · 8b5403a6
    Christoph Hellwig authored
    SYNC_BDFLUSH is a leftover from IRIX and rather misnamed for todays
    code.  Make xfs_sync_fsdata and xfs_dq_sync use the SYNC_TRYLOCK flag
    for not blocking on logs just as the inode sync code already does.
    
    For xfs_sync_fsdata it's a trivial 1:1 replacement, but for xfs_qm_sync
    I use the opportunity to decouple the non-blocking lock case from the
    different flushing modes, similar to the inode sync code.
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Reviewed-by: default avatarEric Sandeen <sandeen@sandeen.net>
    8b5403a6
xfs_sync.c 18 KB