Re: [PATCH] btrfs: fix false EIO for missing device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-		bio->bi_status = BLK_STS_IOERR;
+		if (atomic_read(&bbio->error) > bbio->max_errors)
+			bio->bi_status = BLK_STS_IOERR;
+		else
+			bio->bi_status = 0;

Thanks for the fix, I'd prefer BLK_STS_OK rather than 0.

With that,

Reviewed-by: Liu Bo <bo.li.liu@xxxxxxxxxx>

 Thanks for the review will fix it.

-Anand

-liubo
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux