summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file-item.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2014-09-03 21:35:47 +0800
committerChris Mason <clm@fb.com>2014-09-17 13:38:49 -0700
commitc3929c3624e1764855e5a452728aec201b18b42a (patch)
treeaf7420005570b68cbe7810e58f1bd84078b9925f /fs/btrfs/file-item.c
parent5f375835694426d00a7a4bc7fef72479578f279f (diff)
Btrfs: modify rw_devices counter under chunk_mutex context
rw_devices counter is often used to tune the profile when doing chunk allocation, so we should modify it under the chunk_mutex context to avoid getting wrong chunk profile. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/file-item.c')
0 files changed, 0 insertions, 0 deletions