• C
    xfs: remove SYNC_BDFLUSH · 8b5403a6
    Christoph Hellwig 提交于
    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: NChristoph Hellwig <hch@lst.de>
    Reviewed-by: NEric Sandeen <sandeen@sandeen.net>
    8b5403a6
xfs_sync.h 2.1 KB