Skip to content

simple bio cleanups#618

Open
blktests-ci[bot] wants to merge 4 commits intolinus-master_basefrom
series/1061524=>linus-master
Open

simple bio cleanups#618
blktests-ci[bot] wants to merge 4 commits intolinus-master_basefrom
series/1061524=>linus-master

Conversation

@blktests-ci
Copy link

@blktests-ci blktests-ci bot commented Mar 4, 2026

Pull request for series with
subject: simple bio cleanups
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1061524

@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 4, 2026

Upstream branch: 0031c06
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061524
version: 1

@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 4, 2026

Upstream branch: ecc64d2
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061524
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1061524=>linus-master branch from 5354db6 to fd91503 Compare March 4, 2026 19:59
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 78036b2 to bbb3394 Compare March 5, 2026 12:20
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 5, 2026

Upstream branch: c107785
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061524
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1061524=>linus-master branch from fd91503 to 72f9332 Compare March 5, 2026 12:22
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 5, 2026

Upstream branch: c107785
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061524
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1061524=>linus-master branch from 72f9332 to b9e4ca6 Compare March 5, 2026 14:24
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from bbb3394 to 901a429 Compare March 5, 2026 21:37
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 5, 2026

Upstream branch: 5ee8dbf
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061524
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1061524=>linus-master branch from b9e4ca6 to 6410e38 Compare March 5, 2026 21:39
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 5, 2026

Upstream branch: 5ee8dbf
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061524
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1061524=>linus-master branch from 6410e38 to 0f9ac39 Compare March 5, 2026 22:42
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 901a429 to 1f19ba6 Compare March 10, 2026 06:29
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 10, 2026

Upstream branch: 1f318b9
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061524
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1061524=>linus-master branch from 0f9ac39 to 7a11d6f Compare March 10, 2026 06:31
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 1f19ba6 to e79276a Compare March 11, 2026 08:02
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 11, 2026

Upstream branch: None
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061524
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1061524=>linus-master branch from 7a11d6f to 9a4c06f Compare March 11, 2026 08:04
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from e79276a to 0dd9afc Compare March 12, 2026 01:40
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 12, 2026

Upstream branch: 80234b5
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061524
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1061524=>linus-master branch from 9a4c06f to 39b1a86 Compare March 12, 2026 02:04
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 0dd9afc to 2e598ed Compare March 13, 2026 07:29
Andreas Gruenbacher added 2 commits March 13, 2026 16:41
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>
Andreas Gruenbacher added 2 commits March 13, 2026 16:41
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>
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 13, 2026

Upstream branch: 0257f64
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061524
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1061524=>linus-master branch from 39b1a86 to 2b3e535 Compare March 13, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants