On Mon, Feb 13, 2023 at 02:10:38PM +0900, Naohiro Aota wrote: > Current btrfs_log_dev_io_error() increases the read error count even if the > erroneous IO is a WRITE request. This is because it forget to use "else > if", and all the error WRITE requests counts as READ error as there is (of > course) no REQ_RAHEAD bit set. > > Fixes: c3a62baf21ad ("btrfs: use chained bios when cloning") > CC: stable@xxxxxxxxxxxxxxx # 6.1 > Signed-off-by: Naohiro Aota <naohiro.aota@xxxxxxx> Added to misc-next, thanks.