Searched refs:exclusive_operation (Results 1 – 4 of 4) sorted by relevance
414 if (fs_info->exclusive_operation == BTRFS_EXCLOP_NONE) { in btrfs_exclop_start()415 fs_info->exclusive_operation = type; in btrfs_exclop_start()438 if (fs_info->exclusive_operation == type || in btrfs_exclop_start_try_lock()439 (fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE_PAUSED && in btrfs_exclop_start_try_lock()455 WRITE_ONCE(fs_info->exclusive_operation, BTRFS_EXCLOP_NONE); in btrfs_exclop_finish()466 ASSERT(fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE || in btrfs_exclop_balance()467 fs_info->exclusive_operation == BTRFS_EXCLOP_DEV_ADD || in btrfs_exclop_balance()468 fs_info->exclusive_operation == BTRFS_EXCLOP_NONE || in btrfs_exclop_balance()469 fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE_PAUSED); in btrfs_exclop_balance()470 fs_info->exclusive_operation = BTRFS_EXCLOP_BALANCE_PAUSED; in btrfs_exclop_balance()[all …]
813 enum btrfs_exclusive_operation exclusive_operation; member
1257 switch (READ_ONCE(fs_info->exclusive_operation)) { in btrfs_exclusive_operation_show()1288 BTRFS_ATTR(, exclusive_operation, btrfs_exclusive_operation_show);1447 BTRFS_ATTR_PTR(, exclusive_operation),
4624 ASSERT(fs_info->exclusive_operation == BTRFS_EXCLOP_BALANCE_PAUSED); in btrfs_resume_balance_async()4625 fs_info->exclusive_operation = BTRFS_EXCLOP_BALANCE; in btrfs_resume_balance_async()