Re: [PATCH] btrfs: Remove extent_io_ops::readpage_io_failed_hook

2018-11-26 Thread David Sterba
On Thu, Nov 22, 2018 at 10:17:49AM +0200, Nikolay Borisov wrote: > For data inodes this hook does nothing but to return -EAGAIN which is > used to signal to the endio routines that this bio belongs to a data > inode. If this is the case the actual retrying is handled by > bio_readpage_error. Altern

[PATCH] btrfs: Remove extent_io_ops::readpage_io_failed_hook

2018-11-22 Thread Nikolay Borisov
For data inodes this hook does nothing but to return -EAGAIN which is used to signal to the endio routines that this bio belongs to a data inode. If this is the case the actual retrying is handled by bio_readpage_error. Alternatively, if this bio belongs to the btree inode then btree_io_failed_hook