Searched refs:sync_writers (Results 1 – 5 of 5) sorted by relevance
126 atomic_t sync_writers; member
1980 atomic_inc(&inode->sync_writers); in btrfs_do_write_iter()2002 atomic_dec(&inode->sync_writers); in btrfs_do_write_iter()2046 atomic_inc(&BTRFS_I(inode)->sync_writers); in start_ordered_ops()2048 atomic_dec(&BTRFS_I(inode)->sync_writers); in start_ordered_ops()
1052 atomic_inc(&BTRFS_I(fs_info->btree_inode)->sync_writers); in btrfs_write_marked_extents()1088 atomic_dec(&BTRFS_I(fs_info->btree_inode)->sync_writers); in btrfs_write_marked_extents()
2723 if (!atomic_read(&bi->sync_writers) && in btrfs_submit_data_write_bio()7922 if (async_submit && !atomic_read(&BTRFS_I(inode)->sync_writers) && in btrfs_submit_dio_bio()8791 atomic_set(&ei->sync_writers, 0); in btrfs_alloc_inode()
752 if (atomic_read(&bi->sync_writers)) in should_async_write()