commit | d5ee37bcb1dff9c1d1cac5f7e5752309f1ff66b6 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Jul 24 11:37:10 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Sep 17 13:37:45 2014 -0700 |
tree | 769d23c296d9630af81595dd2071d029682e0895 | |
parent | 5f546063cee93047af90cf2756e023da9f9fca51 [diff] |
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>