summaryrefslogtreecommitdiff
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2014-07-24 07:37:10 +0400
committerChris Mason <clm@fb.com>2014-09-18 00:37:45 +0400
commitd5ee37bcb1dff9c1d1cac5f7e5752309f1ff66b6 (patch)
tree769d23c296d9630af81595dd2071d029682e0895 /fs/btrfs/volumes.c
parent5f546063cee93047af90cf2756e023da9f9fca51 (diff)
downloadlinux-d5ee37bcb1dff9c1d1cac5f7e5752309f1ff66b6.tar.xz
Btrfs: make the device lock and its protected data in the same cacheline
The lock in btrfs_device structure was far away from its protected data, it would make CPU load the cache line twice when we accessed them, move them together. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
0 files changed, 0 insertions, 0 deletions