History

Merge tag 'block-6.15-20250424' of git://git.kernel.dk/linux

Pull block fixes from Jens Axboe: - Fix autoloading of drivers from stat*(2) - Fix losing read-ahead setting one suspend/resume, when a device is re-probed. - Fix race between setting the block size and page cache updates. Includes a helper that a coming XFS fix will use as well. - ublk cancelation fixes. - ublk selftest additions and fixes. - NVMe pull via Christoph: - fix an out-of-bounds access in nvmet_enable_port (Richard Weinberger) * tag 'block-6.15-20250424' of git://git.kernel.dk/linux: ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd ublk: call ublk_dispatch_req() for handling UBLK_U_IO_NEED_GET_DATA block: don't autoload drivers on blk-cgroup configuration block: don't autoload drivers on stat block: remove the backing_inode variable in bdev_statx block: move blkdev_{get,put} _no_open prototypes out of blkdev.h block: never reduce ra_pages in blk_apply_bdi_limits selftests: ublk: common: fix _get_disk_dev_t for pre-9.0 coreutils selftests: ublk: remove useless 'delay_us' from 'struct dev_ctx' selftests: ublk: fix recover test block: hoist block size validation code to a separate function block: fix race between set_blocksize and read paths nvmet: fix out-of-bounds access in nvmet_enable_port

Linus Torvalds committed 1 year ago

Commit 7deea562 parents 0537fbb f40139f14 files · +121 −47Browse files

Showing the changes to include/linux/blkdev.h (1 of 14 files). Show all

Unified · Split

include/linux/blkdev.h+1−4
@@ -1637,6 +1637,7 @@ static inline void bio_end_io_acct(struct bio *bio, unsigned long start_time) · 1636 unmodified lines
1637 return bio_end_io_acct_remapped(bio, start_time, bio->bi_bdev);1637 return bio_end_io_acct_remapped(bio, start_time, bio->bi_bdev);
1638}1638}
1639 1639
1640int bdev_validate_blocksize(struct block_device *bdev, int block_size);
1640int set_blocksize(struct file *file, int size);1641int set_blocksize(struct file *file, int size);
1641 1642
1642int lookup_bdev(const char *pathname, dev_t *dev);1643int lookup_bdev(const char *pathname, dev_t *dev);
@@ -1693,10 +1694,6 @@ int bd_prepare_to_claim(struct block_device *bdev, void *holder, · 50 unmodified lines
1693 const struct blk_holder_ops *hops);1694 const struct blk_holder_ops *hops);
1694void bd_abort_claiming(struct block_device *bdev, void *holder);1695void bd_abort_claiming(struct block_device *bdev, void *holder);
1695 1696
1696/* just for blk-cgroup, don't use elsewhere */
1697struct block_device *blkdev_get_no_open(dev_t dev);
1698void blkdev_put_no_open(struct block_device *bdev);
1699
1700struct block_device *I_BDEV(struct inode *inode);1697struct block_device *I_BDEV(struct inode *inode);
1701struct block_device *file_bdev(struct file *bdev_file);1698struct block_device *file_bdev(struct file *bdev_file);
1702bool disk_live(struct gendisk *disk);1699bool disk_live(struct gendisk *disk);

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