btrfs: defrag: make readahead state allocation failure non-fatal
authorDavid Sterba <dsterba@suse.com>
Thu, 22 Jun 2017 01:22:58 +0000 (03:22 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 14:12:03 +0000 (16:12 +0200)
commit0a52d108089f337ce20d74bf53f2e574c8ee43f2
treec9927b31a2bcda6ba85ea564f4d1748f9d07a7a1
parent63e727ecd238be2281156f2f0d5d7ad593d14ee8
btrfs: defrag: make readahead state allocation failure non-fatal

All sorts of readahead errors are not considered fatal. We can continue
defragmentation without it, with some potential slow down, which will
last only for the current inode.

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