]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: search parity device wisely
authorLiu Bo <bo.li.liu@oracle.com>
Thu, 3 Aug 2017 19:53:31 +0000 (13:53 -0600)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:27:55 +0000 (12:27 +0100)
commit04edcb983200719f8febe4e38779ae32e5b1a67c
tree9f785c4e5f0083f9461fcdb607bd00b346bb8d9b
parentfe3be1ef85d0dffb133366bf5149b38bcbf55623
Btrfs: search parity device wisely

After mapping block with BTRFS_MAP_WRITE, parities have been sorted to
the end position, so this search can start from the first parity
stripe.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ copied changelog as a comment ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c