History

Merge tag 'block-6.17-20250925' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull block fixes from Jens Axboe: "A regression fix for this series where an attempt to silence an EOD error got messed up a bit, and then a change of git trees for the block and io_uring trees. Switching the git trees to kernel.org now, as I've just about had it trying to battle AI bots that bring the box to its knees, continually. At least I don't have to maintain the kernel.org side" * tag 'block-6.17-20250925' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux: MAINTAINERS: update io_uring and block tree git trees block: fix EOD return for device with nr_sectors == 0

Linus Torvalds committed 1 year ago

Commit 3a654ee2 parents 3170244 285213a2 files · +6 −4Browse files

Unified · Split

2 files
  1. MAINTAINERS +3 −3
  2. block/blk-core.c +3 −1
MAINTAINERS+3−3
@@ -6221,7 +6221,7 @@ M: Josef Bacik <josef@toxicpanda.com> · 6220 unmodified lines
6221M: Jens Axboe <axboe@kernel.dk>6221M: Jens Axboe <axboe@kernel.dk>
6222L: cgroups@vger.kernel.org6222L: cgroups@vger.kernel.org
6223L: linux-block@vger.kernel.org6223L: linux-block@vger.kernel.org
6224T: git git://git.kernel.dk/linux-block6224T: git git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git
6225F: Documentation/admin-guide/cgroup-v1/blkio-controller.rst6225F: Documentation/admin-guide/cgroup-v1/blkio-controller.rst
6226F: block/bfq-cgroup.c6226F: block/bfq-cgroup.c
6227F: block/blk-cgroup.c6227F: block/blk-cgroup.c
@@ -12876,8 +12876,8 @@ IO_URING · 6648 unmodified lines
12876M: Jens Axboe <axboe@kernel.dk>12876M: Jens Axboe <axboe@kernel.dk>
12877L: io-uring@vger.kernel.org12877L: io-uring@vger.kernel.org
12878S: Maintained12878S: Maintained
12879T: git git://git.kernel.dk/linux-block12879T: git git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git
12880T: git git://git.kernel.dk/liburing12880T: git git://git.kernel.org/pub/scm/linux/kernel/git/axboe/liburing.git
12881F: include/linux/io_uring/12881F: include/linux/io_uring/
12882F: include/linux/io_uring.h12882F: include/linux/io_uring.h
12883F: include/linux/io_uring_types.h12883F: include/linux/io_uring_types.h
block/blk-core.c+3−1
@@ -557,9 +557,11 @@ static inline int bio_check_eod(struct bio *bio) · 556 unmodified lines
557 sector_t maxsector = bdev_nr_sectors(bio->bi_bdev);557 sector_t maxsector = bdev_nr_sectors(bio->bi_bdev);
558 unsigned int nr_sectors = bio_sectors(bio);558 unsigned int nr_sectors = bio_sectors(bio);
559 559
560 if (nr_sectors && maxsector &&560 if (nr_sectors &&
561 (nr_sectors > maxsector ||561 (nr_sectors > maxsector ||
562 bio->bi_iter.bi_sector > maxsector - nr_sectors)) {562 bio->bi_iter.bi_sector > maxsector - nr_sectors)) {
563 if (!maxsector)
564 return -EIO;
563 pr_info_ratelimited("%s: attempt to access beyond end of device\n"565 pr_info_ratelimited("%s: attempt to access beyond end of device\n"
564 "%pg: rw=%d, sector=%llu, nr_sectors = %u limit=%llu\n",566 "%pg: rw=%d, sector=%llu, nr_sectors = %u limit=%llu\n",
565 current->comm, bio->bi_bdev, bio->bi_opf,567 current->comm, bio->bi_bdev, bio->bi_opf,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t