aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
AgeCommit message (Expand)AuthorFilesLines
4 daysMerge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-14/+13
5 daysMerge tag 'for-6.10/block-20240511' of git://git.kernel.dk/linuxLinus Torvalds1-55/+61
11 daysmd: Revert "md: Fix overflow in is_mddev_idle"Li Nan1-1/+1
2024-05-03block: add a disk_has_partscan helperChristoph Hellwig1-0/+13
2024-04-25Merge tag 'md-6.10-20240425' of https://git.kernel.org/pub/scm/linux/kernel/g...Jens Axboe1-1/+1
2024-04-23block: use a per disk workqueue for zone write pluggingDamien Le Moal1-0/+1
2024-04-20Merge tag 'block-6.9-20240420' of git://git.kernel.dk/linuxLinus Torvalds1-0/+2
2024-04-18block: propagate partition scanning errors to the BLKRRPART ioctlChristoph Hellwig1-0/+2
2024-04-17block: Do not special-case plugging of zone write operationsDamien Le Moal1-12/+0
2024-04-17block: Remove zone write lockingDamien Le Moal1-31/+4
2024-04-17block: Remove elevator required featuresDamien Le Moal1-10/+0
2024-04-17block: Simplify blk_revalidate_disk_zones() interfaceDamien Le Moal1-2/+1
2024-04-17block: Allow zero value of max_zone_append_sectors queue limitDamien Le Moal1-3/+20
2024-04-17block: Introduce zone write pluggingDamien Le Moal1-0/+11
2024-04-17block: Remember zone capacity when revalidating zonesDamien Le Moal1-0/+1
2024-04-17block: Introduce bio_straddles_zones() and bio_offset_from_zone_start()Damien Le Moal1-0/+13
2024-04-12scsi: block: Remove now unused queue limits helpersChristoph Hellwig1-13/+0
2024-04-11scsi: block: Add a helper to cancel atomic queue limit updatesChristoph Hellwig1-0/+13
2024-04-08md: Fix overflow in is_mddev_idleLi Nan1-1/+1
2024-03-27fs,block: yield devices earlyChristian Brauner1-10/+1
2024-03-18fs,block: get holder during claimChristian Brauner1-0/+10
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-13/+60
2024-03-06Merge tag 'md-6.9-20240306' of https://git.kernel.org/pub/scm/linux/kernel/gi...Jens Axboe1-2/+0
2024-03-06block: remove disk_stack_limitsChristoph Hellwig1-2/+0
2024-03-06block: make block_class constantRicardo B. Marliere1-1/+1
2024-03-01block: add a queue_limits_stack_bdev helperChristoph Hellwig1-0/+2
2024-03-01block: add a queue_limits_set helperChristoph Hellwig1-0/+1
2024-02-25bdev: make struct bdev_handle private to the block layerChristian Brauner1-7/+0
2024-02-25bdev: make bdev_{release, open_by_dev}() private to block layerChristian Brauner1-3/+0
2024-02-25bdev: remove bdev_open_by_path()Christian Brauner1-2/+0
2024-02-25bdev: open block device as filesChristian Brauner1-0/+7
2024-02-19block: pass a queue_limits argument to blk_alloc_diskChristoph Hellwig1-3/+7
2024-02-13block: add a max_user_discard_sectors queue limitChristoph Hellwig1-0/+1
2024-02-13block: add an API to atomically update queue limitsChristoph Hellwig1-0/+23
2024-02-13block: move max_{open,active}_zones to struct queue_limitsChristoph Hellwig1-6/+6
2024-02-12block: support PI at non-zero offset within metadataKanchan Joshi1-0/+1
2024-02-12block: remove gfp_flags from blkdev_zone_mgmtJohannes Thumshirn1-1/+1
2024-02-05block: update cached timestamp post schedule/preemptionJens Axboe1-0/+16
2024-02-05block: cache current nsec time in struct blk_plugJens Axboe1-0/+1
2024-01-11Merge tag 'for-6.8/block-2024-01-08' of git://git.kernel.dk/linuxLinus Torvalds1-91/+68
2024-01-08Merge tag 'vfs-6.8.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-8/+21
2024-01-08block: remove disk_clear_zonedChristoph Hellwig1-1/+0
2023-12-27block: rename and document BLK_DEF_MAX_SECTORSChristoph Hellwig1-1/+8
2023-12-26block: renumber QUEUE_FLAG_HW_WCChristoph Hellwig1-1/+1
2023-12-19block: simplify disk_set_zonedChristoph Hellwig1-1/+2
2023-12-19block: remove support for the host aware zone modelChristoph Hellwig1-34/+3
2023-12-15block: improve struct request_queue layoutJens Axboe1-43/+46
2023-11-27block: move a few definitions out of CONFIG_BLK_DEV_ZONEDChristoph Hellwig1-13/+11
2023-11-18fs: Block writes to mounted block devicesJan Kara1-1/+2
2023-11-18block: Add config option to not allow writing to mounted devicesJan Kara1-0/+2
2023-11-18block: Remove blkdev_get_by_*() functionsJan Kara1-5/+0
2023-11-18blkdev: comment fs_holder_opsChristian Brauner1-0/+5
2023-11-18bdev: add freeze and thaw holder operationsChristian Brauner1-0/+10
2023-11-18bdev: rename freeze and thaw helpersChristian Brauner1-2/+2
2023-10-28block: Use bdev_open_by_dev() in blkdev_open()Jan Kara1-0/+1
2023-10-28block: Provide bdev_open_* functionsJan Kara1-0/+10
2023-08-29Merge tag 'for-6.6/block-2023-08-28' of git://git.kernel.dk/linuxLinus Torvalds1-0/+2
2023-08-28Merge tag 'v6.6-vfs.super' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-5/+10
2023-08-21block: call into the file system for ioctl BLKFLSBUFChristoph Hellwig1-2/+5
2023-08-21block: call into the file system for bdev_mark_deadChristoph Hellwig1-1/+1
2023-08-21block: consolidate __invalidate_device and fsync_bdevChristoph Hellwig1-1/+1
2023-08-21block: simplify the disk_force_media_change interfaceChristoph Hellwig1-1/+1
2023-08-14block: Add some exports for bcachefsKent Overstreet1-0/+1
2023-08-11fs: export fs_holder_opsChristoph Hellwig1-0/+2
2023-08-08block: get rid of unused plug->nowait flagJens Axboe1-1/+0
2023-07-17block: don't allow enabling a cache on devices that don't support itChristoph Hellwig1-0/+1
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-45/+56
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-7/+23
2023-06-12block: move a few internal definitions out of blkdev.hChristoph Hellwig1-27/+0
2023-06-12block: add a sb_open_mode helperChristoph Hellwig1-0/+7
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-1/+1
2023-06-12block: remove the unused mode argument to ->releaseChristoph Hellwig1-1/+1
2023-06-12block: pass a gendisk to ->openChristoph Hellwig1-1/+1
2023-06-12block: pass a gendisk on bdev_check_media_changeChristoph Hellwig1-1/+1
2023-06-05block: mark early_lookup_bdev as __initChristoph Hellwig1-1/+1
2023-06-05block: move more code to early-lookup.cChristoph Hellwig1-1/+0
2023-06-05init: improve the name_to_dev_t interfaceChristoph Hellwig1-0/+5
2023-06-05block: add a mark_dead holder operationChristoph Hellwig1-0/+1
2023-06-05block: introduce holder opsChristoph Hellwig1-3/+8
2023-05-30block: constify struct part_type part_typeThomas Weißschuh1-1/+1
2023-05-23block/rq_qos: protect rq_qos apis with a new lockYu Kuai1-0/+1
2023-05-20block: remove NFL4_UFLG_MASKChristoph Hellwig1-2/+0
2023-05-19blk-mq: don't use the requeue list to queue flush commandsChristoph Hellwig1-0/+1
2023-05-18block: Introduce op_needs_zoned_write_locking()Bart Van Assche1-4/+7
2023-05-18block: Fix the type of the second bdev_op_is_zoned_write() argumentBart Van Assche1-1/+1
2023-05-06Merge tag 'for-6.4/block-2023-05-06' of git://git.kernel.dk/linuxLinus Torvalds1-3/+0
2023-04-26blk-integrity: register sysfs attributes on struct deviceThomas Weißschuh1-3/+0
2023-04-26Merge tag 'for-6.4/block-2023-04-21' of git://git.kernel.dk/linuxLinus Torvalds1-12/+0
2023-03-20blk-mq: remove hybrid pollingKeith Busch1-12/+0
2023-03-15block: count 'ios' and 'sectors' when io is done for bio-based deviceYu Kuai1-3/+2
2023-03-03Merge tag 'block-6.3-2023-03-03' of git://git.kernel.dk/linuxLinus Torvalds1-6/+1
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-5/+7
2023-02-21block: remove more NULL checks after bdev_get_queue()Juhyung Park1-6/+1
2023-02-14Revert "blk-cgroup: move the cgroup information to struct gendisk"Christoph Hellwig1-6/+6
2023-02-03blk-cgroup: move the cgroup information to struct gendiskChristoph Hellwig1-6/+6
2023-02-02block: remove ->rw_pageChristoph Hellwig1-5/+7
2023-01-29blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkcg_deacti...Yu Kuai1-0/+1
2023-01-29block: introduce bdev_zone_no helperPankaj Raghav1-0/+5
2023-01-29block: add a new helper bdev_{is_zone_start, offset_from_zone_start}Pankaj Raghav1-0/+12
2023-01-29block: remove superfluous check for request queue in bdev_is_zoned()Pankaj Raghav1-6/+1
2023-01-29block: save user max_sectors limitKeith Busch1-0/+1
2023-01-29block: make BLK_DEF_MAX_SECTORS unsignedKeith Busch1-1/+2
2023-01-04Revert "block: remove devnode callback from struct block_device_operations"Jens Axboe1-0/+1
2022-12-13Merge tag 'for-6.2/block-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds1-26/+6
2022-12-03block: remove devnode callback from struct block_device_operationsGreg Kroah-Hartman1-1/+0
2022-11-30block: untangle request_queue refcounting from sysfsChristoph Hellwig1-4/+2
2022-11-16block: make blk_set_default_limits() privateKeith Busch1-1/+0
2022-11-16block: make dma_alignment a stacking queue_limitKeith Busch1-7/+8
2022-11-16block: remove delayed holder registrationChristoph Hellwig1-5/+0
2022-11-02blk-mq: add tagset quiesce interfaceChao Leng1-0/+3
2022-11-02blk-mq: move the srcu_struct used for quiescing to the tagsetChristoph Hellwig1-9/+0
2022-10-31block: simplify blksize_bits() implementationDawei Li1-6/+1
2022-10-25block: remove bio_start_io_acct_timeChristoph Hellwig1-1/+0
2022-10-10Merge branch 'for-6.1/block' into block-6.1Jens Axboe1-3/+3
2022-10-10block: avoid sign extend problem with default queue flags maskBrian Foster1-3/+3
2022-10-07Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linuxLinus Torvalds1-1/+14
2022-09-29block: adapt blk_mq_plug() to not plug for writes that require a zone lockPankaj Raghav1-0/+9
2022-09-27block: replace blk_queue_nowait with bdev_nowaitChristoph Hellwig1-1/+5
2022-09-11vfs: support STATX_DIOALIGN on block devicesEric Biggers1-0/+4
2022-08-04Merge tag 'for-5.20/block-2022-08-04' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+3
2022-08-03Merge tag 'for-5.20-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-0/+5
2022-08-02block: move ->bio_split to the gendiskChristoph Hellwig1-1/+2
2022-08-02block: change the blk_queue_split calling conventionChristoph Hellwig1-1/+1
2022-07-25block: add bdev_max_segments() helperNaohiro Aota1-0/+5
2022-07-14block: Use the new blk_opf_t typeBart Van Assche1-1/+1
2022-07-14block: Change the type of the last .rw_page() argumentBart Van Assche1-1/+1
2022-07-14block: Use enum req_op where appropriateBart Van Assche1-3/+3
2022-07-14treewide: Rename enum req_opf into enum req_opBart Van Assche1-1/+1
2022-07-14block: remove bdevnameChristoph Hellwig1-1/+0
2022-07-06block: move zone related fields to struct gendiskChristoph Hellwig1-49/+42
2022-07-06block: remove blk_queue_zone_sectorsChristoph Hellwig1-8/+3
2022-07-06block: replace blkdev_nr_zones with bdev_nr_zonesChristoph Hellwig1-2/+2
2022-07-06block: pass a gendisk to blk_queue_max_open_zones and blk_queue_max_active_zonesChristoph Hellwig1-4/+4
2022-07-06block: remove queue_max_open_zones and queue_max_active_zonesChristoph Hellwig1-27/+10
2022-07-06block: pass a gendisk to blk_queue_set_zonedChristoph Hellwig1-1/+1
2022-07-06block: remove a superflous ifdef in blkdev.hChristoph Hellwig1-3/+0
2022-06-29block: move ->ia_ranges from the request_queue to the gendiskChristoph Hellwig1-6/+6
2022-06-28block: remove blk_cleanup_diskChristoph Hellwig1-1/+0
2022-06-28block: simplify disk shutdownChristoph Hellwig1-3/+1
2022-06-28block: remove QUEUE_FLAG_DEADChristoph Hellwig1-2/+0
2022-06-27block: move blk_queue_get_max_sectors to blk.hChristoph Hellwig1-13/+0
2022-06-27block: fold blk_max_size_offset into get_max_io_sizeChristoph Hellwig1-19/+0
2022-06-27block: factor out a chunk_size_left helperChristoph Hellwig1-6/+13
2022-06-27block: relax direct io memory alignmentKeith Busch1-0/+5
2022-06-27block: introduce bdev_iter_is_aligned helperKeith Busch1-0/+7
2022-06-27block: introduce bdev_dma_alignment helperKeith Busch1-0/+5
2022-06-19block: remove queue from struct blk_independent_access_rangeDamien Le Moal1-1/+0
2022-06-17block: serialize all debugfs operations using q->debugfs_mutexChristoph Hellwig1-4/+4
2022-06-16blk-mq: avoid to touch q->elevator without any protectionMing Lei1-2/+2
2022-06-03Merge tag 'for-5.19/drivers-2022-06-02' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2022-05-27block, loop: support partitions without scanningChristoph Hellwig1-0/+1
2022-05-24Merge tag 'exfat-for-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+1
2022-05-23Merge tag 'for-5.19/drivers-2022-05-22' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+15
2022-05-23block: add sync_blockdev_range()Yuezhang Mo1-0/+1
2022-04-18block: turn bdev->bd_openers into an atomic_tChristoph Hellwig1-1/+1
2022-04-18block: add a disk_openers helperChristoph Hellwig1-0/+15
2022-04-18block: change exported IO accounting interface from gendisk to bdevMing Lei1-3/+4
2022-04-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig1-11/+16
2022-04-17block: add a bdev_discard_granularity helperChristoph Hellwig1-0/+5
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-2/+0
2022-04-17block: add a bdev_max_discard_sectors helperChristoph Hellwig1-0/+5
2022-04-17block: move {bdev,queue_limit}_discard_alignment out of lineChristoph Hellwig1-33/+1
2022-04-17block: remove queue_discard_alignmentChristoph Hellwig1-8/+0
2022-04-17block: move bdev_alignment_offset and queue_limit_alignment_offset out of lineChristoph Hellwig1-20/+1
2022-04-17block: use bdev_alignment_offset in disk_alignment_offset_showChristoph Hellwig1-8/+0
2022-04-17block: add a bdev_max_zone_append_sectors helperChristoph Hellwig1-0/+6
2022-04-17block: add a bdev_stable_writes helperChristoph Hellwig1-0/+6
2022-04-17block: add a bdev_fua helperChristoph Hellwig1-1/+5
2022-04-17block: add a bdev_write_cache helperChristoph Hellwig1-0/+5
2022-04-17block: add a bdev_nonrot helperChristoph Hellwig1-0/+5
2022-03-26Merge tag 'for-5.18/write-streams-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+0
2022-03-24Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-19/+0
2022-03-24Merge tag 'for-5.18/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+2
2022-03-21Merge tag 'for-5.18/block-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-17/+279
2022-03-09block: add ->poll_bio to block_device_operationsMing Lei1-0/+2
2022-03-08blk-mq: manage hctx map via xarrayMing Lei1-1/+1
2022-03-07block: remove the per-bio/request write hintChristoph Hellwig1-3/+0
2022-03-07Merge branch 'for-5.18/block' into for-5.18/write-streamsJens Axboe1-16/+278
2022-02-28blk-crypto: show crypto capabilities in sysfsEric Biggers1-0/+1
2022-02-22scsi: block: Remove REQ_OP_WRITE_SAME supportChristoph Hellwig1-19/+0
2022-02-17block: fix surprise removal for drivers calling blk_set_queue_dyingChristoph Hellwig1-1/+2
2022-02-16block: add a ->free_disk methodChristoph Hellwig1-0/+2
2022-02-02block: fix the kerneldoc for bio_end_io_acctChristoph Hellwig1-1/+1
2022-02-02block: check that there is a plug in blk_flush_plugChristoph Hellwig1-1/+6
2022-02-02block: remove blk_needs_flush_plugChristoph Hellwig1-13/+0
2022-02-02block: remove genhd.hChristoph Hellwig1-3/+270
2022-01-28block: add bio_start_io_acct_time() to control start_timeMike Snitzer1-0/+1
2022-01-05block: move rq_list macros to blk-mq.hKeith Busch1-29/+0
2021-12-22block: remove unnecessary trailing '\'Keith Busch1-1/+1
2021-12-21block: use "unsigned long" for blk_validate_block_size().Tetsuo Handa1-1/+1
2021-12-03blk-mq: move srcu from blk_mq_hw_ctx to request_queueMing Lei1-0/+9
2021-11-29blk-crypto: remove blk_crypto_unregister()Eric Biggers1-4/+0
2021-11-29block: only allocate poll_stats if there's a user of themJens Axboe1-2/+1
2021-11-01Merge tag 'for-5.16/inode-sync-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+9
2021-11-01Merge tag 'for-5.16/passthrough-flag-2021-10-29' of git://git.kernel.dk/linux...Linus Torvalds1-3/+11
2021-11-01Merge tag 'for-5.16/bdev-size-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-17/+0
2021-10-27block: Add a helper to validate the block sizeXie Yongji1-0/+8
2021-10-26block: Add independent access ranges supportDamien Le Moal1-0/+39
2021-10-22block: simplify the block device syncing codeChristoph Hellwig1-0/+4
2021-10-22block: remove __sync_blockdevChristoph Hellwig1-0/+5