btrfs: use u8 for raid_array members
authorDavid Sterba <dsterba@suse.com>
Fri, 17 May 2019 09:43:36 +0000 (11:43 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 1 Jul 2019 11:34:57 +0000 (13:34 +0200)
commit8c3e3582a4f0dbdaea49cfd71640a626c8bb7134
treeb45ec48368abc4aa5122508bc1ec2caaae5f1835
parent946c9256c6fabe8d3fe8e076df1c4290dcd778f2
btrfs: use u8 for raid_array members

The raid_attr table is now 7 * 56 = 392 bytes long, consisting of just
small numbers so we don't have to use ints. New size is 7 * 32 = 224,
saving 3 cachelines.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/volumes.h