summaryrefslogtreecommitdiffstats
path: root/block/genhd.c
Commit message (Expand)AuthorAgeFilesLines
* block: add check of 'minors' and 'first_minor' in device_add_disk()Li Nan2023-12-191-1/+3
* block: Set memalloc_noio to false on device_add_disk() error pathLi Nan2023-12-131-0/+1
* block: assert that we're not holding open_mutex over blk_report_disk_deadChristian Brauner2023-10-281-0/+7
* block: Use bdev_open_by_dev() in disk_scan_partitions() and blkdev_bszset()Jan Kara2023-10-281-6/+6
* block: call into the file system for bdev_mark_deadChristoph Hellwig2023-08-211-20/+24
* block: consolidate __invalidate_device and fsync_bdevChristoph Hellwig2023-08-211-2/+1
* block: fix the exclusive open mask in disk_scan_partitionsChristoph Hellwig2023-06-211-1/+1
* block: fix wrong mode for blkdev_get_by_dev() from disk_scan_partitions()Yu Kuai2023-06-201-1/+2
* block: fix blktrace debugfs entries leakageYu Kuai2023-06-141-1/+4
* block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig2023-06-121-4/+4
* block: use the holder as indication for exclusive opensChristoph Hellwig2023-06-121-3/+2
* block: move more code to early-lookup.cChristoph Hellwig2023-06-051-92/+0
* block: add a mark_dead holder operationChristoph Hellwig2023-06-051-0/+24
* block: introduce holder opsChristoph Hellwig2023-06-051-2/+4
* block: delete partitions later in del_gendiskChristoph Hellwig2023-06-051-5/+19
* block: avoid repeated work in blk_mark_disk_deadChristoph Hellwig2023-06-051-1/+3
* block: consolidate the shutdown logic in blk_mark_disk_dead and del_gendiskChristoph Hellwig2023-06-051-14/+12
* block: Replace all non-returning strlcpy with strscpyAzeem Shaikh2023-06-011-1/+1
* Merge tag 'for-6.4/block-2023-05-06' of git://git.kernel.dk/linuxLinus Torvalds2023-05-061-14/+5
|\
| * blk-integrity: register sysfs attributes on struct deviceThomas Weißschuh2023-04-261-8/+4
| * block: Cleanup set_capacity()/bdev_set_nr_sectors()Damien Le Moal2023-04-241-6/+1
* | Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2023-04-271-13/+7
|\ \
| * \ Merge 6.3-rc5 into driver-core-nextGreg Kroah-Hartman2023-04-031-1/+1
| |\ \
| * | | driver core: class: remove dev_kobj from struct classGreg Kroah-Hartman2023-03-311-1/+0
| * | | driver core: remove CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2Greg Kroah-Hartman2023-03-061-12/+7
* | | | Merge tag 'for-6.4/block-2023-04-21' of git://git.kernel.dk/linuxLinus Torvalds2023-04-261-0/+3
|\ \ \ \ | | |_|/ | |/| |
| * | | block: store bdev->bd_disk->fops->submit_bio state in bdevJens Axboe2023-04-161-0/+3
| | |/ | |/|
* / | block: don't set GD_NEED_PART_SCAN if scan partition failedYu Kuai2023-04-061-1/+7
|/ /
* / block: fix wrong mode for blkdev_put() from disk_scan_partitions()Yu Kuai2023-03-071-1/+1
|/
* Merge tag 'block-6.3-2023-03-03' of git://git.kernel.dk/linuxLinus Torvalds2023-03-031-9/+28
|\
| * block: fix scan partition for exclusively open device againYu Kuai2023-02-171-4/+26
| * block: Revert "block: Do not reread partition table on exclusively open device"Yu Kuai2023-02-171-5/+2
* | Merge tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2023-02-241-1/+1
|\ \ | |/ |/|
| * driver core: make struct device_type.devnode() take a const *Greg Kroah-Hartman2023-01-271-1/+1
* | Revert "blk-cgroup: delay blk-cgroup initialization until add_disk"Christoph Hellwig2023-02-141-9/+8
* | Revert "blk-cgroup: delay calling blkcg_exit_disk until disk_release"Christoph Hellwig2023-02-141-2/+2
* | blk-cgroup: delay calling blkcg_exit_disk until disk_releaseChristoph Hellwig2023-02-091-2/+2
* | block: stub out and deprecated the capability attribute on the gendiskChristoph Hellwig2023-02-061-3/+2
* | blk-cgroup: delay blk-cgroup initialization until add_diskChristoph Hellwig2023-02-031-8/+9
|/
* Merge tag 'block-2023-01-06' of git://git.kernel.dk/linuxLinus Torvalds2023-01-061-0/+11
|\
| * Revert "block: remove devnode callback from struct block_device_operations"Jens Axboe2023-01-041-0/+11
* | Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2022-12-161-2/+2
|\ \ | |/ |/|
| * driver core: make struct class.dev_uevent() take a const *Greg Kroah-Hartman2022-11-241-2/+2
* | Merge tag 'for-6.2/block-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds2022-12-131-19/+16
|\ \ | |/ |/|
| * block: remove devnode callback from struct block_device_operationsGreg Kroah-Hartman2022-12-031-11/+0
| * block: Do not reread partition table on exclusively open deviceJan Kara2022-12-011-2/+5
| * block: remove delayed holder registrationChristoph Hellwig2022-11-161-4/+0
| * block: clear ->slave_dir when dropping the main slave_dir referenceChristoph Hellwig2022-11-161-0/+2
| * blk-mq: move the srcu_struct used for quiescing to the tagsetChristoph Hellwig2022-11-021-1/+1
| * block: set the disk capacity to 0 in blk_mark_disk_deadChristoph Hellwig2022-11-021-0/+5