aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-table.c
AgeCommit message (Expand)AuthorFilesLines
5 daysMerge 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
2015-06-26Revert "dm: do not allocate any mempools for blk-mq request-based DM"Mike Snitzer1-2/+2
2015-05-29dm: do not allocate any mempools for blk-mq request-based DMMike Snitzer1-2/+2
2015-05-29Merge remote-tracking branch 'jens/for-4.2/core' into dm-4.2Mike Snitzer1-9/+16
2015-05-29dm: fix reload failure of 0 path multipath mapping on blk-mq devicesJunichi Nomura1-7/+9
2015-05-22block, dm: don't copy bios for request clonesChristoph Hellwig1-9/+16
2015-04-15dm table: use bool function return values of true/false not 1/0Joe Perches1-10/+10
2015-04-15dm table: fall back to getting device using name_to_dev_t()Dan Ehrenberg1-12/+8
2015-04-15dm: add 'use_blk_mq' module param and expose in per-device ro sysfs attrMike Snitzer1-3/+3
2015-04-15dm: add full blk-mq support to request-based DMMike Snitzer1-3/+8
2015-03-31dm: remove request-based DM queue's lld_busy_fn hookMike Snitzer1-14/+0
2015-02-11dm: inherit QUEUE_FLAG_SG_GAPS flags from underlying queuesKeith Busch1-0/+13
2015-02-09dm table: train hybrid target type detection to select blk-mq if appropriateMike Snitzer1-15/+20
2015-02-09dm: allocate requests in target when stacking on blk-mq devicesMike Snitzer1-5/+29
2014-11-19dm: add presuspend_undo hook to target_typeMike Snitzer1-7/+29
2014-10-05dm: allow active and inactive tables to share dm_devsBenjamin Marzinski1-68/+34
2014-08-10dm table: propagate QUEUE_FLAG_NO_SG_MERGEJeff Moyer1-0/+13
2014-08-01dm table: make dm_table_supports_discards staticMikulas Patocka1-36/+37
2014-06-04dm: remove symbol export for dm_set_device_limitsMike Snitzer1-3/+2
2014-03-27dm table: add dm_table_run_md_queue_asyncMike Snitzer1-0/+19
2014-03-27dm: make dm_table_alloc_md_mempools staticMikulas Patocka1-1/+1
2014-01-07dm table: remove unused buggy code that extends the targets arrayMikulas Patocka1-20/+2
2013-12-10dm table: fail dm_table_create on dm_round_up overflowMikulas Patocka1-0/+5
2013-11-09dm table: print error on preresume failureMike Snitzer1-1/+4
2013-10-31dm: allocate buffer for messages with small number of arguments using GFP_NOIOMikulas Patocka1-2/+16
2013-09-05dm ioctl: increase granularity of type_lock when loading tableMike Snitzer1-2/+0
2013-09-05dm: allow error target to replace bio-based and request-based targetsMike Snitzer1-2/+20
2013-07-10dm: optimize use SRCU and RCUMikulas Patocka1-35/+0
2013-05-10dm table: fix write same supportMike Snitzer1-1/+1
2013-03-01dm: rename request variables to biosAlasdair G Kergon1-5/+5
2013-03-01dm table: remove superfluous variable resetWang Sheng-Hui1-1/+0
2012-12-21dm: introduce per_bio_dataMikulas Patocka1-1/+10
2012-12-21dm: prepare to support WRITE SAMEMike Snitzer1-1/+29
2012-12-21dm: disable WRITE SAMEMike Snitzer1-0/+2
2012-09-26dm: retain table limits when swapping to new table with no devicesMike Snitzer1-0/+35
2012-09-26dm table: clear add_random unless all devices have it setMilan Broz1-4/+22
2012-07-27dm: allow targets to request flushes regardless of underlying device supportJoe Thornber1-0/+3
2012-03-28dm: reject trailing characters in sccanf inputMikulas Patocka1-2/+4
2012-03-28dm table: simplify call to free_devicesHannes Reinecke1-2/+1
2012-01-11block: Introduce blk_set_stacking_limits functionMartin K. Petersen1-3/+3
2011-10-31dm table: add immutable featureAlasdair G Kergon1-0/+21
2011-10-31dm table: add always writeable featureAlasdair G Kergon1-0/+6