]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: add mirror_num to extent_read_full_page
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Mon, 13 Jun 2011 18:02:58 +0000 (20:02 +0200)
committerChris Mason <chris.mason@oracle.com>
Wed, 16 Nov 2011 01:02:54 +0000 (20:02 -0500)
commit7ca58a7756a3ce99385c9e67d717370290e22b88
treeaa4970a15f1bd0ef3b3defbf9996c89e840df0a0
parent31464cd046728cb00e485759ae6fc3c30b3a6d0b
btrfs: add mirror_num to extent_read_full_page

Currently, extent_read_full_page always assumes we are trying to read mirror
0, which generally is the best we can do. To add flexibility, pass it as a
parameter. This will be needed by scrub fixup code.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
(cherry picked from commit 8ddc7d9cd0a00062247c732b96386ec2462bdbc7)
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c