aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
AgeCommit message (Expand)AuthorFilesLines
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
2015-03-31block: fix blk_stack_limits() regression due to lcm() changeMike Snitzer1-3/+3
2014-10-21block: remove artifical max_hw_sectors capChristoph Hellwig1-3/+1
2014-10-09block: fix alignment_offset math that assumes io_min is a power-of-2Mike Snitzer1-2/+2
2014-06-10block: ensure that bio_add_page() always accepts a page for an empty bioJens Axboe1-1/+4
2014-06-05block: add notion of a chunk size for request mergingJens Axboe1-0/+18
2014-01-08bcache/md: Use raid stripe sizeKent Overstreet1-0/+4
2013-11-14Merge branch 'for-3.13/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2013-11-08block: properly stack underlying max_segment_size to DM deviceMike Snitzer1-0/+1
2013-10-31ARM: 7794/1: block: Rename parameter dma_mask to max_addr for blk_queue_bounc...Santosh Shilimkar1-4/+4
2012-12-14block: discard granularity might not be power of 2Shaohua Li1-3/+3
2012-09-20block: Implement support for WRITE SAMEMartin K. Petersen1-0/+16
2012-08-01block: do not artificially constrain max_sectors for stacking driversMike Snitzer1-2/+1
2012-01-11block: Introduce blk_set_stacking_limits functionMartin K. Petersen1-8/+24
2011-05-18block: Fix discard topology stacking and reportingMartin K. Petersen1-1/+2
2011-05-06block: add a non-queueable flush flagshaohua.li@intel.com1-0/+6
2011-04-18Revert "block: add callback function for unplug notification"Jens Axboe1-16/+0
2011-04-12block: add callback function for unplug notificationJens Axboe1-0/+16
2011-03-10Merge branch 'for-2.6.39/stack-plug' into for-2.6.39/coreJens Axboe1-8/+0
2011-03-10block: remove per-queue pluggingJens Axboe1-8/+0
2011-03-02block: Initialize ->queue_lock to internal lock at queue allocation timeVivek Goyal1-7/+0
2010-12-17block: max hardware sectors limit wrapperMike Snitzer1-6/+20
2010-12-17block: Deprecate QUEUE_FLAG_CLUSTER and use queue_limits insteadMartin K. Petersen1-23/+2
2010-10-22Merge branch 'for-2.6.37/barrier' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-0/+20
2010-10-13block: Ensure physical block size is unsigned intMartin K. Petersen1-1/+1
2010-10-01block: set the bounce_pfn to the actual DMA limit rather than to max memoryMalahal Naineni1-1/+1
2010-10-01block: revert bad fix for memory hotplug causing bouncesJens Axboe1-1/+3
2010-09-24block: set the bounce_pfn to the actual DMA limit rather than to max memoryMalahal Naineni1-3/+1
2010-09-10block/scsi: Provide a limit on the number of integrity segmentsMartin K. Petersen1-0/+3