]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: do not merge rbios if their fail stripe index are not identical
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 11 Dec 2017 21:56:31 +0000 (14:56 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:20 +0000 (16:08 +0100)
commitfec2c171ab8523981a1556be890f572756311fba
treeb8cd67f361e8f61d8bf0e80644a0677254581a2d
parentbdfcaf3fa4565452db27dbb130e2f8796eb9da58
Btrfs: do not merge rbios if their fail stripe index are not identical

Since fail stripe index in rbio would be used to decide which
algorithm reconstruction would be run, we cannot merge rbios if
their's fail striped indexes are different, otherwise, one of the two
reconstructions would fail.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c