Btrfs: make the device lock and its protected data in the same cacheline
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 24 Jul 2014 03:37:10 +0000 (11:37 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:37:45 +0000 (13:37 -0700)
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>

No differences found