]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: raid56: catch errors from full_stripe_write
authorDavid Sterba <dsterba@suse.com>
Fri, 29 Jun 2018 08:57:10 +0000 (10:57 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:45 +0000 (13:12 +0200)
commit0d0b58de0090d4ba70205a4c54bb2a395bd1ae19
tree83804dd7478ebdcedd1704cd354e148f73eb5745
parent298d8227cc55494ca32e248b9e6aaf6e27a527bd
btrfs: raid56: catch errors from full_stripe_write

Add fall-back code to catch failure of full_stripe_write. Proper error
handling from inside run_plug would need more code restructuring as it's
called at arbitrary points by io scheduler.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c