aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
AgeCommit message (Expand)AuthorFilesLines
2026-05-26block: clear BLK_FEAT_PCI_P2PDMA in blk_stack_limits() for non-supporting dev...Chaitanya Kulkarni1-0/+2
2026-03-14blk-integrity: support arbitrary buffer alignmentKeith Busch1-4/+8
2026-03-09block: make max_integrity_io_size publicChristoph Hellwig1-13/+0
2025-12-18block: validate interval_exp integrity limitCaleb Sander Mateos1-1/+6
2025-12-18block: validate pi_offset integrity limitCaleb Sander Mateos1-4/+3
2025-12-03Merge tag 'for-6.19/block-20251201' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+25
2025-11-11block: add lockdep to queue_limits_commit_update()Chaitanya Kulkarni1-0/+2
2025-11-04block: make bio auto-integrity deadlock safeChristoph Hellwig1-0/+21
2025-10-22block: require LBA dma_alignment when using PIChristoph Hellwig1-0/+10
2025-10-22block: rename min_segment_sizeKeith Busch1-2/+2
2025-09-16block: relax atomic write boundary vs chunk size checkJohn Garry1-40/+26
2025-09-16block: fix stacking of atomic writes when atomics are not supportedJohn Garry1-9/+10
2025-09-16block: update validation of atomic writes boundary for stacked devicesJohn Garry1-8/+14
2025-09-02block: use int to store blk_stack_limits() return valueQianfeng Rong1-1/+2
2025-08-18block: remove newlines from the warnings in blk_validate_integrity_limitsChristoph Hellwig1-6/+3
2025-08-18block: handle pi_tuple_size in queue_limits_stack_integrityChristoph Hellwig1-0/+3
2025-07-31block: ensure discard_granularity is zero when discard is not supportedChristoph Hellwig1-3/+10
2025-07-29block: Enforce power-of-2 physical block sizeJohn Garry1-1/+5
2025-07-29block: avoid possible overflow for chunk_sectors check in blk_stack_limits()John Garry1-1/+1
2025-07-29block: Improve read ahead size for rotational devicesDamien Le Moal1-2/+10
2025-07-28Merge tag 'for-6.17/block-20250728' of git://git.kernel.dk/linuxLinus Torvalds1-23/+39
2025-07-28Merge tag 'vfs-6.17-rc1.integrity' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-3/+41
2025-07-17block: use chunk_sectors when evaluating stacked atomic write limitsJohn Garry1-23/+33
2025-07-17block: sanitize chunk_sectors for atomic write limitsJohn Garry1-0/+6
2025-07-01block: introduce pi_tuple_size field in blk_integrityAnuj Gupta1-0/+38
2025-07-01block: rename tuple_size field in blk_integrity to metadata_sizeAnuj Gupta1-3/+3
2025-06-23block: introduce max_{hw|user}_wzeroes_unmap_sectors to queue limitsZhang Yi1-2/+18
2025-05-05block: remove bounce buffering supportChristoph Hellwig1-5/+0
2025-04-24block: never reduce ra_pages in blk_apply_bdi_limitsChristoph Hellwig1-1/+7
2025-03-26Merge tag 'for-6.15/block-20250322' of git://git.kernel.dk/linuxLinus Torvalds1-30/+28
2025-03-10block: remove q->sysfs_lock for attributes which don't need itNilay Shroff1-1/+1
2025-03-06block: Correctly initialize BLK_INTEGRITY_NOGENERATE and BLK_INTEGRITY_NOVERIFYAnuj Gupta1-0/+1
2025-03-06block: ensure correct integrity capability propagation in stacked devicesAnuj Gupta1-29/+21
2025-03-03block: mark bounce buffering as incompatible with integrityChristoph Hellwig1-0/+5
2025-02-25block: make segment size limit workable for > 4K PAGE_SIZEMing Lei1-3/+11
2025-01-31block: force noio scope in blk_mq_freeze_queueChristoph Hellwig1-2/+3
2025-01-17block: Add common atomic writes enable flagJohn Garry1-2/+4
2025-01-15block: Change blk_stack_atomic_writes_limits() unit_min checkJohn Garry1-1/+1
2025-01-15block: Ensure start sector is aligned for stacking atomic writesJohn Garry1-2/+5
2025-01-10block: add a queue_limits_commit_update_frozen helperChristoph Hellwig1-0/+24
2025-01-10block: fix docs for freezing of queue limits updatesChristoph Hellwig1-1/+2
2024-11-19block: Support atomic writes limits for stacked devicesJohn Garry1-0/+115
2024-11-19block: Add extra checks in blk_validate_atomic_write_limits()John Garry1-0/+17
2024-11-19block: Drop granularity check in queue_limit_discard_alignment()John Garry1-2/+0
2024-11-18blk-settings: round down io_opt to physical_block_sizeMikulas Patocka1-0/+7
2024-11-13block: export blk_validate_limitsChristoph Hellwig1-1/+2
2024-11-11block: pre-calculate max_zone_append_sectorsChristoph Hellwig1-14/+13
2024-11-07Revert "block: pre-calculate max_zone_append_sectors"Jens Axboe1-12/+13
2024-11-04block: pre-calculate max_zone_append_sectorsChristoph Hellwig1-13/+12
2024-11-04block: update blk_stack_limits documentationChristoph Hellwig1-4/+4
2024-10-29block: add a bdev_limits helperChristoph Hellwig1-1/+1
2024-09-20block: Remove unused blk_limits_io_{min,opt}Dr. David Alan Gilbert1-42/+0
2024-07-09block: Validate logical block size in blk_validate_limits()John Garry1-0/+4
2024-07-01block: don't reduce max_sectors based on io_optChristoph Hellwig1-1/+1
2024-07-01block: remove a duplicate io_min check in blk_validate_limitsChristoph Hellwig1-2/+1
2024-06-26block: move dma_pad_mask into queue_limitsChristoph Hellwig1-17/+0
2024-06-26block: remove disk_update_readaheadChristoph Hellwig1-7/+1
2024-06-26block: conding style fixup for blk_queue_max_guaranteed_bioChristoph Hellwig1-2/+1
2024-06-26block: rename BLK_FEAT_MISALIGNEDChristoph Hellwig1-9/+9
2024-06-21block: Fix blk_validate_atomic_write_limits() build for arm32John Garry1-2/+1
2024-06-20block: Add core atomic write supportJohn Garry1-0/+88
2024-06-20Merge branch 'for-6.11/block-limits' into for-6.11/blockJens Axboe1-24/+10
2024-06-20block: move the raid_partial_stripes_expensive flag into the features fieldChristoph Hellwig1-4/+0
2024-06-20block: remove the discard_alignment flagChristoph Hellwig1-10/+0
2024-06-20block: move the misaligned flag into the features fieldChristoph Hellwig1-10/+10
2024-06-19Merge branch 'for-6.11/block-limits' into for-6.11/blockJens Axboe1-28/+18
2024-06-19block: move the bounce flag into the features fieldChristoph Hellwig1-1/+0
2024-06-19block: move the zoned flag into the features fieldChristoph Hellwig1-3/+2
2024-06-19block: move the poll flag to queue_limitsChristoph Hellwig1-4/+6
2024-06-19block: move the nowait flag to queue_limitsChristoph Hellwig1-0/+9
2024-06-19block: move cache control settings out of queue->flagsChristoph Hellwig1-24/+5
2024-06-16block: Drop locking annotation for limits_lockJohn Garry1-1/+0
2024-06-15block: Improve checks on zone resource limitsDamien Le Moal1-0/+8
2024-06-14block: move integrity information into queue_limitsChristoph Hellwig1-6/+112
2024-06-14block: add special APIs for run-time disabling of discard and friendsChristoph Hellwig1-41/+0
2024-06-14block: remove unused queue limits APIChristoph Hellwig1-190/+0
2024-06-14block: take io_opt and io_min into account for max_sectorsChristoph Hellwig1-0/+7
2024-05-28block: check for max_hw_sectors underflowHannes Reinecke1-2/+6
2024-05-28block: stack max_user_sectorsChristoph Hellwig1-0/+2
2024-05-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-245/+0
2024-05-13Merge tag 'for-6.10/block-20240511' of git://git.kernel.dk/linuxLinus Torvalds1-27/+19
2024-05-06block: set default max segment size in case of virt_boundaryMing Lei1-1/+4
2024-04-17block: Remove elevator required featuresDamien Le Moal1-16/+0
2024-04-17block: Allow zero value of max_zone_append_sectors queue limitDamien Le Moal1-11/+19
2024-04-12scsi: block: Remove now unused queue limits helpersChristoph Hellwig1-245/+0
2024-04-07block: allow device to have both virt_boundary_mask and max segment sizeMing Lei1-10/+6
2024-03-26block: don't reject too large max_user_sectors in blk_validate_limitsChristoph Hellwig1-2/+1
2024-03-14block: fix mismatched kerneldoc function nameJiapeng Chong1-1/+1
2024-03-11Revert "dm: use queue_limits_set"Linus Torvalds1-1/+1
2024-03-06block: remove disk_stack_limitsChristoph Hellwig1-24/+0
2024-03-01dm: use queue_limits_setChristoph Hellwig1-1/+1
2024-03-01block: add a queue_limits_stack_bdev helperChristoph Hellwig1-0/+25
2024-03-01block: add a queue_limits_set helperChristoph Hellwig1-0/+18
2024-02-22block: Clear zone limits for a non-zoned stacked queueDamien Le Moal1-0/+4
2024-02-21block: fix virt_boundary handling in blk_validate_limitsChristoph Hellwig1-10/+10
2024-02-13block: add a max_user_discard_sectors queue limitChristoph Hellwig1-3/+15
2024-02-13block: add an API to atomically update queue limitsChristoph Hellwig1-36/+192
2024-02-13block: decouple blk_set_stacking_limits from blk_set_default_limitsChristoph Hellwig1-4/+9
2024-02-13block: refactor disk_update_readaheadChristoph Hellwig1-9/+12
2024-01-04block: floor the discard granularity to the physical block sizeChristoph Hellwig1-0/+3
2023-12-29block: default the discard granularity to sector sizeChristoph Hellwig1-1/+4
2023-12-27block: rename and document BLK_DEF_MAX_SECTORSChristoph Hellwig1-1/+1
2023-12-26blk-wbt: remove the separate write cache trackingChristoph Hellwig1-2/+0
2023-12-19block: simplify disk_set_zonedChristoph Hellwig1-20/+10
2023-12-19block: remove support for the host aware zone modelChristoph Hellwig1-58/+9
2023-12-14block: Use pr_info() instead of printk(KERN_INFO ...)Bart Van Assche1-8/+4
2023-07-17block: don't allow enabling a cache on devices that don't support itChristoph Hellwig1-2/+5
2023-05-29block: fix revalidate performance regressionDamien Le Moal1-1/+2
2023-02-03blk-wbt: move private information from blk-wbt.h to blk-wbt.cChristoph Hellwig1-0/+1
2023-01-29block: save user max_sectors limitKeith Busch1-2/+7
2023-01-29block: make BLK_DEF_MAX_SECTORS unsignedKeith Busch1-1/+1
2022-12-13Merge tag 'for-6.2/block-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds1-3/+3
2022-11-16block: make blk_set_default_limits() privateKeith Busch1-1/+0
2022-11-16block: make dma_alignment a stacking queue_limitKeith Busch1-3/+5
2022-10-25block: Constify most queue limits pointersBart Van Assche1-3/+3
2022-07-06block: pass a gendisk to blk_queue_clear_zone_settingsChristoph Hellwig1-1/+1
2022-07-06block: pass a gendisk to blk_queue_set_zonedChristoph Hellwig1-4/+5
2022-04-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig1-1/+15
2022-04-17block: move {bdev,queue_limit}_discard_alignment out of lineChristoph Hellwig1-0/+35
2022-04-17block: move bdev_alignment_offset and queue_limit_alignment_offset out of lineChristoph Hellwig1-0/+23
2022-02-22scsi: block: Remove REQ_OP_WRITE_SAME supportChristoph Hellwig1-16/+0
2021-10-27block: Fix partition check for host-aware zoned block devicesShin'ichiro Kawasaki1-1/+19
2021-08-23block: add an explicit ->disk backpointer to the request_queueChristoph Hellwig1-4/+4
2021-08-09block: move the bdi from the request_queue to the gendiskChristoph Hellwig1-5/+9
2021-08-09block: pass a gendisk to blk_queue_update_readaheadChristoph Hellwig1-3/+5
2021-08-02block: simplify printing the device names disk_stack_limitsChristoph Hellwig1-9/+3
2021-05-09Merge tag 'block-5.13-2021-05-09' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+0
2021-05-08Revert "bio: limit bio max size"Jens Axboe1-5/+0
2021-05-07Merge tag 'block-5.13-2021-05-07' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+5
2021-05-06include: remove pagemap.h from blkdev.hMatthew Wilcox (Oracle)1-0/+1
2021-05-03bio: limit bio max sizeChangheun Lee1-0/+5
2021-04-06block: refactor the bounce buffering codeChristoph Hellwig1-34/+8
2021-04-06block: remove BLK_BOUNCE_ISA supportChristoph Hellwig1-11/+0
2021-02-23blk-settings: align max_sectors on "logical_block_size" boundaryMikulas Patocka1-0/+12
2021-02-10block: introduce blk_queue_clear_zone_settings()Damien Le Moal1-0/+2
2021-02-10block: introduce zone_write_granularity limitDamien Le Moal1-1/+36
2021-01-24block: use an xarray for disk->part_tblChristoph Hellwig1-1/+1
2020-12-16Merge tag 'for-5.11/drivers-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+18
2020-12-07block: Align max_hw_sectors to logical blocksizeDamien Le Moal1-5/+18
2020-12-01block: use gcd() to fix chunk_sectors limit stackingMike Snitzer1-1/+4
2020-10-13Merge tag 'block-5.10-2020-10-12' of git://git.kernel.dk/linux-blockLinus Torvalds1-12/+28
2020-09-24block: lift setting the readahead size into the block layerChristoph Hellwig1-2/+16
2020-09-23block: allow 'chunk_sectors' to be non-power-of-2Mike Snitzer1-6/+4
2020-09-23block: use lcm_not_zero() when stacking chunk_sectorsMike Snitzer1-4/+8
2020-09-15scsi: sd: sd_zbc: Fix handling of host-aware ZBC disksDamien Le Moal1-0/+46
2020-07-20block: remove blk_queue_stack_limitsChristoph Hellwig1-11/+0
2020-07-20block: remove bdev_stack_limitsChristoph Hellwig1-23/+2
2020-07-20block: inherit the zoned characteristics in blk_stack_limitsChristoph Hellwig1-0/+1
2020-05-12block: Introduce REQ_OP_ZONE_APPENDKeith Busch1-0/+31
2020-04-22block: move dma drain handling to scsiChristoph Hellwig1-37/+0
2020-03-30Merge tag 'for-5.7/drivers-2020-03-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+3
2020-03-27block: simplify queue allocationChristoph Hellwig1-36/+0
2020-03-17block: keep bdi->io_pages in sync with max_sectors_kb for stacked devicesKonstantin Khlebnikov1-0/+3
2020-01-15block: fix an integer overflow in logical block sizeMikulas Patocka1-1/+1
2019-09-19Merge tag 'dma-mapping-5.4' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds1-0/+23
2019-09-05block: Introduce elevator featuresDamien Le Moal1-0/+16
2019-09-03block: add a helper function to merge the segmentsYoshihiro Shimoda1-0/+23
2019-08-28block/rq_qos: implement rq_qos_ops->queue_depth_changed()Tejun Heo1-1/+1
2019-07-26block: fix max segment size handling in blk_queue_virt_boundaryChristoph Hellwig1-1/+2
2019-05-23block: force an unlimited segment size on queues with a virt boundaryChristoph Hellwig1-0/+11
2019-04-30block: remove the unused blk_queue_dma_pad functionChristoph Hellwig1-16/+0
2019-04-30block: add SPDX tags to block layer files missing licensing informationChristoph Hellwig1-0/+1
2019-02-09block: kill QUEUE_FLAG_FLUSH_NQJens Axboe1-9/+0
2018-12-28Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-3/+0
2018-12-18scsi: block: remove the cluster flagChristoph Hellwig1-3/+0
2018-11-15block: use atomic bitops for ->queue_flagsChristoph Hellwig1-6/+4
2018-11-07block: get rid of q->softirq_done_fn()Jens Axboe1-6/+0
2018-11-07block: kill legacy parts of timeout handlingJens Axboe1-7/+0
2018-11-07block: remove dead elevator codeJens Axboe1-36/+0
2018-11-07block: remove q->lld_busy_fn()Jens Axboe1-6/+0
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+1
2018-07-24block: allow max_discard_segments to be stackedMike Snitzer1-1/+1
2018-07-09blk-rq-qos: refactor out common elements of blk-wbtJosef Bacik1-2/+2
2018-03-08block: Introduce blk_queue_flag_{set,clear,test_and_{set,clear}}()Bart Van Assche1-4/+2
2018-03-08block: Use the queue_flag_*() functions instead of open-coding theseBart Van Assche1-2/+2
2017-11-10block: remove __bio_kmap_atomicChristoph Hellwig1-1/+1
2017-08-23block: Warn if blk_queue_rq_timed_out() is called for a blk-mq queueBart Van Assche1-0/+1
2017-06-27block: don't bother with bounce limits for make_request driversChristoph Hellwig1-5/+0
2017-04-08block: remove the discard_zeroes_data flagChristoph Hellwig1-3/+0
2017-02-08block: optionally merge discontiguous discard bios into a single requestChristoph Hellwig1-0/+20
2017-02-02block: Use pointer to backing_dev_info from request_queueJan Kara1-1/+1
2016-12-13Merge branch 'for-4.10/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+38
2016-12-12mm: don't cap request size based on read-ahead settingJens Axboe1-0/+1
2016-12-01block: add support for REQ_OP_WRITE_ZEROESChaitanya Kulkarni1-0/+17
2016-11-10block: hook up writeback throttlingJens Axboe1-0/+4
2016-11-05block: add code to track actual device queue depthJens Axboe1-0/+12
2016-10-18block: update chunk_sectors in blk_stack_limits()Hannes Reinecke1-0/+4
2016-10-18block: Add 'zoned' queue limitDamien Le Moal1-0/+1
2016-04-13block: kill off q->flush_flagsJens Axboe1-8/+10
2016-04-12block: kill blk_queue_flush()Jens Axboe1-20/+0
2016-04-12block: add ability to flag write back caching on a deviceJens Axboe1-0/+26
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-6/+6
2016-02-11block: Initialize max_dev_sectors to 0Keith Busch1-2/+2
2015-11-25block/sd: Fix device-imposed transfer length limitsMartin K. Petersen1-20/+16
2015-09-02Merge branch 'for-4.3/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-23/+21
2015-08-19block: Replace SG_GAPS with new queue limits maskKeith Busch1-0/+14
2015-08-18Revert "block: remove artifical max_hw_sectors cap"Jeff Moyer1-1/+3
2015-08-13block: kill merge_bvec_fn() completelyKent Overstreet1-22/+0
2015-08-12sd: Fix maximum I/O size for BLOCK_PC requestsMartin K. Petersen1-2/+2
2015-07-17block: make /sys/block/<dev>/queue/discard_max_bytes writeableJens Axboe1-0/+4