aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-20dm: fix failure when empty flush's bi_sector points beyond the device endMikulas Patocka1-1/+1
2025-10-03Merge tag 'for-6.18/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-13/+32
2025-09-18dm: optimize REQ_PREFLUSH with data when using the linear targetMikulas Patocka1-8/+24
2025-08-26dm: fix NULL pointer dereference in __dm_suspend()Zheng Qixing1-3/+4
2025-08-26dm: fix queue start/stop imbalance under suspend/load/resume racesZheng Qixing1-3/+5
2025-08-13block: switch ->getgeo() to struct gendiskAl Viro1-2/+2
2025-08-04Merge tag 'for-6.17/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-9/+2
2025-07-31Merge tag 'mm-stable-2025-07-30-15-25' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2025-07-17dm: split write BIOs on zone boundaries when zone append is not emulatedShin'ichiro Kawasaki1-11/+7
2025-07-09mm: remove callers of pfn_t functionalityAlistair Popple1-1/+1
2025-06-30dm: Check for forbidden splitting of zone write operationsDamien Le Moal1-4/+13
2025-06-30dm: Always split write BIOs to zoned device limitsDamien Le Moal1-7/+22
2025-06-30block: Introduce bio_needs_zone_write_plugging()Damien Le Moal1-1/+3
2025-06-27dm: Simplify dm_io_complete()Damien Le Moal1-9/+2
2025-05-04dm: Allow .prepare_ioctl to handle ioctls directlyKevin Wolf1-6/+11
2025-05-04dm: use generic functions instead of disable_discard and disable_write_zeroesMikulas Patocka1-18/+2
2025-05-04dm: limit swapping tables for devices with zone write plugsBenjamin Marzinski1-0/+6
2025-04-11dm: free table mempools if not used in __bindBenjamin Marzinski1-4/+4
2025-04-11dm: don't change md if dm_table_set_restrictions() failsBenjamin Marzinski1-10/+12
2025-02-24dm: fix unconditional IO throttle caused by REQ_PREFLUSHJinliang Zheng1-2/+6
2025-01-17dm: Ensure cloned bio is same length for atomic writeJohn Garry1-0/+3
2025-01-17dm: disable REQ_NOWAIT for flushesMikulas Patocka1-0/+9
2025-01-17dm: remove useless test in alloc_multiple_biosMikulas Patocka1-10/+9
2024-11-20dm: add support for get_unique_idBenjamin Coddington1-0/+55
2024-11-20dm: Remove unused dm_set_md_typeDr. David Alan Gilbert1-6/+0
2024-10-15dm: fix a crash if blk_alloc_disk failsMikulas Patocka1-1/+3
2024-09-15Revert "dm: requeue IO if mapping table not yet available"Mikulas Patocka1-3/+8
2024-08-13dm suspend: return -ERESTARTSYS instead of -EINTRMikulas Patocka1-2/+2
2024-07-22Merge tag 'for-6.11/block-post-20240722' of git://git.kernel.dk/linuxLinus Torvalds1-0/+1
2024-07-19Merge tag 'for-6.11/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-16/+38
2024-07-10dm: Remove max_secure_erase_granularityDamien Le Moal1-2/+0
2024-07-10dm: Remove max_write_zeroes_granularityDamien Le Moal1-2/+0
2024-07-05dm: handle REQ_OP_ZONE_RESET_ALLDamien Le Moal1-3/+132
2024-07-05dm: Refactor is_abnormal_io()Damien Le Moal1-13/+11
2024-07-03block: split integrity support out of bio.hChristoph Hellwig1-0/+1
2024-06-26dm: optimize flushesMikulas Patocka1-12/+38
2024-06-20block: Generalize chunk_sectors support as boundary supportJohn Garry1-1/+1
2024-06-19block: move the io_stat flag setting to queue_limitsChristoph Hellwig1-10/+3
2024-05-21Merge tag 'for-6.10/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2024-05-20dm: always manage discard support in terms of max_hw_discard_sectorsMike Snitzer1-1/+1
2024-05-13Merge tag 'for-6.10/block-20240511' of git://git.kernel.dk/linuxLinus Torvalds1-23/+49
2024-04-17dm: Use the block layer zone append emulationDamien Le Moal1-23/+49
2024-04-16dm: restore synchronous close of device mapper block deviceMing Lei1-2/+8
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-8/+9
2024-03-13Merge tag 'for-6.9/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-7/+21
2024-03-12dm: call the resume method on internal suspendMikulas Patocka1-6/+20
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-2/+2
2024-02-25md: port block device access to fileChristian Brauner1-10/+13
2024-02-22dm: treat alloc_dax() -EOPNOTSUPP failure as non-fatalMathieu Desnoyers1-8/+9
2024-02-20dm: update relevant MODULE_AUTHOR entries to latest dm-devel mailing listMike Snitzer1-1/+1
2024-02-19block: pass a queue_limits argument to blk_alloc_diskChristoph Hellwig1-2/+2
2023-11-18bdev: rename freeze and thaw helpersChristian Brauner1-2/+2
2023-11-01Merge tag 'for-6.7/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-48/+73
2023-10-28dm: Convert to bdev_open_by_dev()Jan Kara1-9/+11
2023-10-27dm: respect REQ_NOWAIT flag in normal bios issued to DMMike Snitzer1-11/+29
2023-10-27dm: enhance alloc_multiple_bios() to be more versatileMike Snitzer1-34/+34
2023-10-23dm: make __send_duplicate_bios return unsigned intMikulas Patocka1-2/+2
2023-10-06dm: shortcut the calls to linear_map and stripe_mapMikulas Patocka1-2/+9
2023-09-15dm: don't attempt to queue IO under RCU protectionJens Axboe1-21/+2
2023-06-30Merge tag 'for-6.5/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-26/+32
2023-06-30Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+69
2023-06-27Merge tag 'wq-for-6.5-cleanup-ordered' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-10/+10
2023-06-16dm: skip dm-stats work in alloc_io() unless neededMike Snitzer1-1/+2
2023-06-16dm: avoid needless dm_io access if all IO accounting is disabledMike Snitzer1-22/+21
2023-06-16dm: support turning off block-core's io stats accountingLi Nan1-5/+11
2023-06-15dm: use op specific max_sectors when splitting abnormal ioMike Snitzer1-9/+16
2023-06-15dm: don't lock fs when the map is NULL during suspend or resumeLi Lingfeng1-0/+4
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-5/+5
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-3/+3
2023-06-12block: remove the unused mode argument to ->releaseChristoph Hellwig1-1/+1
2023-06-12block: pass a gendisk to ->openChristoph Hellwig1-2/+2
2023-06-05block: introduce holder opsChristoph Hellwig1-1/+1
2023-05-25dm integrity: Use alloc_ordered_workqueue() to create ordered workqueuesTejun Heo1-1/+1
2023-05-22Merge patch series "Use block pr_ops in LIO"Martin K. Petersen1-0/+69
2023-04-14dm: unexport dm_get_queue_limits()Mike Snitzer1-11/+9
2023-04-14dm: allow targets to require splitting WRITE_ZEROES and SECURE_ERASEMike Snitzer1-4/+6
2023-04-11dm: Add support for block PR read keys/reservationMike Christie1-0/+69
2023-03-30dm: split discards further if target sets max_discard_granularityMike Snitzer1-6/+19
2023-03-30dm: fix __send_duplicate_bios() to always allow for splitting IOMike Snitzer1-0/+2
2023-03-30dm: fix improper splitting for abnormal biosMike Snitzer1-3/+4
2023-03-24Merge tag 'for-6.3/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+3
2023-03-16dm stats: check for and propagate alloc_percpu failureJiasheng Jiang1-1/+3
2023-03-15block: count 'ios' and 'sectors' when io is done for bio-based deviceYu Kuai1-3/+3
2023-02-20dm: remove unnecessary (void*) conversion in event_callback()XU pengfei1-1/+1
2023-02-16dm: add cond_resched() to dm_wq_requeue_work()Mike Snitzer1-0/+1
2023-02-16dm: add cond_resched() to dm_wq_work()Pingfan Liu1-0/+1
2023-02-14dm: remove flush_scheduled_work() during local_exit()Mike Snitzer1-1/+0
2023-02-14dm: add missing blank line after declarations/fix thoseHeinz Mauelshagen1-0/+5
2023-02-14dm: avoid using symbolic permissionsHeinz Mauelshagen1-3/+3
2023-02-14dm: correct block comments format.Heinz Mauelshagen1-4/+8
2023-02-14dm: avoid initializing static variablesHeinz Mauelshagen1-2/+2
2023-02-14dm: change "unsigned" to "unsigned int"Heinz Mauelshagen1-26/+24
2023-02-14dm: use fsleep() instead of msleep() for deterministic sleep durationHeinz Mauelshagen1-4/+4
2023-02-14dm: add missing SPDX-License-IndentifiersHeinz Mauelshagen1-0/+1
2023-02-14dm: send just one event on resize, not twoMikulas Patocka1-14/+13
2023-01-04block: handle bio_split_to_limits() NULL returnJens Axboe1-0/+2
2022-11-16dm: track per-add_disk holder relations in DMChristoph Hellwig1-10/+39
2022-11-16dm: make sure create and remove dm device won't race with open and close tableYu Kuai1-0/+16
2022-11-16dm: cleanup close_table_deviceChristoph Hellwig1-9/+3
2022-11-16dm: cleanup open_table_deviceChristoph Hellwig1-29/+27
2022-11-16dm: remove free_table_devicesChristoph Hellwig1-14/+1
2022-10-18dm: remove unnecessary assignment statement in alloc_dev()Genjian Zhang1-1/+0
2022-10-18dm: change from DMWARN to DMERR or DMCRIT for fatal errorsMikulas Patocka1-4/+4
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2022-08-02block: move ->bio_split to the gendiskChristoph Hellwig1-1/+1
2022-08-02block: change the blk_queue_split calling conventionChristoph Hellwig1-3/+3
2022-08-02Merge tag 'for-6.0/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-171/+291
2022-07-28dm: fix dm-raid crash if md_handle_request() splits bioMike Snitzer1-7/+6
2022-07-28dm: Start pr_preempt from the same starting pathMike Christie1-14/+31
2022-07-28dm: Fix PR release handling for non All RegistrantsMike Christie1-14/+34
2022-07-28dm: Start pr_reserve from the same starting pathMike Christie1-14/+32
2022-07-28dm: Allow dm_call_pr to be used for path searchesMike Christie1-12/+38
2022-07-28dm: return early from dm_pr_call() if DM device is suspendedMike Snitzer1-0/+5
2022-07-17dax: introduce holder for dax_deviceShiyang Ruan1-1/+1
2022-07-14dm/core: Combine request operation type and flagsBart Van Assche1-5/+5
2022-07-14block: Change the type of req_op() and bio_op() into enum req_opBart Van Assche1-0/+2
2022-07-07dm table: audit all dm_table_get_target() callersMike Snitzer1-11/+11
2022-07-07dm table: remove dm_table_get_num_targets() wrapperMike Snitzer1-2/+2
2022-07-07dm: add two stage requeue mechanismMing Lei1-27/+94
2022-07-06block: use bdev_is_zoned instead of open coding itChristoph Hellwig1-1/+1
2022-06-29dm: improve BLK_STS_DM_REQUEUE and BLK_STS_AGAIN handlingMing Lei1-25/+45
2022-06-29dm: refactor dm_md_mempool allocationChristoph Hellwig1-52/+0
2022-06-28block: remove blk_cleanup_diskChristoph Hellwig1-1/+1
2022-06-27dm: open code blk_max_size_offset in max_io_lenChristoph Hellwig1-11/+6
2022-06-23dm: fix BLK_STS_DM_REQUEUE handling when dm_io represents split bioMing Lei1-4/+7
2022-06-21dm: do not return early from dm_io_complete if BLK_STS_AGAIN without pollingMike Snitzer1-1/+3
2022-06-16dm: fix narrow race for REQ_NOWAIT bios being issued despite no supportMikulas Patocka1-1/+6
2022-06-16dm: fix use-after-free in dm_put_live_table_bioMikulas Patocka1-6/+7
2022-06-15dm: fix race in dm_start_io_acctBenjamin Marzinski1-0/+4
2022-06-10dm: fix zoned locking imbalance due to needless check in clone_endioMike Snitzer1-15/+11
2022-06-08dm: fix bio_set allocationChristoph Hellwig1-59/+25
2022-05-27Merge tag 'libnvdimm-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+23
2022-05-16dax: add .recovery_write dax_operationJane Chu1-0/+20
2022-05-16dax: introduce DAX_RECOVERY_WRITE dax access modeJane Chu1-2/+3
2022-05-11dm: pass NULL bdev to bio_alloc_cloneMike Snitzer1-16/+24
2022-05-05dm: improve abnormal bio processingMike Snitzer1-31/+36
2022-05-05dm: simplify bio-based IO accounting furtherMike Snitzer1-29/+5
2022-05-05dm: put all polled dm_io instances into a single listMing Lei1-25/+27
2022-05-05dm: improve dm_io reference countingMing Lei1-14/+39
2022-05-05dm: don't grab target io reference in dm_zone_map_bioMing Lei1-1/+6
2022-05-05dm: improve bio splitting and associated IO accountingMing Lei1-23/+52
2022-05-05dm: switch to bdev based IO accounting interfacesMing Lei1-15/+13
2022-05-05dm: pass dm_io instance to dm_io_acct directlyMing Lei1-4/+7
2022-05-05dm: don't pass bio to __dm_start_io_acct and dm_end_io_acctMing Lei1-11/+8
2022-05-05dm: use bio_sectors in dm_aceept_partial_bioMike Snitzer1-5/+5
2022-05-05dm: conditionally enable branching for less used featuresMike Snitzer1-23/+40
2022-05-05dm: introduce dm_{get,put}_live_table_bio called from dm_submit_bioMike Snitzer1-4/+24
2022-05-05dm: add local variables to clone_endio and __map_bioMike Snitzer1-13/+12
2022-05-05dm: mark various branches unlikelyMike Snitzer1-3/+3
2022-05-05dm: simplify dm_start_io_acctMike Snitzer1-13/+5
2022-05-05dm: simplify dm_io access in dm_split_and_process_bioMike Snitzer1-6/+8
2022-05-05dm: factor out dm_io_set_error and __dm_io_dec_pendingMike Snitzer1-28/+36
2022-05-05dm: conditionally enable BIOSET_PERCPU_CACHE for dm_io biosetMike Snitzer1-4/+4
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-2/+1
2022-04-15dm: fix bio length of empty flushShin'ichiro Kawasaki1-0/+1
2022-04-14dm: allow dm_accept_partial_bio() for dm_io without duplicate biosMike Snitzer1-11/+6
2022-04-01dm: fix bio polling to handle possibile BLK_STS_AGAINMing Lei1-7/+13
2022-03-24Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-15/+0
2022-03-24Merge tag 'for-5.18/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-215/+458
2022-03-21Merge tag 'for-5.18/block-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-111/+61
2022-03-21dm: consolidate spinlocks in dm_io structMike Snitzer1-6/+5
2022-03-21dm: switch dm_target_io booleans over to proper flagsMike Snitzer1-12/+19
2022-03-21dm: switch dm_io booleans over to proper flagsMike Snitzer1-12/+18
2022-03-10dm: return void from __send_empty_flushMike Snitzer1-3/+2
2022-03-10dm: factor out dm_io_completeMike Snitzer1-72/+77
2022-03-10dm: simplify dm_sumbit_bio_remap interfaceMike Snitzer1-4/+4
2022-03-10dm: add WARN_ON_ONCE to dm_submit_bio_remapMike Snitzer1-1/+3
2022-03-09dm: support bio pollingMing Lei1-3/+140
2022-02-22scsi: dm: Remove WRITE_SAME supportChristoph Hellwig1-15/+0
2022-02-22dm: remove unnecessary local variables in __bindMike Snitzer1-5/+2
2022-02-22dm: requeue IO if mapping table not yet availableMike Snitzer1-8/+3
2022-02-22dm: fix use-after-free in dm_cleanup_zoned_dev()Kirill Tkhai1-1/+1
2022-02-21dm: add dm_submit_bio_remap interfaceMike Snitzer1-20/+107
2022-02-21dm: flag clones created by __send_duplicate_biosMike Snitzer1-20/+28
2022-02-21dm: move duplicate code from callers of alloc_tio into alloc_tioMike Snitzer1-14/+13
2022-02-21dm: record old_sector in dm_target_io before calling map functionMike Snitzer1-3/+4
2022-02-21dm: remove legacy code only needed before submit_bio recursionMike Snitzer1-9/+2
2022-02-21dm: remove unused mapped_device argument from free_tioMike Snitzer1-2/+2
2022-02-21dm: remove impossible BUG_ON in __send_empty_flushMike Snitzer1-1/+0
2022-02-21dm: reduce code duplication in __map_bioMike Snitzer1-12/+6
2022-02-21dm: refactor dm_split_and_process_bio a bitMike Snitzer1-26/+28
2022-02-21dm: fold __clone_and_map_data_bio into __split_and_process_bioMike Snitzer1-22/+8
2022-02-21dm: rename split functionsMike Snitzer1-11/+11
2022-02-21dm: eliminate copying of dm_io fields in dm_io_dec_pendingMike Snitzer1-12/+7
2022-02-21dm stats: fix too short end duration_ns when using precise_timestampsMike Snitzer1-0/+2
2022-02-21dm: fix double accounting of flush with dataMike Snitzer1-14/+33
2022-02-21dm: interlock pending dm_io and dm_wait_for_bios_completionMike Snitzer1-12/+23
2022-02-17block: fix surprise removal for drivers calling blk_set_queue_dyingChristoph Hellwig1-1/+1
2022-02-04block: pass a block_device to bio_clone_fastChristoph Hellwig1-3/+3
2022-02-04dm: use bio_clone_fast in alloc_io/alloc_tioChristoph Hellwig1-9/+3
2022-02-04block: clone crypto and integrity data in __bio_clone_fastChristoph Hellwig1-27/+6
2022-02-04dm: simplify the single bio fast path in __send_duplicate_biosChristoph Hellwig1-12/+14
2022-02-04dm: retun the clone bio from alloc_tioChristoph Hellwig1-20/+19
2022-02-04dm: pass the bio instead of tio to __map_bioChristoph Hellwig1-6/+4
2022-02-04dm: move cloning the bio into alloc_tioChristoph Hellwig1-12/+10
2022-02-04dm: fold __send_duplicate_bios into __clone_and_map_simple_bioChristoph Hellwig1-16/+11
2022-02-04dm: fold clone_bio into __clone_and_map_data_bioChristoph Hellwig1-26/+17
2022-02-04dm: add a clone_to_tio helperChristoph Hellwig1-19/+15
2022-02-02block: pass a block_device and opf to bio_initChristoph Hellwig1-3/+2