Home
last modified time | relevance | path

Searched refs:tree_log_mutex (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
H A Dtransaction.c1450 * comment for reason locking tree_log_mutex in qgroup_account_snapshot()
1452 mutex_lock(&fs_info->tree_log_mutex); in qgroup_account_snapshot()
1489 mutex_unlock(&fs_info->tree_log_mutex); in qgroup_account_snapshot()
2306 * and let new people in. By holding the tree_log_mutex in btrfs_commit_transaction()
2310 mutex_lock(&fs_info->tree_log_mutex); in btrfs_commit_transaction()
2399 * reloc_mutex has been unlocked, tree_log_mutex is still held in btrfs_commit_transaction()
2402 mutex_unlock(&fs_info->tree_log_mutex); in btrfs_commit_transaction()
2411 mutex_unlock(&fs_info->tree_log_mutex); in btrfs_commit_transaction()
2450 mutex_unlock(&fs_info->tree_log_mutex); in btrfs_commit_transaction()
H A Dtree-log.c159 mutex_lock(&fs_info->tree_log_mutex); in start_log_trans()
162 mutex_unlock(&fs_info->tree_log_mutex); in start_log_trans()
H A Dctree.h680 struct mutex tree_log_mutex; member
H A Ddisk-io.c2821 mutex_init(&fs_info->tree_log_mutex); in btrfs_init_fs_info()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dfs.h460 struct mutex tree_log_mutex; member
H A Dtransaction.c2485 * setting fs_info->running_transaction to NULL, lock tree_log_mutex to in btrfs_commit_transaction()
2491 mutex_lock(&fs_info->tree_log_mutex); in btrfs_commit_transaction()
2511 mutex_unlock(&fs_info->tree_log_mutex); in btrfs_commit_transaction()
2520 mutex_unlock(&fs_info->tree_log_mutex); in btrfs_commit_transaction()
H A Dtree-log.c3098 * 2) Before writing our superblock we acquire the tree_log_mutex, so in btrfs_sync_log()
3101 * transaction commit acquires the tree_log_mutex when the commit in btrfs_sync_log()
3104 mutex_lock(&fs_info->tree_log_mutex); in btrfs_sync_log()
3117 mutex_unlock(&fs_info->tree_log_mutex); in btrfs_sync_log()
3124 mutex_unlock(&fs_info->tree_log_mutex); in btrfs_sync_log()
H A Ddisk-io.c2760 mutex_init(&fs_info->tree_log_mutex); in btrfs_init_fs_info()

Completed in 36 milliseconds