index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
block
/
genhd.c
Age
Commit message (
Expand
)
Author
Files
Lines
5 days
Merge tag 'pull-bd_flags-2' of git://git.kernel.org/pub/scm/linux/kernel/git/...
Linus Torvalds
1
-5
/
+10
5 days
Merge tag 'pull-bd_inode-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...
Linus Torvalds
1
-4
/
+4
2024-05-09
block: fix that util can be greater than 100%
Yu Kuai
1
-10
/
+2
2024-05-09
block: support to account io_ticks precisely
Yu Kuai
1
-1
/
+1
2024-05-03
block: add a partscan sysfs attribute for disks
Christoph Hellwig
1
-0
/
+8
2024-05-03
block: add a disk_has_partscan helper
Christoph Hellwig
1
-5
/
+2
2024-05-03
use ->bd_mapping instead of ->bd_inode->i_mapping
Al Viro
1
-1
/
+1
2024-05-03
missing helpers: bdev_unhash(), bdev_drop()
Al Viro
1
-3
/
+3
2024-05-02
bdev: move ->bd_make_it_fail to ->__bd_flags
Al Viro
1
-4
/
+8
2024-05-02
bdev: move ->bd_has_subit_bio to ->__bd_flags
Al Viro
1
-1
/
+2
2024-04-17
block: Introduce zone write plugging
Damien Le Moal
1
-1
/
+2
2024-03-11
Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linux
Linus Torvalds
1
-6
/
+8
2024-03-06
block: make block_class constant
Ricardo B. Marliere
1
-1
/
+1
2024-02-25
block/genhd: port disk_scan_partitions() to file
Christian Brauner
1
-6
/
+6
2024-02-19
block: pass a queue_limits argument to blk_alloc_disk
Christoph Hellwig
1
-5
/
+6
2024-02-13
block: pass a queue_limits argument to blk_alloc_queue
Christoph Hellwig
1
-2
/
+3
2023-12-19
block: add check of 'minors' and 'first_minor' in device_add_disk()
Li Nan
1
-1
/
+3
2023-12-13
block: Set memalloc_noio to false on device_add_disk() error path
Li Nan
1
-0
/
+1
2023-10-28
block: assert that we're not holding open_mutex over blk_report_disk_dead
Christian Brauner
1
-0
/
+7
2023-10-28
block: Use bdev_open_by_dev() in disk_scan_partitions() and blkdev_bszset()
Jan Kara
1
-6
/
+6
2023-08-21
block: call into the file system for bdev_mark_dead
Christoph Hellwig
1
-20
/
+24
2023-08-21
block: consolidate __invalidate_device and fsync_bdev
Christoph Hellwig
1
-2
/
+1
2023-06-21
block: fix the exclusive open mask in disk_scan_partitions
Christoph Hellwig
1
-1
/
+1
2023-06-20
block: fix wrong mode for blkdev_get_by_dev() from disk_scan_partitions()
Yu Kuai
1
-1
/
+2
2023-06-14
block: fix blktrace debugfs entries leakage
Yu Kuai
1
-1
/
+4
2023-06-12
block: replace fmode_t with a block-specific type for block open flags
Christoph Hellwig
1
-4
/
+4
2023-06-12
block: use the holder as indication for exclusive opens
Christoph Hellwig
1
-3
/
+2
2023-06-05
block: move more code to early-lookup.c
Christoph Hellwig
1
-92
/
+0
2023-06-05
block: add a mark_dead holder operation
Christoph Hellwig
1
-0
/
+24
2023-06-05
block: introduce holder ops
Christoph Hellwig
1
-2
/
+4
2023-06-05
block: delete partitions later in del_gendisk
Christoph Hellwig
1
-5
/
+19
2023-06-05
block: avoid repeated work in blk_mark_disk_dead
Christoph Hellwig
1
-1
/
+3
2023-06-05
block: consolidate the shutdown logic in blk_mark_disk_dead and del_gendisk
Christoph Hellwig
1
-14
/
+12
2023-06-01
block: Replace all non-returning strlcpy with strscpy
Azeem Shaikh
1
-1
/
+1
2023-05-06
Merge tag 'for-6.4/block-2023-05-06' of git://git.kernel.dk/linux
Linus Torvalds
1
-14
/
+5
2023-04-27
Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...
Linus Torvalds
1
-13
/
+7
2023-04-26
blk-integrity: register sysfs attributes on struct device
Thomas Weißschuh
1
-8
/
+4
2023-04-26
Merge tag 'for-6.4/block-2023-04-21' of git://git.kernel.dk/linux
Linus Torvalds
1
-0
/
+3
2023-04-24
block: Cleanup set_capacity()/bdev_set_nr_sectors()
Damien Le Moal
1
-6
/
+1
2023-04-16
block: store bdev->bd_disk->fops->submit_bio state in bdev
Jens Axboe
1
-0
/
+3
2023-04-06
block: don't set GD_NEED_PART_SCAN if scan partition failed
Yu Kuai
1
-1
/
+7
2023-04-03
Merge 6.3-rc5 into driver-core-next
Greg Kroah-Hartman
1
-1
/
+1
2023-03-31
driver core: class: remove dev_kobj from struct class
Greg Kroah-Hartman
1
-1
/
+0
2023-03-07
block: fix wrong mode for blkdev_put() from disk_scan_partitions()
Yu Kuai
1
-1
/
+1
2023-03-06
driver core: remove CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2
Greg Kroah-Hartman
1
-12
/
+7
2023-03-03
Merge tag 'block-6.3-2023-03-03' of git://git.kernel.dk/linux
Linus Torvalds
1
-9
/
+28
2023-02-24
Merge tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...
Linus Torvalds
1
-1
/
+1
2023-02-17
block: fix scan partition for exclusively open device again
Yu Kuai
1
-4
/
+26
2023-02-17
block: Revert "block: Do not reread partition table on exclusively open device"
Yu Kuai
1
-5
/
+2
2023-02-14
Revert "blk-cgroup: delay blk-cgroup initialization until add_disk"
Christoph Hellwig
1
-9
/
+8
2023-02-14
Revert "blk-cgroup: delay calling blkcg_exit_disk until disk_release"
Christoph Hellwig
1
-2
/
+2
2023-02-09
blk-cgroup: delay calling blkcg_exit_disk until disk_release
Christoph Hellwig
1
-2
/
+2
2023-02-06
block: stub out and deprecated the capability attribute on the gendisk
Christoph Hellwig
1
-3
/
+2
2023-02-03
blk-cgroup: delay blk-cgroup initialization until add_disk
Christoph Hellwig
1
-8
/
+9
2023-01-27
driver core: make struct device_type.devnode() take a const *
Greg Kroah-Hartman
1
-1
/
+1
2023-01-06
Merge tag 'block-2023-01-06' of git://git.kernel.dk/linux
Linus Torvalds
1
-0
/
+11
2023-01-04
Revert "block: remove devnode callback from struct block_device_operations"
Jens Axboe
1
-0
/
+11
2022-12-16
Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...
Linus Torvalds
1
-2
/
+2
2022-12-13
Merge tag 'for-6.2/block-2022-12-08' of git://git.kernel.dk/linux
Linus Torvalds
1
-19
/
+16
2022-12-03
block: remove devnode callback from struct block_device_operations
Greg Kroah-Hartman
1
-11
/
+0
2022-12-01
block: Do not reread partition table on exclusively open device
Jan Kara
1
-2
/
+5
2022-11-24
driver core: make struct class.dev_uevent() take a const *
Greg Kroah-Hartman
1
-2
/
+2
2022-11-16
block: remove delayed holder registration
Christoph Hellwig
1
-4
/
+0
2022-11-16
block: clear ->slave_dir when dropping the main slave_dir reference
Christoph Hellwig
1
-0
/
+2
2022-11-02
blk-mq: move the srcu_struct used for quiescing to the tagset
Christoph Hellwig
1
-1
/
+1
2022-11-02
block: set the disk capacity to 0 in blk_mark_disk_dead
Christoph Hellwig
1
-0
/
+5
2022-10-31
block: Fix possible memory leak for rq_wb on add_disk failure
Chen Zhongjin
1
-0
/
+1
2022-10-31
blk-mq: move queue_is_mq out of blk_mq_cancel_work_sync
Jinlong Chen
1
-1
/
+3
2022-10-22
block: fix memory leak for elevator on add_disk failure
Yu Kuai
1
-4
/
+8
2022-10-10
Merge branch 'for-6.1/block' into block-6.1
Jens Axboe
1
-0
/
+7
2022-10-10
block: fix leaking minors of hidden disks
Christoph Hellwig
1
-0
/
+7
2022-10-07
Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linux
Linus Torvalds
1
-3
/
+4
2022-09-26
blk-throttle: pass a gendisk to blk_throtl_cancel_bios
Christoph Hellwig
1
-1
/
+1
2022-09-26
blk-cgroup: pass a gendisk to blkcg_init_queue and blkcg_exit_queue
Christoph Hellwig
1
-2
/
+3
2022-09-20
Revert "block: freeze the queue earlier in del_gendisk"
Christoph Hellwig
1
-1
/
+2
2022-08-12
block: Do not call blk_put_queue() if gendisk allocation fails
Rafael Mendonca
1
-3
/
+1
2022-08-02
block: move ->bio_split to the gendisk
Christoph Hellwig
1
-1
/
+7
2022-07-21
block: call blk_mq_exit_queue from disk_release for never added disks
Christoph Hellwig
1
-0
/
+15
2022-07-14
block: remove bdevname
Christoph Hellwig
1
-23
/
+0
2022-07-06
block: pass a gendisk to blk_queue_free_zone_bitmaps
Christoph Hellwig
1
-1
/
+1
2022-07-06
block: call blk_queue_free_zone_bitmaps from disk_release
Christoph Hellwig
1
-0
/
+1
2022-06-28
block: simplify blktrace sysfs attribute creation
Christoph Hellwig
1
-0
/
+3
2022-06-28
block: remove blk_cleanup_disk
Christoph Hellwig
1
-15
/
+0
2022-06-28
block: simplify disk shutdown
Christoph Hellwig
1
-10
/
+13
2022-06-17
block: freeze the queue earlier in del_gendisk
Christoph Hellwig
1
-2
/
+1
2022-06-17
block: disable the elevator int del_gendisk
Christoph Hellwig
1
-28
/
+11
2022-05-27
block, loop: support partitions without scanning
Christoph Hellwig
1
-0
/
+2
2022-04-17
block: remove queue_discard_alignment
Christoph Hellwig
1
-1
/
+1
2022-04-17
block: use bdev_alignment_offset in disk_alignment_offset_show
Christoph Hellwig
1
-1
/
+1
2022-04-01
Merge tag 'for-5.18/block-2022-04-01' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-1
/
+1
2022-03-28
block: Fix the maximum minor value is blk_alloc_ext_minor()
Christophe JAILLET
1
-1
/
+1
2022-03-24
Merge tag 'for-5.18/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...
Linus Torvalds
1
-0
/
+4
2022-03-21
Merge tag 'for-5.18/block-2022-03-18' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-5
/
+62
2022-03-18
block: cancel all throttled bios in del_gendisk()
Yu Kuai
1
-0
/
+3
2022-03-09
block: add ->poll_bio to block_device_operations
Ming Lei
1
-0
/
+4
2022-03-08
block: move rq_qos_exit() into disk_release()
Ming Lei
1
-2
/
+1
2022-03-08
block: do more work in elevator_exit
Christoph Hellwig
1
-3
/
+0
2022-03-08
block: move blk_exit_queue into disk_release
Ming Lei
1
-1
/
+30
2022-03-08
block: move blkcg initialization/destroy into disk allocation/release handler
Ming Lei
1
-0
/
+9
2022-02-22
block: update io_ticks when io hang
Zhang Wensheng
1
-2
/
+12
2022-02-17
block: fix surprise removal for drivers calling blk_set_queue_dying
Christoph Hellwig
1
-0
/
+14
2022-02-16
block: add a ->free_disk method
Christoph Hellwig
1
-0
/
+5
2022-02-02
block: remove genhd.h
Christoph Hellwig
1
-1
/
+0
2022-02-02
block: deprecate autoloading based on dev_t
Christoph Hellwig
1
-0
/
+6
2021-12-21
block: check minor range in device_add_disk()
Tetsuo Handa
1
-0
/
+2
2021-12-21
block: fix error unwinding in device_add_disk
Christoph Hellwig
1
-7
/
+6
2021-12-03
blk-mq: move srcu from blk_mq_hw_ctx to request_queue
Ming Lei
1
-1
/
+1
2021-11-29
block: don't include <linux/part_stat.h> in blk.h
Christoph Hellwig
1
-0
/
+1
2021-11-29
block: don't include blk-mq-sched.h in blk.h
Christoph Hellwig
1
-0
/
+1
2021-11-29
block: don't set GENHD_FL_NO_PART for hidden gendisks
Christoph Hellwig
1
-7
/
+2
2021-11-29
block: remove GENHD_FL_EXT_DEVT
Christoph Hellwig
1
-3
/
+3
2021-11-29
block: remove GENHD_FL_SUPPRESS_PARTITION_INFO
Christoph Hellwig
1
-8
/
+3
2021-11-29
block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART
Christoph Hellwig
1
-1
/
+1
2021-11-29
block: merge disk_scan_partitions and blkdev_reread_part
Christoph Hellwig
1
-7
/
+12
2021-11-29
block: remove a dead check in show_partition
Christoph Hellwig
1
-3
/
+1
2021-11-15
blk-mq: cancel blk-mq dispatch work in both blk_cleanup_queue and disk_release()
Ming Lei
1
-0
/
+2
2021-11-09
block: add __must_check for *add_disk*() callers
Luis Chamberlain
1
-3
/
+3
2021-11-09
Merge tag 'for-5.16/drivers-2021-11-09' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-1
/
+4
2021-11-09
Merge tag 'for-5.16/block-2021-11-09' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-2
/
+6
2021-11-04
block: fix device_add_disk() kobject_create_and_add() error handling
Luis Chamberlain
1
-2
/
+6
2021-11-04
block: update __register_blkdev() probe documentation
Luis Chamberlain
1
-1
/
+4
2021-11-01
Merge tag 'for-5.16/bdev-size-2021-10-29' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-0
/
+1
2021-11-01
Merge tag 'for-5.16/block-2021-10-29' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-9
/
+26
2021-10-26
block: drain queue after disk is removed from sysfs
Ming Lei
1
-10
/
+12
2021-10-21
block: Add invalidate_disk() helper to invalidate the gendisk
Xie Yongji
1
-0
/
+20
2021-10-19
block: move bdev_read_only() into the header
Jens Axboe
1
-6
/
+0
2021-10-18
block: cache inode size in bdev
Jens Axboe
1
-0
/
+1
2021-10-18
block: convert the rest of block to bdev_get_queue
Pavel Begunkov
1
-2
/
+2
2021-10-18
block: cache request queue in bdev
Pavel Begunkov
1
-1
/
+3
2021-10-18
block: drop unused includes in <linux/genhd.h>
Christoph Hellwig
1
-0
/
+1
2021-10-17
block: warn when putting the final reference on a registered disk
Christoph Hellwig
1
-0
/
+1
2021-10-15
block: keep q_usage_counter in atomic mode after del_gendisk
Christoph Hellwig
1
-1
/
+2
2021-10-15
block: drain file system I/O on del_gendisk
Christoph Hellwig
1
-0
/
+21
2021-10-02
block: genhd: fix double kfree() in __alloc_disk_node()
Tetsuo Handa
1
-0
/
+1
2021-09-07
block: genhd: don't call blkdev_show() with major_names_lock held
Tetsuo Handa
1
-2
/
+7
2021-08-24
block: refine the disk_live check in del_gendisk
Christoph Hellwig
1
-1
/
+1
2021-08-24
block: remove CONFIG_DEBUG_BLOCK_EXT_DEVT
Christoph Hellwig
1
-39
/
+4
2021-08-24
block: remove a pointless call to MINOR() in device_add_disk
Christoph Hellwig
1
-1
/
+1
2021-08-23
block: add error handling for device_add_disk / add_disk
Luis Chamberlain
1
-34
/
+58
2021-08-23
block: call blk_register_queue earlier in device_add_disk
Christoph Hellwig
1
-2
/
+3
2021-08-23
block: call blk_integrity_add earlier in device_add_disk
Christoph Hellwig
1
-1
/
+2
2021-08-23
block: create the bdi link earlier in device_add_disk
Christoph Hellwig
1
-7
/
+6
2021-08-23
block: call bdev_add later in device_add_disk
Christoph Hellwig
1
-19
/
+17
2021-08-23
block: fold register_disk into device_add_disk
Christoph Hellwig
1
-71
/
+60
2021-08-23
block: add a sanity check for a live disk in del_gendisk
Christoph Hellwig
1
-1
/
+1
2021-08-23
block: add an explicit ->disk backpointer to the request_queue
Christoph Hellwig
1
-0
/
+2
2021-08-23
block: hold a request_queue reference for the lifetime of struct gendisk
Christoph Hellwig
1
-12
/
+7
2021-08-23
block: pass a request_queue to __blk_alloc_disk
Christoph Hellwig
1
-3
/
+4
2021-08-23
block: remove the minors argument to __alloc_disk_node
Christoph Hellwig
1
-4
/
+2
2021-08-23
block: cleanup the lockdep handling in *alloc_disk
Christoph Hellwig
1
-3
/
+5
2021-08-16
block: ensure the bdi is freed after inode_detach_wb
Christoph Hellwig
1
-1
/
+0
2021-08-16
block: free the extended dev_t minor later
Christoph Hellwig
1
-2
/
+0
2021-08-12
block: remove GENHD_FL_UP
Christoph Hellwig
1
-4
/
+2
2021-08-09
block: move the bdi from the request_queue to the gendisk
Christoph Hellwig
1
-9
/
+14
2021-08-09
block: remove support for delayed queue registrations
Christoph Hellwig
1
-22
/
+7
2021-08-09
block: support delayed holder registration
Christoph Hellwig
1
-0
/
+10
2021-08-09
block: look up holders by bdev
Christoph Hellwig
1
-1
/
+3
2021-08-02
block: export diskseq in sysfs
Matteo Croce
1
-0
/
+10
2021-08-02
block: export the diskseq in uevents
Matteo Croce
1
-0
/
+9
2021-08-02
block: add disk sequence number
Matteo Croce
1
-0
/
+24
2021-08-02
block: remove disk_name()
Christoph Hellwig
1
-8
/
+9
2021-08-02
block: use the %pg format specifier in show_partition
Christoph Hellwig
1
-4
/
+2
2021-08-02
block: use the %pg format specifier in printk_all_partitions
Christoph Hellwig
1
-4
/
+2
2021-08-02
block: reduce stack usage in diskstats_show
Abd-Alrhman Masalkhi
1
-4
/
+2
2021-08-02
block: remove bdput
Christoph Hellwig
1
-2
/
+2
2021-08-02
block: unhash the whole device inode earlier
Christoph Hellwig
1
-6
/
+1
2021-07-27
block: delay freeing the gendisk
Christoph Hellwig
1
-2
/
+1
2021-07-01
block: grab a device refcount in disk_uevent
Christoph Hellwig
1
-2
/
+2
2021-06-24
block: add the events* attributes to disk_attrs
Christoph Hellwig
1
-0
/
+3
2021-06-24
block: move the disk events code to a separate file
Christoph Hellwig
1
-492
/
+0
2021-06-01
block: remove bdget_disk
Christoph Hellwig
1
-30
/
+5
2021-06-01
block: factor out a part_devt helper
Christoph Hellwig
1
-8
/
+17
2021-06-01
block: move bd_mutex to struct gendisk
Christoph Hellwig
1
-3
/
+4
2021-06-01
block: add blk_alloc_disk and blk_cleanup_disk APIs
Christoph Hellwig
1
-0
/
+35
2021-06-01
block: add a flag to make put_disk on partially initalized disks safer
Christoph Hellwig
1
-2
/
+5
2021-06-01
block: automatically enable GENHD_FL_EXT_DEVT
Christoph Hellwig
1
-1
/
+1
2021-06-01
block: move the DISK_MAX_PARTS sanity check into __device_add_disk
Christoph Hellwig
1
-7
/
+6
2021-06-01
block: refactor device number setup in __device_add_disk
Christoph Hellwig
1
-60
/
+36
2021-05-20
block: prevent block device lookups at the beginning of del_gendisk
Christoph Hellwig
1
-10
/
+1
2021-04-08
block: remove disk_part_iter
Christoph Hellwig
1
-79
/
+13
2021-04-08
block: simplify diskstats_show
Christoph Hellwig
1
-4
/
+6
2021-04-08
block: simplify show_partition
Christoph Hellwig
1
-6
/
+7
2021-04-08
block: simplify printk_all_partitions
Christoph Hellwig
1
-17
/
+16
2021-04-08
block: take bd_mutex around delete_partitions in del_gendisk
Christoph Hellwig
1
-0
/
+4
2021-04-08
block: refactor blk_drop_partitions
Christoph Hellwig
1
-10
/
+1
2021-04-08
block: move more syncing and invalidation to delete_partition
Christoph Hellwig
1
-4
/
+1
2021-04-08
block: remove invalidate_partition
Christoph Hellwig
1
-14
/
+11
2021-03-11
block: Suppress uevent for hidden device when removed
Daniel Wagner
1
-3
/
+1
2021-02-28
block: revert "block: fix bd_size_lock use"
Damien Le Moal
1
-3
/
+2
2021-02-23
block: fix logging on capacity change
Ming Lei
1
-1
/
+1
2021-02-23
block: don't skip empty device in in disk_uevent
Christoph Hellwig
1
-1
/
+1
2021-02-21
Merge tag 'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-257
/
+49
2021-01-29
block: remove typo in kernel-doc of set_disk_ro()
Lukas Bulwahn
1
-1
/
+1
2021-01-28
block: fix bd_size_lock use
Damien Le Moal
1
-2
/
+3
2021-01-24
block: use an xarray for disk->part_tbl
Christoph Hellwig
1
-151
/
+12
2021-01-24
block: remove DISK_PITER_REVERSE
Christoph Hellwig
1
-30
/
+7
2021-01-24
block: add a disk_uevent helper
Christoph Hellwig
1
-13
/
+14
2021-01-24
blk-mq: use ->bi_bdev for I/O accounting
Christoph Hellwig
1
-48
/
+0
2021-01-24
block: store a block_device pointer in struct bio
Christoph Hellwig
1
-1
/
+1
2021-01-24
block: propagate BLKROSET on the whole device to all partitions
Christoph Hellwig
1
-2
/
+1
[next]