aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
AgeCommit message (Expand)AuthorFilesLines
5 daysMerge 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
2022-02-02block: pass a block_device and opf to bio_alloc_biosetChristoph Hellwig1-2/+3
2022-02-02dm: bio_alloc can't fail if it is allowed to sleepChristoph Hellwig1-2/+0
2022-01-28dm: properly fix redundant bio-based IO accountingMike Snitzer1-2/+3
2022-01-28dm: revert partial fix for redundant bio-based IO accountingMike Snitzer1-15/+0
2022-01-12Merge tag 'libnvdimm-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-77/+12
2021-12-18dax: remove the copy_from_iter and copy_to_iter methodsChristoph Hellwig1-50/+2
2021-12-18dax: remove the DAXDEV_F_SYNC flagChristoph Hellwig1-1/+1
2021-12-04dax: return the partition offset from fs_dax_get_by_bdevChristoph Hellwig1-2/+2
2021-12-04dax: remove dax_capableChristoph Hellwig1-21/+0
2021-12-04dax: simplify the dax_device <-> gendisk associationChristoph Hellwig1-2/+4
2021-12-04dm: make the DAX support depend on CONFIG_FS_DAXChristoph Hellwig1-1/+1
2021-12-04dm: fix alloc_dax error handling in alloc_devChristoph Hellwig1-1/+3
2021-11-29block: remove GENHD_FL_EXT_DEVTChristoph Hellwig1-0/+1
2021-11-09Merge tag 'for-5.16/block-2021-11-09' of git://git.kernel.dk/linux-blockLinus Torvalds1-10/+0
2021-11-09Merge tag 'for-5.16/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2021-11-02dm: don't stop request queue after the dm device is suspendedMing Lei1-10/+0
2021-11-01dm: make workqueue names device-specificMichał Mirosław1-1/+1
2021-11-01dm: add add_disk() error handlingLuis Chamberlain1-1/+3
2021-11-01Merge tag 'for-5.16/drivers-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+3
2021-10-21blk-crypto: rename blk_keyslot_manager to blk_crypto_profileEric Biggers1-4/+4
2021-10-21blk-crypto: rename keyslot-manager files to blk-crypto-profileEric Biggers1-1/+1
2021-10-21dm: add add_disk() error handlingLuis Chamberlain1-1/+3
2021-10-18block: switch polling to be bio basedChristoph Hellwig1-18/+10
2021-10-12dm: fix mempool NULL pointer race when completing IOJiazi Li1-7/+10
2021-09-09Merge tag 'libnvdimm-for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2021-08-26dm: use fs_dax_get_by_bdev instead of dax_get_by_hostChristoph Hellwig1-1/+1
2021-08-20dm ima: add a warning in dm_init if duplicate ima events are not measuredTushar Sugandhi1-3/+6
2021-08-10dm ima: measure data on table loadTushar Sugandhi1-0/+3
2021-08-09dm: delay registering the gendiskChristoph Hellwig1-12/+11
2021-08-09dm: move setting md->type into dm_setup_md_queueChristoph Hellwig1-2/+3
2021-08-09dm: cleanup cleanup_mapped_deviceChristoph Hellwig1-5/+1
2021-06-30Merge tag 'for-5.14/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-153/+55
2021-06-30Merge tag 'for-5.14/block-2021-06-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-9/+7
2021-06-18sched: Change task_struct::statePeter Zijlstra1-3/+3
2021-06-04dm: introduce zone append emulationDamien Le Moal1-15/+23
2021-06-04dm: rearrange core declarations for extended use from dm-zone.cDamien Le Moal1-52/+7
2021-06-04dm: Forbid requeue of writes to zonesDamien Le Moal1-6/+19
2021-06-04dm: move zone related code to dm-zone.cDamien Le Moal1-78/+0
2021-06-04dm: Fix dm_accept_partial_bio() relative to zone management commandsDamien Le Moal1-2/+6
2021-06-01dm: convert to blk_alloc_disk/blk_cleanup_diskChristoph Hellwig1-9/+7