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