OSDN Git Service

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)
commitcc54ff626a56fdd7c22febd55ed24676fda8ed83
treeb8cd67f361e8f61d8bf0e80644a0677254581a2d
parentdb34be19c4f0f5512a4adf63713e4f5494618ead
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