aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-table.c
AgeCommit message (Expand)AuthorFilesLines
2025-08-04Merge tag 'for-6.17/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-5/+5
2025-06-23dm: clear unmap write zeroes limits when disabling write zeroesZhang Yi1-1/+3
2025-06-23dm-table: fix checking for rq stackable devicesBenjamin Marzinski1-5/+5
2025-06-03Merge tag 'for-6.16/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-18/+245
2025-06-02dm-table: check BLK_FEAT_ATOMIC_WRITES inside limits_lockBenjamin Marzinski1-1/+1
2025-05-15dm-zone: Use bdev_*() helper functions where applicableBart Van Assche1-2/+2
2025-05-06dm: pass through operations on wrapped inline crypto keysEric Biggers1-0/+177
2025-05-06dm: fix copying after src array boundariesTudor Ambarus1-1/+1
2025-05-04dm-table: Set BLK_FEAT_ATOMIC_WRITES for target queue limitsJohn Garry1-0/+6
2025-05-04dm: remove unneeded kvfree from alloc_targetsBenjamin Marzinski1-1/+0
2025-05-04dm: lock limits when reading themMikulas Patocka1-1/+7
2025-05-04dm: limit swapping tables for devices with zone write plugsBenjamin Marzinski1-5/+36
2025-04-30dm: add missing unlock on in dm_keyslot_evict()Dan Carpenter1-1/+2
2025-04-28dm: always update the array size in realloc_argv on successBenjamin Marzinski1-2/+3
2025-04-11dm: handle failures in dm_table_set_restrictionsBenjamin Marzinski1-9/+17
2025-04-09dm table: Fix W=1 build warning when mempool_needs_integrity is unusedAndy Shevchenko1-3/+0
2025-04-02Merge tag 'for-6.15/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+4
2025-03-14dm: restrict dm device size to 2^63-512 bytesMikulas Patocka1-0/+4
2025-03-03block: split struct bio_integrity_payloadChristoph Hellwig1-6/+0
2025-02-10blk-crypto: add basic hardware-wrapped key supportEric Biggers1-0/+1
2025-01-17dm-table: atomic writes supportJohn Garry1-0/+29
2024-11-20dm: Remove unused dm_table_bio_basedDr. David Alan Gilbert1-5/+0
2024-07-12dm: introduce the target flag mempool_needs_integrityMikulas Patocka1-2/+5
2024-07-10dm: factor out helper function from dm_get_deviceBenjamin Marzinski1-9/+24
2024-06-26dm: optimize flushesMikulas Patocka1-0/+4
2024-06-20Merge branch 'for-6.11/block-limits' into for-6.11/blockJens Axboe1-1/+0
2024-06-20block: remove the discard_alignment flagChristoph Hellwig1-1/+0
2024-06-19Merge branch 'for-6.11/block-limits' into for-6.11/blockJens Axboe1-145/+41
2024-06-19block: move the zoned flag into the features fieldChristoph Hellwig1-5/+6
2024-06-19block: move the poll flag to queue_limitsChristoph Hellwig1-41/+13
2024-06-19block: move the dax flag to queue_limitsChristoph Hellwig1-2/+2
2024-06-19block: move the nowait flag to queue_limitsChristoph Hellwig1-15/+3
2024-06-19block: move the stable_writes flag to queue_limitsChristoph Hellwig1-19/+0
2024-06-19block: move the io_stat flag setting to queue_limitsChristoph Hellwig1-3/+9
2024-06-19block: move the add_random flag to queue_limitsChristoph Hellwig1-18/+0
2024-06-19block: move the nonrot flag to queue_limitsChristoph Hellwig1-12/+0
2024-06-19block: move cache control settings out of queue->flagsChristoph Hellwig1-31/+8
2024-06-15dm: Call dm_revalidate_zones() after setting the queue limitsDamien Le Moal1-4/+11
2024-06-14block: move integrity information into queue_limitsChristoph Hellwig1-134/+27
2024-05-27dm: make dm_set_zones_restrictions work on the queue limitsChristoph Hellwig1-6/+6
2024-05-27dm: move setting zoned_enabled to dm_table_set_restrictionsChristoph Hellwig1-3/+0
2024-05-14Merge tag 'for-6.10/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-15/+12
2024-05-01dm: Check that a zoned table leads to a valid mapped deviceDamien Le Moal1-1/+2
2024-04-23dm: use queue_limits_setChristoph Hellwig1-15/+12
2024-03-11Revert "dm: use queue_limits_set"Linus Torvalds1-12/+15
2024-03-01dm: use queue_limits_setChristoph Hellwig1-15/+12
2024-01-30dm: limit the number of targets and parameter size areaMikulas Patocka1-2/+7
2023-12-19block: remove support for the host aware zone modelChristoph Hellwig1-25/+20
2023-10-31dm error: Add support for zoned block devicesDamien Le Moal1-1/+22
2023-09-14dm: fix a race condition in retrieve_depsMikulas Patocka1-8/+24
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-5/+6
2023-06-05dm: only call early_lookup_bdev from early boot contextChristoph Hellwig1-2/+7
2023-06-05dm: remove dm_get_dev_tChristoph Hellwig1-17/+5
2023-06-05init: improve the name_to_dev_t interfaceChristoph Hellwig1-2/+3
2023-04-26Merge tag 'for-6.4/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+5
2023-04-04dm table: allow targets without devices to set ->io_hintsMikulas Patocka1-1/+5
2023-03-16blk-crypto: make blk_crypto_evict_key() return voidEric Biggers1-14/+5
2023-02-14dm: avoid split of quoted strings where possibleHeinz Mauelshagen1-12/+6
2023-02-14dm: fix trailing statementsHeinz Mauelshagen1-2/+1
2023-02-14dm: fix undue/missing spacesHeinz Mauelshagen1-1/+1
2023-02-14dm: address indent/space issuesHeinz Mauelshagen1-2/+2
2023-02-14dm: avoid assignment in if conditionsHeinz Mauelshagen1-1/+2
2023-02-14dm: change "unsigned" to "unsigned int"Heinz Mauelshagen1-13/+12
2023-02-14dm: add missing SPDX-License-IndentifiersHeinz Mauelshagen1-0/+1
2023-02-12dm table: check that a dm device doesn't reference itselfBenjamin Marzinski1-0/+2
2022-11-21blk-crypto: don't use struct request_queue for public interfacesChristoph Hellwig1-1/+1
2022-10-18dm: change from DMWARN to DMERR or DMCRIT for fatal errorsMikulas Patocka1-39/+39
2022-09-27block: replace blk_queue_nowait with bdev_nowaitChristoph Hellwig1-3/+1
2022-08-02Merge tag 'for-6.0/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-172/+146
2022-07-07dm table: rename dm_target variable in dm_table_add_target()Mike Snitzer1-28/+28
2022-07-07dm table: audit all dm_table_get_target() callersMike Snitzer1-123/+77
2022-07-07dm table: remove dm_table_get_num_targets() wrapperMike Snitzer1-21/+16
2022-07-06block: remove blk_queue_zone_sectorsChristoph Hellwig1-3/+1
2022-07-06block: use bdev_is_zoned instead of open coding itChristoph Hellwig1-1/+1
2022-06-29dm: refactor dm_md_mempool allocationChristoph Hellwig1-16/+41
2022-06-08dm: fix bio_set allocationChristoph Hellwig1-11/+0
2022-05-31dm table: fix dm_table_supports_poll to return false if no data devicesMike Snitzer1-4/+15
2022-05-05dm: conditionally enable branching for less used featuresMike Snitzer1-0/+5
2022-05-05dm: conditionally enable BIOSET_PERCPU_CACHE for dm_io biosetMike Snitzer1-3/+8
2022-04-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig1-5/+3
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-7/+2
2022-04-17block: add a bdev_stable_writes helperChristoph Hellwig1-3/+1
2022-04-17block: add a bdev_nonrot helperChristoph Hellwig1-3/+1
2022-03-24Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-29/+0
2022-03-09dm: support bio pollingMing Lei1-0/+27
2022-03-02dm: stop using bdevnameChristoph Hellwig1-16/+14
2022-02-22scsi: dm: Remove WRITE_SAME supportChristoph Hellwig1-29/+0
2021-12-04dax: remove dax_capableChristoph Hellwig1-11/+11
2021-11-09Merge tag 'for-5.16/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2021-11-01dm table: log table creation error codeMichał Mirosław1-2/+2
2021-11-01Merge tag 'for-5.16/bdev-size-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+1
2021-10-21blk-crypto: rename blk_keyslot_manager to blk_crypto_profileEric Biggers1-86/+82
2021-10-18dm: use bdev_nr_sectors and bdev_nr_bytes instead of open coding themChristoph Hellwig1-2/+1
2021-10-18block: move integrity handling out of <linux/blkdev.h>Christoph Hellwig1-0/+1
2021-09-09Merge tag 'libnvdimm-for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-7/+2
2021-08-26dax: move the dax_read_lock() locking into dax_supportedChristoph Hellwig1-7/+2
2021-08-09block: pass a gendisk to blk_queue_update_readaheadChristoph Hellwig1-1/+1
2021-06-04dm: introduce zone append emulationDamien Le Moal1-5/+14
2021-06-04dm: move zone related code to dm-zone.cDamien Le Moal1-11/+3
2021-06-04dm: cleanup device_area_is_invalid()Damien Le Moal1-1/+1
2021-06-04dm table: Constify static struct blk_ksm_ll_opsRikard Falkeborn1-1/+1
2021-04-19dm: replace dm_vcalloc()Matthew Wilcox (Oracle)1-24/+6
2021-03-22dm table: Fix zoned model check and zone sectors checkShin'ichiro Kawasaki1-8/+25
2021-02-11dm: support key eviction from keyslot managers of underlying devicesSatya Tangirala1-0/+53
2021-02-11dm: add support for passing through inline crypto supportSatya Tangirala1-0/+162
2021-02-09dm table: remove needless request_queue NULL pointer checksJeffle Xu1-11/+11
2021-02-09dm table: fix zoned iterate_devices based device capability checksJeffle Xu1-32/+16
2021-02-09dm table: fix DAX iterate_devices based device capability checksJeffle Xu1-27/+10
2021-02-09dm table: fix iterate_devices based device capability checksJeffle Xu1-46/+51
2021-01-21dm: avoid filesystem lookup in dm_get_dev_t()Hannes Reinecke1-3/+12
2020-12-16Merge tag 'for-5.11/block-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds1-8/+1
2020-12-04dm: fix IO splittingMike Snitzer1-5/+0
2020-12-01block: remove i_bdevChristoph Hellwig1-8/+1
2020-12-01dm table: Remove BUG_ON(in_interrupt())Thomas Gleixner1-6/+0
2020-10-07dm: remove special-casing of bio-based immutable singleton target on NVMeMike Snitzer1-30/+2
2020-09-29dm table: make 'struct dm_table' definition accessible to all of DM coreMike Snitzer1-45/+2
2020-09-29dm table: stack 'chunk_sectors' limit to account for target-specific splittingMike Snitzer1-0/+5
2020-09-29Merge remote-tracking branch 'jens/for-5.10/block' into dm-5.10Mike Snitzer1-6/+37
2020-09-25dm: add support for REQ_NOWAIT and enable it for linear targetKonstantin Khlebnikov1-0/+32
2020-09-25block: add a bdev_is_partition helperChristoph Hellwig1-1/+1
2020-09-24bdi: replace BDI_CAP_STABLE_WRITES with a queue and a sb flagChristoph Hellwig1-3/+3
2020-09-24block: lift setting the readahead size into the block layerChristoph Hellwig1-2/+1
2020-09-20dm: Call proper helper to determine dax supportJan Kara1-3/+7
2020-08-05Merge tag 'for-5.9/block-merge-20200804' of git://git.kernel.dk/linux-blockLinus Torvalds1-20/+2
2020-08-04Merge tag 'uninit-macro-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2020-07-20block: remove bdev_stack_limitsChristoph Hellwig1-1/+2
2020-07-20block: inherit the zoned characteristics in blk_stack_limitsChristoph Hellwig1-19/+0
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-1/+1
2020-07-08writeback: remove bdi->congested_fnChristoph Hellwig1-36/+1
2020-04-25dm: remove the make_request_fn check in device_area_is_invalidChristoph Hellwig1-17/+0
2019-12-03block: don't handle bio based drivers in blk_revalidate_disk_zonesChristoph Hellwig1-5/+7
2019-11-05dm table: do not allow request-based DM to stack on partitionsMike Snitzer1-19/+8
2019-08-23dm: make dm_table_find_target return NULLMikulas Patocka1-5/+3
2019-08-23dm table: fix invalid memory accesses with too high sector numberMikulas Patocka1-1/+4
2019-07-30dm table: fix various whitespace issues with recent DAX codeMike Snitzer1-7/+7
2019-07-30dm table: fix dax_dev NULL dereference in device_synchronous()Pankaj Gupta1-1/+1
2019-07-18Merge tag 'libnvdimm-for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-6/+18
2019-07-05dm: enable synchronous daxPankaj Gupta1-6/+18
2019-06-25dm table: don't copy from a NULL pointer in realloc_argv()Jerome Marchand1-1/+1
2019-05-20dax: Arrange for dax_supported check to span multiple devicesDan Williams1-6/+11
2019-04-01dm table: propagate BDI_CAP_STABLE_WRITES to fix sporadic checksum errorsIlya Dryomov1-0/+39
2019-02-15block: kill QUEUE_FLAG_NO_SG_MERGEMing Lei1-13/+0
2018-12-18dm: do not allow readahead to limit IO sizeJaegeuk Kim1-0/+3
2018-11-16block: add queue_is_mq() helperJens Axboe1-2/+2
2018-10-26Merge tag 'for-4.20/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-34/+12
2018-10-25block: Introduce blk_revalidate_disk_zones()Damien Le Moal1-0/+10
2018-10-18dm: add dm_table_device_name()Michał Mirosław1-0/+6
2018-10-11dm table: require that request-based DM be layered on blk-mq devicesMike Snitzer1-1/+17
2018-10-11dm: rename DM_TYPE_MQ_REQUEST_BASED to DM_TYPE_REQUEST_BASEDMike Snitzer1-6/+1
2018-10-11dm: remove legacy request-based IO pathJens Axboe1-44/+5
2018-06-28dm: prevent DAX mounts if not supportedRoss Zwisler1-3/+4
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+1
2018-06-05overflow.h: Add allocation size calculation helpersKees Cook1-5/+5
2018-04-06Merge tag 'for-4.17/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+31
2018-04-05Merge tag 'for-4.17/block-20180402' of git://git.kernel.dk/linux-blockLinus Torvalds1-8/+8
2018-04-03dm: add support for secure erase forwardingDenis Semakin1-0/+31
2018-03-08block: Use blk_queue_flag_*() in drivers instead of queue_flag_*()Bart Van Assche1-8/+8
2018-03-06dm table: allow upgrade from bio-based to specialized bio-based variantMike Snitzer1-9/+5
2018-03-06dm table: fix "nvme" testMikulas Patocka1-1/+1
2018-01-29dm table: fix NVMe bio-based dm_table_determine_type() validationMike Snitzer1-22/+35
2017-12-20dm: introduce DM_TYPE_NVME_BIO_BASEDMike Snitzer1-6/+48
2017-12-13dm: set QUEUE_FLAG_DAX accordingly in dm_table_set_restrictions()Mike Snitzer1-0/+2
2017-12-13dm: ensure bio-based DM's bioset and io_pool support targets' maximum IOsMike Snitzer1-4/+7
2017-12-04dm table: fix regression from improper dm_dev_internal.count refcount_t conve...Mike Snitzer1-2/+3
2017-11-17Merge tag 'for-4.15/dm-changes-2' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-21/+22
2017-11-16dm: clear all discard attributes in queue_limits when discards are disabledMike Snitzer1-2/+8
2017-11-16dm: discard support requires all targets in a table support discardsMike Snitzer1-19/+14
2017-11-14Merge tag 'for-4.15/dm' of git://git.kernel.org/pub/scm/linux/kernel/git/devi...Linus Torvalds1-3/+3
2017-10-24dm: convert dm_dev_internal.count from atomic_t to refcount_tElena Reshetova1-3/+3
2017-10-05block: remove QUEUE_FLAG_STACKABLEChristoph Hellwig1-14/+1
2017-08-28dm: constify argument arraysEric Biggers1-3/+4
2017-07-26dm, dax: Make sure dm_dax_flush() is called if device supports itVivek Goyal1-0/+35
2017-06-19dm table: add zoned block devices validationDamien Le Moal1-0/+162
2017-05-03Merge tag 'for-4.12/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-38/+61
2017-04-27dm: introduce enum dm_queue_mode to cleanup related codeBart Van Assche1-7/+7
2017-04-27dm: verify suspend_locking assumptions at runtimeBart Van Assche1-0/+4
2017-04-24dm: mark targets that pass integrity dataMikulas Patocka1-0/+7
2017-04-24dm table: replace while loops with for loopsMikulas Patocka1-31/+32
2017-04-08block: remove the discard_zeroes_data flagChristoph Hellwig1-19/+0
2017-04-08dm: support REQ_OP_WRITE_ZEROESChristoph Hellwig1-0/+30
2017-03-07dm table: add flag to allow target to handle its own integrity metadataMilan Broz1-0/+11
2017-02-02block: Use pointer to backing_dev_info from request_queueJan Kara1-1/+1
2016-12-08dm table: simplify dm_table_determine_type()Bart Van Assche1-13/+8
2016-12-08dm table: an 'all_blk_mq' table must be loaded for a blk-mq DM deviceBart Van Assche1-0/+5
2016-12-08dm table: fix 'all_blk_mq' inconsistency when an empty table is loadedMike Snitzer1-6/+13
2016-10-24dm table: fix missing dm_put_target_type() in dm_table_add_target()tang.junhui1-15/+9
2016-07-20dm error: add DAX supportMike Snitzer1-1/+2
2016-07-20dm: add infrastructure for DAX supportToshi Kani1-1/+43
2016-06-10dm mpath: add optional "queue_mode" featureMike Snitzer1-22/+45
2016-06-10dm: move request-based code out to dm-rq.[hc]Mike Snitzer1-1/+1
2016-04-13block: kill off q->flush_flagsJens Axboe1-6/+6
2016-04-12dm: switch to using blk_queue_write_cache()Jens Axboe1-4/+4
2016-03-10dm snapshot: disallow the COW and origin devices from being identicalDingXiang1-12/+24
2016-02-22dm: rename target's per_bio_data_size to per_io_data_sizeMike Snitzer1-3/+3
2016-02-22dm: optimize dm_mq_queue_rq()Mike Snitzer1-0/+10
2016-02-22dm: set DM_TARGET_WILDCARD feature on "error" targetMike Snitzer1-0/+14
2015-10-21block: Inline blk_integrity in struct gendiskMartin K. Petersen1-41/+47
2015-08-19block: Replace SG_GAPS with new queue limits maskKeith Busch1-13/+0
2015-08-13block: kill merge_bvec_fn() completelyKent Overstreet1-8/+0
2015-06-26Revert "block, dm: don't copy bios for request clones"Mike Snitzer1-16/+9