aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
AgeCommit message (Expand)AuthorFilesLines
2025-11-28blk-mq: fix potential uaf for 'queue_hw_ctx'Fengnan Chang1-1/+1
2025-11-28blk-mq: use array manage hctx map instead of xarrayFengnan Chang1-1/+1
2025-11-18block: Remove queue freezing from several sysfs store callbacksBart Van Assche1-1/+1
2025-11-07block: introduce bdev_zone_start()Damien Le Moal1-0/+6
2025-11-06block: fix cached zone reporting after zone append was usedChristoph Hellwig1-0/+1
2025-11-05block: introduce blkdev_report_zones_cached()Damien Le Moal1-0/+2
2025-11-05block: introduce blkdev_get_zone_info()Damien Le Moal1-0/+3
2025-11-05block: use zone condition to determine conventional zonesDamien Le Moal1-28/+9
2025-11-05block: introduce disk_report_zone()Damien Le Moal1-1/+6
2025-10-22block: rename min_segment_sizeKeith Busch1-1/+1
2025-10-10Merge tag 'block-6.18-20251009' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-7/+0
2025-10-07block: move bio_iov_iter_get_bdev_pages to block/fops.cChristoph Hellwig1-7/+0
2025-10-07block: rename bio_iov_iter_get_pages_aligned to bio_iov_iter_get_pagesChristoph Hellwig1-1/+1
2025-10-02Merge tag 'mm-stable-2025-10-01-19-00' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2025-09-13mempool: rename struct mempool_s to struct mempoolChristoph Hellwig1-1/+1
2025-09-10block: factor out a helper bio_submit_split_bioset()Yu Kuai1-0/+2
2025-09-10blk-mq: add QUEUE_FLAG_BIO_ISSUE_TIMEYu Kuai1-0/+1
2025-09-09block: remove bdev_iter_is_alignedKeith Busch1-7/+0
2025-09-09block: add size alignment to bio_iov_iter_get_pagesKeith Busch1-0/+7
2025-09-09block: check for valid bio while splittingKeith Busch1-0/+7
2025-09-03Merge tag 'pull-getgeo' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Jens Axboe1-1/+1
2025-08-21block: avoid cpu_hotplug_lock depedency on freeze_lockNilay Shroff1-0/+1
2025-08-13block: switch ->getgeo() to struct gendiskAl Viro1-1/+1
2025-07-28Merge tag 'for-6.17/block-20250728' of git://git.kernel.dk/linuxLinus Torvalds1-9/+55
2025-07-28Merge tag 'vfs-6.17-rc1.integrity' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+2
2025-07-28Merge tag 'vfs-6.17-rc1.fallocate' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+10
2025-07-11Merge tag 'block-6.16-20250710' of git://git.kernel.dk/linuxLinus Torvalds1-0/+5
2025-07-07block: reject bs > ps block devices when THP is disabledPankaj Raghav1-0/+5
2025-07-01block: introduce pi_tuple_size field in blk_integrityAnuj Gupta1-0/+1
2025-07-01block: rename tuple_size field in blk_integrity to metadata_sizeAnuj Gupta1-1/+1
2025-06-30block: Introduce bio_needs_zone_write_plugging()Damien Le Moal1-0/+55
2025-06-30block: Increase BLK_DEF_MAX_SECTORS_CAPDamien Le Moal1-9/+0
2025-06-23block: introduce max_{hw|user}_wzeroes_unmap_sectors to queue limitsZhang Yi1-0/+10
2025-06-03Merge tag 'for-6.16/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+7
2025-05-26Merge tag 'for-6.16/block-20250523' of git://git.kernel.dk/linuxLinus Torvalds1-5/+19
2025-05-15dm-zone: Use bdev_*() helper functions where applicableBart Van Assche1-0/+7
2025-05-10md: clean up accounting for issued sync IOYu Kuai1-1/+0
2025-05-06block: introduce a write_stream_granularity queue limitChristoph Hellwig1-0/+1
2025-05-06block: introduce max_write_streams queue limitKeith Busch1-0/+9
2025-05-06block: move wbt_enable_default() out of queue freezing from sched ->exit()Ming Lei1-0/+2
2025-05-06block: add new helper for disabling elevator switch when deleting diskMing Lei1-0/+3
2025-05-06block: move ELEVATOR_FLAG_DISABLE_WBT a request queue flagMing Lei1-0/+3
2025-05-05block: remove bounce buffering supportChristoph Hellwig1-4/+1
2025-04-25Merge tag 'block-6.15-20250424' of git://git.kernel.dk/linuxLinus Torvalds1-4/+1
2025-04-24Merge branch 'block-6.15' into for-6.16/blockJens Axboe1-4/+1
2025-04-24block: move blkdev_{get,put} _no_open prototypes out of blkdev.hChristoph Hellwig1-4/+0
2025-04-23block: hoist block size validation code to a separate functionDarrick J. Wong1-0/+1
2025-04-22Merge tag 'for-6.15-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-22/+45
2025-04-17block: introduce zone capacity helperNaohiro Aota1-22/+45
2025-04-17fs: move the bdex_statx call to vfs_getattr_nosecChristoph Hellwig1-3/+3
2025-03-26Merge tag 'for-6.15/block-20250322' of git://git.kernel.dk/linuxLinus Torvalds1-0/+15
2025-03-24Merge tag 'vfs-6.15-rc1.pagesize' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+7
2025-03-13block: protect debugfs attrs using elevator_lock instead of sysfs_lockNilay Shroff1-3/+3
2025-03-10block: protect hctx attributes/params using q->elevator_lockNilay Shroff1-6/+8
2025-03-10block: protect read_ahead_kb using q->limits_lockNilay Shroff1-0/+3
2025-03-10block: protect wbt_lat_usec using q->elevator_lockNilay Shroff1-2/+2
2025-03-10block: protect nr_requests update using q->elevator_lockNilay Shroff1-4/+6
2025-03-10block: introduce a dedicated lock for protecting queue elevator updatesNilay Shroff1-0/+8
2025-02-25block: Remove zone write plugs when handling native zone append writesDamien Le Moal1-3/+4
2025-02-25block: make segment size limit workable for > 4K PAGE_SIZEMing Lei1-0/+1
2025-02-24block/bdev: lift block size restrictions to 64kLuis Chamberlain1-1/+7
2025-01-29block: get rid of request queue ->sysfs_dir_lockNilay Shroff1-3/+0
2025-01-17block: Add common atomic writes enable flagJohn Garry1-2/+2
2025-01-15block: Ensure start sector is aligned for stacking atomic writesJohn Garry1-9/+12
2025-01-10block: add a queue_limits_commit_update_frozen helperChristoph Hellwig1-0/+2
2025-01-10block: fix docs for freezing of queue limits updatesChristoph Hellwig1-2/+1
2024-12-23block: track queue dying state automatically for modeling queue freeze lockdepMing Lei1-1/+5
2024-12-23block: track disk DEAD state automatically for modeling queue freeze lockdepMing Lei1-0/+2
2024-12-10block: Prevent potential deadlocks in zone write plug error recoveryDamien Le Moal1-2/+0
2024-12-10dm: Fix dm-zoned-reclaim zone write pointer alignmentDamien Le Moal1-0/+3
2024-11-19block: return bool from get_disk_ro and bdev_read_onlyChristoph Hellwig1-2/+2
2024-11-19block: remove a duplicate definition for bdev_read_onlyChristoph Hellwig1-1/+0
2024-11-19block: return bool from blk_rq_alignedChristoph Hellwig1-1/+1
2024-11-19block: return unsigned int from blk_lim_dma_alignment_and_padChristoph Hellwig1-1/+2
2024-11-19block: return unsigned int from queue_dma_alignmentChristoph Hellwig1-1/+1
2024-11-19block: return unsigned int from bdev_io_optChristoph Hellwig1-1/+1
2024-11-19block: Support atomic writes limits for stacked devicesJohn Garry1-0/+4
2024-11-19block: return unsigned int from bdev_io_minChristoph Hellwig1-1/+1
2024-11-15block: make struct rq_list available for !CONFIG_BLOCKJens Axboe1-1/+1
2024-11-13block: add a rq_list typeChristoph Hellwig1-3/+8
2024-11-13block: export blk_validate_limitsChristoph Hellwig1-0/+1
2024-11-11block: pre-calculate max_zone_append_sectorsChristoph Hellwig1-18/+3
2024-11-07block: always verify unfreeze lock on the owner taskMing Lei1-0/+4
2024-11-07block: Add a public bdev_zone_is_seq() helperDamien Le Moal1-0/+27
2024-11-07block: RCU protect disk->conv_zones_bitmapDamien Le Moal1-1/+1
2024-11-07Revert "block: pre-calculate max_zone_append_sectors"Jens Axboe1-3/+18
2024-11-04block: pre-calculate max_zone_append_sectorsChristoph Hellwig1-18/+3
2024-10-29block: add a bdev_limits helperChristoph Hellwig1-5/+10
2024-10-26block: model freeze & enter queue as lock for supporting lockdepMing Lei1-0/+6
2024-10-22Merge branch 'for-6.13/block-atomic' into for-6.13/blockJens Axboe1-0/+16
2024-10-22block: enable passthrough command statisticsKeith Busch1-0/+5
2024-10-22block: introduce add_disk_fwnode()Christian Marangi1-0/+3
2024-10-19block: Add bdev atomic write limits helpersJohn Garry1-0/+16
2024-09-20block: Remove unused blk_limits_io_{min,opt}Dr. David Alan Gilbert1-2/+0
2024-09-17Merge tag 'v6.11' into for-6.12/blockJens Axboe1-6/+1
2024-08-29block: constify the lim argument to queue_limits_max_zone_append_sectorsChristoph Hellwig1-1/+2
2024-08-19block: Drop NULL check in bdev_write_zeroes_sectors()John Garry1-6/+1
2024-07-22Merge tag 'for-6.11/block-20240722' of git://git.kernel.dk/linuxLinus Torvalds1-15/+16
2024-07-19block: Make QUEUE_FLAG_x as an enumJohn Garry1-13/+16
2024-07-19block: remove QUEUE_FLAG_STOPPEDChristoph Hellwig1-2/+0
2024-07-15Merge tag 'for-6.11/block-20240710' of git://git.kernel.dk/linuxLinus Torvalds1-136/+212
2024-07-09block: Validate logical block size in blk_validate_limits()John Garry1-0/+1
2024-07-05blk-lib: check for kill signal in ioctl BLKZEROOUTChristoph Hellwig1-0/+1
2024-07-05block: Remove REQ_OP_ZONE_RESET_ALL emulationDamien Le Moal1-5/+0
2024-06-28block: simplify queue_logical_block_sizeChristoph Hellwig1-6/+1
2024-06-27block: Delete blk_queue_flag_test_and_set()John Garry1-1/+0
2024-06-26block: move dma_pad_mask into queue_limitsChristoph Hellwig1-4/+8
2024-06-26block: remove the fallback case in queue_dma_alignmentChristoph Hellwig1-1/+1
2024-06-26block: remove disk_update_readaheadChristoph Hellwig1-1/+0
2024-06-26block: convert features and flags to __bitwise typesChristoph Hellwig1-42/+43
2024-06-26block: rename BLK_FEAT_MISALIGNEDChristoph Hellwig1-1/+1
2024-06-24block: fix the blk_queue_nonrot polarityChristoph Hellwig1-1/+1
2024-06-21block: Cleanup block device zone helpersDamien Le Moal1-32/+12
2024-06-21block: Define bdev_nr_zones() as an inline functionDamien Le Moal1-1/+5
2024-06-20block: Add atomic write support for statxPrasad Singamsetty1-2/+4
2024-06-20block: Add core atomic write supportJohn Garry1-0/+55
2024-06-20block: Generalize chunk_sectors support as boundary supportJohn Garry1-6/+7
2024-06-20Merge branch 'for-6.11/block-limits' into for-6.11/blockJens Axboe1-15/+10
2024-06-20block: move the raid_partial_stripes_expensive flag into the features fieldChristoph Hellwig1-2/+5
2024-06-20block: remove the discard_alignment flagChristoph Hellwig1-1/+0
2024-06-20block: move the misaligned flag into the features fieldChristoph Hellwig1-1/+3
2024-06-20block: renumber and rename the cache disabled flagChristoph Hellwig1-3/+3
2024-06-20block: remove the unused blk_bounce enumChristoph Hellwig1-9/+0
2024-06-19Merge branch 'for-6.11/block-limits' into for-6.11/blockJens Axboe1-36/+83
2024-06-19block: move the bounce flag into the features fieldChristoph Hellwig1-2/+4
2024-06-19block: move the skip_tagset_quiesce flag to queue_limitsChristoph Hellwig1-2/+4
2024-06-19block: move the pci_p2pdma flag to queue_limitsChristoph Hellwig1-3/+4
2024-06-19block: move the zone_resetall flag to queue_limitsChristoph Hellwig1-2/+4
2024-06-19block: move the zoned flag into the features fieldChristoph Hellwig1-3/+6
2024-06-19block: move the poll flag to queue_limitsChristoph Hellwig1-1/+3
2024-06-19block: move the dax flag to queue_limitsChristoph Hellwig1-2/+4
2024-06-19block: move the nowait flag to queue_limitsChristoph Hellwig1-4/+5
2024-06-19block: move the synchronous flag to queue_limitsChristoph Hellwig1-3/+4
2024-06-19block: move the stable_writes flag to queue_limitsChristoph Hellwig1-3/+6
2024-06-19block: move the io_stat flag setting to queue_limitsChristoph Hellwig1-4/+5
2024-06-19block: move the add_random flag to queue_limitsChristoph Hellwig1-2/+3
2024-06-19block: move the nonrot flag to queue_limitsChristoph Hellwig1-5/+5
2024-06-19block: move cache control settings out of queue->flagsChristoph Hellwig1-6/+32
2024-06-16block: Drop locking annotation for limits_lockJohn Garry1-1/+0
2024-06-14block: move integrity information into queue_limitsChristoph Hellwig1-8/+4
2024-06-14block: bypass the STABLE_WRITES flag for protection informationChristoph Hellwig1-4/+8
2024-06-14block: remove the blk_integrity_profile structureChristoph Hellwig1-1/+8
2024-06-14block: add special APIs for run-time disabling of discard and friendsChristoph Hellwig1-6/+22
2024-06-14block: remove unused queue limits APIChristoph Hellwig1-24/+0
2024-05-30block: Fix zone write plugging handling of devices with a runt zoneDamien Le Moal1-0/+1
2024-05-21Merge tag 'pull-bd_flags-2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+23
2024-05-21Merge tag 'pull-bd_inode-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-10/+2
2024-05-21Merge tag 'pull-set_blocksize' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2024-05-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-14/+13
2024-05-13Merge tag 'for-6.10/block-20240511' of git://git.kernel.dk/linuxLinus Torvalds1-55/+61
2024-05-07md: 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-05-03block: move two helpers into bdev.cYu Kuai1-10/+2
2024-05-02bdev: move ->bd_read_only to ->__bd_flagsAl Viro1-2/+2
2024-05-02bdev: infrastructure for flagsAl Viro1-1/+16
2024-05-02wrapper for access to ->bd_partnoAl Viro1-1/+6
2024-05-02set_blocksize(): switch to passing struct file *Al Viro1-1/+1
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