Conversation
|
Upstream branch: 0031c06 |
6b51c57 to
78036b2
Compare
|
Upstream branch: ecc64d2 |
5354db6 to
fd91503
Compare
78036b2 to
bbb3394
Compare
|
Upstream branch: c107785 |
fd91503 to
72f9332
Compare
|
Upstream branch: c107785 |
72f9332 to
b9e4ca6
Compare
bbb3394 to
901a429
Compare
|
Upstream branch: 5ee8dbf |
b9e4ca6 to
6410e38
Compare
|
Upstream branch: 5ee8dbf |
6410e38 to
0f9ac39
Compare
901a429 to
1f19ba6
Compare
|
Upstream branch: 1f318b9 |
0f9ac39 to
7a11d6f
Compare
1f19ba6 to
e79276a
Compare
|
Upstream branch: None |
7a11d6f to
9a4c06f
Compare
e79276a to
0dd9afc
Compare
|
Upstream branch: 80234b5 |
9a4c06f to
39b1a86
Compare
0dd9afc to
2e598ed
Compare
Since commit 9da3d1e ("block: Add core atomic write support"), there is a gap in the blk_status_t codes and block status code 18 is unused. This causes blk_status_to_errno() and blk_status_to_str() to return incorrect values for that code. Make the blk_status_t codes consecutive again to avoid that. Fixes: 9da3d1e ("block: Add core atomic write support") Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: John Garry <john.g.garry@oracle.com>
Change blk_status_to_str() to be consistent with blk_status_to_errno() and return "I/O" for undefined status codes. With that, the fallback case in the blk_errors array can be removed with no change in behavior. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: John Garry <john.g.garry@oracle.com>
Use the same argument names in bio_chain() as in bio_chain_and_submit() to be consistent. Slightly improve the function description. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Instead of setting bio->bi_status to BLK_STS_IOERR and calling bio_endio(bio), use the shorthand bio_io_error(bio). Created with Coccinelle using the following semantic patch: @@ struct bio *bio; @@ - bio->bi_status = BLK_STS_IOERR; - bio_endio(bio); + bio_io_error(bio); Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
Upstream branch: 0257f64 |
39b1a86 to
2b3e535
Compare
Pull request for series with
subject: simple bio cleanups
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1061524