Btrfs: Add a per-inode csum mutex to avoid races creating csum items
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
@@ -30,6 +30,7 @@ struct btrfs_inode {
|
||||
struct extent_map_tree extent_tree;
|
||||
struct extent_io_tree io_tree;
|
||||
struct extent_io_tree io_failure_tree;
|
||||
struct mutex csum_mutex;
|
||||
struct inode vfs_inode;
|
||||
atomic_t ordered_writeback;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user