aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap.c
AgeCommit message (Expand)AuthorFilesLines
3 daysdm: always manage discard support in terms of max_hw_discard_sectorsMike Snitzer1-1/+1
2024-03-20dm snapshot: fix lockup in dm_exception_table_exitMikulas Patocka1-1/+3
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-2/+2
2023-06-05dm-snap: simplify the origin_dev == cow_dev check in snapshot_ctrChristoph Hellwig1-9/+5
2023-04-11dm: push error reporting down to dm_register_target()Yangtao Li1-9/+3
2023-02-14dm: avoid split of quoted strings where possibleHeinz Mauelshagen1-14/+7
2023-02-14dm: add missing empty linesHeinz Mauelshagen1-0/+7
2023-02-14dm: avoid spaces before function arguments or in favour of tabsHeinz Mauelshagen1-3/+3
2023-02-14dm: fix trailing statementsHeinz Mauelshagen1-2/+1
2023-02-14dm: fix undue/missing spacesHeinz Mauelshagen1-3/+3
2023-02-14dm: correct block comments format.Heinz Mauelshagen1-3/+4
2023-02-14dm: change "unsigned" to "unsigned int"Heinz Mauelshagen1-17/+17
2023-02-14dm: use fsleep() instead of msleep() for deterministic sleep durationHeinz Mauelshagen1-3/+3
2023-02-14dm: add missing SPDX-License-IndentifiersHeinz Mauelshagen1-0/+1
2022-07-07dm snapshot: fix typo in snapshot_map() commentZhang Jiaming1-1/+1
2022-02-02dm-snap: use blkdev_issue_flush instead of open coding itChristoph Hellwig1-20/+1
2021-08-10dm: update target status functions to support IMA measurementTushar Sugandhi1-0/+13
2021-05-25dm snapshot: properly fix a crash when an origin has no snapshotsMikulas Patocka1-1/+1
2021-05-25dm snapshot: revert "fix a crash when an origin has no snapshots"Mikulas Patocka1-2/+3
2021-05-13dm snapshot: fix crash with transient storage and zero chunk sizeMikulas Patocka1-0/+1
2021-05-10dm snapshot: fix a crash when an origin has no snapshotsMikulas Patocka1-3/+2
2021-04-19dm: replace dm_vcalloc()Matthew Wilcox (Oracle)1-2/+3
2021-01-06dm snapshot: flush merged data before committing metadataAkilesh Kailash1-0/+24
2020-07-01block: rename generic_make_request to submit_bio_noacctChristoph Hellwig1-3/+3
2020-01-07dm snapshot: use true/false for bool variablezhengbin1-3/+3
2019-10-10dm snapshot: rework COW throttling to fix deadlockMikulas Patocka1-14/+64
2019-10-10dm snapshot: introduce account_start_copy() and account_end_copy()Mikulas Patocka1-5/+15
2019-07-17dm snapshot: fix oversights in optional discard supportMike Snitzer1-0/+10
2019-07-12dm snapshot: add optional discard support featuresMike Snitzer1-21/+165
2019-04-18dm snapshot: Use fine-grained locking schemeNikos Tsironis1-40/+44
2019-04-18dm snapshot: Make exception tables scalableNikos Tsironis1-23/+114
2019-04-18dm snapshot: Replace mutex with rw semaphoreNikos Tsironis1-45/+43
2019-04-18dm snapshot: Don't sleep holding the snapshot lockNikos Tsironis1-37/+65
2019-03-05dm snapshot: don't define direct_access if we don't support itMikulas Patocka1-8/+0
2018-12-18dm snapshot: Fix excessive memory usage and workqueue stallsNikos Tsironis1-0/+22
2018-08-08dm snapshot: remove stale FIXME in snapshot_map()Mike Snitzer1-2/+0
2018-08-08dm snapshot: improve performance by switching out_of_order_list to rbtreeDavid Jeffery1-13/+26
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-4/+5
2018-06-05dm: Use kzalloc for all structs with embedded biosets/mempoolsKent Overstreet1-1/+1
2018-05-30dm: convert to bioset_init()/mempool_init()Kent Overstreet1-9/+8
2018-01-17dm snapshot: use mutex instead of rw_semaphoreMikulas Patocka1-41/+43
2017-12-04dm: fix various targets to dm_register_target after module __init resources c...monty_pavel@sina.com1-24/+24
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-8/+8
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-2/+3
2017-06-09dm: change ->end_io calling conventionChristoph Hellwig1-2/+2
2017-06-09dm: don't return errnos from ->mapChristoph Hellwig1-4/+4
2017-04-25dm: teach dm-targets to use a dax_device + dax_operationsDan Williams1-3/+3
2016-08-07block: rename bio bi_rw to bi_opfJens Axboe1-3/+3
2016-07-28Merge tag 'libnvdimm-for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2016-07-26Merge tag 'dm-4.8-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/d...Linus Torvalds1-0/+8
2016-07-20dm snap: add fake origin_direct_accessToshi Kani1-0/+8
2016-07-20block: get rid of bio_rw and READAChristoph Hellwig1-6/+7
2016-06-07block, drivers, fs: rename REQ_FLUSH to REQ_PREFLUSHMike Christie1-3/+3
2016-03-10dm snapshot: disallow the COW and origin devices from being identicalDingXiang1-0/+9
2016-02-22dm: rename target's per_bio_data_size to per_io_data_sizeMike Snitzer1-1/+1
2016-01-08dm snapshot: fix hung bios when copy error occursMikulas Patocka1-15/+5
2015-12-10dm: don't save and restore bi_privateMikulas Patocka1-5/+1
2015-10-09dm snapshot: add new persistent store option to support overflowMike Snitzer1-5/+9
2015-09-02Merge tag 'dm-4.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/d...Linus Torvalds1-4/+16
2015-08-13block: kill merge_bvec_fn() completelyKent Overstreet1-15/+0
2015-08-12dm snapshot: don't invalidate on-disk image on snapshot write overflowMikulas Patocka1-4/+16
2015-07-29block: add a bi_error field to struct bioChristoph Hellwig1-3/+3
2015-05-22block: remove management of bi_remaining when restoring original bi_end_ioMike Snitzer1-1/+0
2015-05-05bio: skip atomic inc/dec of ->bi_remaining for non-chainsJens Axboe1-1/+1
2015-02-27dm snapshot: suspend merging snapshot when doing exception handoverMikulas Patocka1-6/+29
2015-02-27dm snapshot: suspend origin when doing exception handoverMikulas Patocka1-9/+84
2015-02-18dm snapshot: fix a possible invalid memory access on unloadMikulas Patocka1-2/+2
2014-07-16sched: Remove proliferation of wait_on_bit() action functionsNeilBrown1-9/+1
2014-06-12Merge tag 'dm-3.16-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-19/+48
2014-06-03dm snapshot: do not split read bios sent to snapshot-origin targetMikulas Patocka1-3/+15
2014-06-03dm snapshot: allocate a per-target structure for snapshot-origin targetMikulas Patocka1-18/+35
2014-04-18arch: Mass conversion of smp_mb__*()Peter Zijlstra1-2/+2
2014-01-30Merge branch 'for-3.14/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-9/+10
2014-01-14dm snapshot: use GFP_KERNEL when initializing exceptionsMikulas Patocka1-5/+5
2013-12-31Merge tag 'v3.13-rc6' into for-3.14/coreJens Axboe1-7/+64
2013-12-10dm snapshot: avoid snapshot space leak on crashMikulas Patocka1-7/+64
2013-11-23block: Generic bio chainingKent Overstreet1-0/+1
2013-11-23block: Abstract out bvec iteratorKent Overstreet1-9/+9
2013-09-20dm-snapshot: fix performance degradation due to small hash sizeMikulas Patocka1-3/+2
2013-05-10dm snapshot: fix error return code in snapshot_ctrWei Yongjun1-0/+1
2013-03-01dm kcopyd: introduce configurable throttlingMikulas Patocka1-1/+4
2013-03-01dm snapshot: add missing module aliasesMikulas Patocka1-0/+2
2013-03-01dm: rename request variables to biosAlasdair G Kergon1-5/+5
2013-03-01dm: fix truncated status stringsMikulas Patocka1-10/+6
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-2/+1
2012-12-21dm: remove map_infoMikulas Patocka1-8/+4
2012-12-21dm snapshot: do not use map_contextMikulas Patocka1-13/+23
2012-12-21dm: move target request nr to dm_target_ioMikulas Patocka1-1/+1
2012-12-21dm snapshot: use per_bio_dataMikulas Patocka1-35/+8
2012-12-21dm snapshot: optimize track_chunkMikulas Patocka1-3/+2
2012-07-27dm thin: commit before gathering statusAlasdair G Kergon1-3/+3
2012-07-27dm: support non power of two target max_io_lenMike Snitzer1-12/+15
2012-07-27dm snapshot: remove redundant assignment in merge fnAlasdair G Kergon1-1/+0
2011-08-02dm snapshot: skip reading origin when overwriting complete chunkMikulas Patocka1-3/+57
2011-08-02dm snapshot: style cleanupsJonathan Brassow1-8/+6
2011-08-02dm snapshot: remove unused definitionsMikulas Patocka1-10/+0
2011-05-29dm kcopyd: return client directly and not through a pointerMikulas Patocka1-2/+3
2011-05-29dm kcopyd: reserve fewer pagesMikulas Patocka1-6/+1
2011-03-24dm: fix opening log and cow devices for read only tablesMilan Broz1-1/+1
2011-01-13dm snapshot: avoid storing private suspended stateMike Snitzer1-20/+4
2011-01-13dm snapshot: remove unused dm_snapshot queued_bios_workTejun Heo1-38/+0
2010-10-22Merge branch 'for-2.6.37/barrier' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-3/+3
2010-09-10Consolidate min_not_zeroMartin K. Petersen1-2/+0
2010-09-10dm: implement REQ_FLUSH/FUA support for bio-based dmTejun Heo1-3/+3
2010-08-12dm: rename map_info flush_request to target_request_nrMike Snitzer1-1/+1
2010-08-12dm snapshot: implement mergeMikulas Patocka1-0/+16
2010-08-12dm snapshot: test chunk size against both origin and snapshotMikulas Patocka1-15/+21
2010-08-12dm snapshot: iterate origin and cow devicesMikulas Patocka1-1/+7
2010-03-06dm: eliminate some holes data structuresMike Snitzer1-13/+13
2010-03-06dm table: remove unused dm_get_device range parametersNikanth Karthikesan1-5/+3
2009-12-10dm snapshot: use merge origin if snapshot invalidMikulas Patocka1-5/+4
2009-12-10dm snapshot: report merge failure in statusMike Snitzer1-2/+28
2009-12-10dm snapshot: merge consecutive chunks togetherMike Snitzer1-10/+21
2009-12-10dm snapshot: trigger exceptions in remaining snapshots during mergeMikulas Patocka1-0/+83
2009-12-10dm snapshot: delay merging a chunk until writes to it completeMikulas Patocka1-1/+5
2009-12-10dm snapshot: queue writes to chunks being mergedMikulas Patocka1-13/+78
2009-12-10dm snapshot: add mergingMikulas Patocka1-6/+233
2009-12-10dm snapshot: permit only one merge at onceMikulas Patocka1-6/+27
2009-12-10dm snapshot: support barriers in snapshot merge targetMike Snitzer1-3/+18
2009-12-10dm snapshot: avoid allocating exceptions in mergeMikulas Patocka1-1/+56
2009-12-10dm snapshot: rework writing to originMikulas Patocka1-106/+49
2009-12-10dm snapshot: add merge targetMikulas Patocka1-12/+41
2009-12-10dm snapshot: create function for chunk_is_tracked waitMike Snitzer1-6/+12
2009-12-10dm snapshot: make bio optional in __origin_writeMikulas Patocka1-5/+18
2009-12-10dm snapshot: allow live exception store handover between tablesMike Snitzer1-27/+236
2009-12-10dm snapshot: track suspended state in targetMike Snitzer1-1/+16
2009-12-10dm snapshot: move cow ref from exception store to snap coreMike Snitzer1-25/+49
2009-12-10dm snapshot: add allocated metadata to snapshot statusMike Snitzer1-9/+12
2009-12-10dm snapshot: rename exception functionsJon Brassow1-33/+33
2009-12-10dm snapshot: rename exception_table to dm_exception_tableJon Brassow1-8/+9
2009-12-10dm snapshot: rename dm_snap_exception to dm_exceptionJon Brassow1-17/+17
2009-12-10dm snapshot: consolidate insert exception functionsJon Brassow1-12/+4
2009-12-10dm snapshot: abstract minimum_chunk_size fnMikulas Patocka1-12/+22
2009-12-10dm snapshot: cope with chunk size larger than originMikulas Patocka1-0/+2
2009-12-10dm snapshot: only take lock for statustype info not tableMikulas Patocka1-4/+6
2009-10-16dm snapshot: use unsigned integer chunk sizeMikulas Patocka1-2/+2
2009-10-16dm snapshot: lock snapshot while supplying statusMikulas Patocka1-0/+4
2009-10-16dm snapshot: require non zero chunk size by end of ctrMikulas Patocka1-0/+5
2009-10-16dm snapshot: free exception store on init failureJonathan Brassow1-1/+4
2009-10-16dm snapshot: sort by chunk size to fix raceMikulas Patocka1-1/+6
2009-09-04dm snapshot: implement iterate devicesMike Snitzer1-2/+21
2009-06-22dm snapshot: support barriersMikulas Patocka1-0/+11
2009-04-15block: move bio list helpers into bio.hChristoph Hellwig1-1/+0
2009-04-02dm snapshot: move status to exception storeJonathan Brassow1-6/+2
2009-04-02dm snapshot: move ctr parsing to exception storeJonathan Brassow1-112/+35
2009-04-02dm snapshot: use DMEMIT macro for statusJonathan Brassow1-9/+10
2009-04-02dm snapshot: remove dm_snap headerJonathan Brassow1-1/+71
2009-04-02dm snapshot: remove dm_snap header useJonathan Brassow1-9/+9
2009-04-02dm exception store: move cow pointerJonathan Brassow1-13/+17
2009-04-02dm exception store: move chunk_fieldsJonathan Brassow1-21/+26
2009-04-02dm exception store: move dm_target pointerJonathan Brassow1-4/+3
2009-04-02dm exception store: introduce registryJonathan Brassow1-23/+18
2009-04-02dm exception store: separate type from instanceJonathan Brassow1-10/+10
2009-04-02dm snapshot: avoid having two exceptions for the same chunkMikulas Patocka1-0/+13
2009-04-02dm snapshot: avoid dropping lock in __find_pending_exceptionMikulas Patocka1-18/+24
2009-04-02dm snapshot: refactor __find_pending_exceptionMikulas Patocka1-24/+28
2009-01-06dm snapshot: extend exception store functionsJonathan Brassow1-2/+7
2009-01-06dm snapshot: split out exception store implementationsAlasdair G Kergon1-6/+14
2009-01-06dm snapshot: separate out exception store interfaceJonathan Brassow1-0/+1
2009-01-06dm: consolidate target deregistration error handlingMikulas Patocka1-9/+2
2009-01-06dm snapshot: change yield to msleepMikulas Patocka1-3/+4
2008-10-30dm snapshot: wait for chunks in destructorMikulas Patocka1-1/+15
2008-10-30dm snapshot: fix register_snapshot deadlockMikulas Patocka1-7/+9
2008-10-21dm snapshot: drop unused last_percentMikulas Patocka1-1/+0
2008-10-21dm snapshot: fix primary_pe raceMikulas Patocka1-7/+3
2008-07-21dm snapshot: use per device mempoolsMikulas Patocka1-18/+22
2008-07-21dm snapshot: fix race during exception creationMikulas Patocka1-0/+28
2008-07-21dm snapshot: track snapshot readsMikulas Patocka1-10/+97
2008-04-25dm: move include filesAlasdair G Kergon1-1/+1
2008-04-25dm kcopyd: clean interfaceHeinz Mauelshagen1-4/+4
2008-04-25dm io: clean interfaceHeinz Mauelshagen1-1/+1
2008-04-25dm snapshot: store pointer to target instanceMikulas Patocka1-3/+3
2008-04-25dm snapshot: reduce default memory allocationMilan Broz1-2/+2
2008-03-28dm io: write error bits form long not intAlasdair G Kergon1-1/+1
2008-02-08dm snapshot: combine consecutive exceptions in memoryMilan Broz1-14/+68
2008-02-08dm snapshot: use rounddown_pow_of_twoRobert P. J. Day1-12/+1
2007-10-20dm: use is_power_of_2vignesh babu1-1/+2
2007-10-10Drop 'size' argument from bio_endio and bi_end_ioNeilBrown1-1/+1
2007-07-12dm: disable barriersStefan Bader1-6/+0
2007-07-12dm snapshot: permit invalid activationMilan Broz1-1/+4
2007-07-12dm: use kmem_cache macroAlasdair G Kergon1-55/+50
2006-12-08[PATCH] make drivers/md/dm-snap.c:ksnapd staticAdrian Bunk1-1/+1
2006-12-08[PATCH] dm: snapshot: abstract memory releaseMilan Broz1-7/+12
2006-12-08[PATCH] dm: map and endio symbolic return codesKiyoshi Ueda1-6/+6
2006-12-07[PATCH] slab: remove kmem_cache_tChristoph Lameter1-3/+3
2006-11-22WorkStruct: make allyesconfigDavid Howells1-4/+5
2006-10-03[PATCH] dm snapshot: fix freeing pending exceptionAlasdair G Kergon1-10/+6
2006-10-03[PATCH] dm snapshot: tidy pe ref countingAlasdair G Kergon1-35/+48
2006-10-03[PATCH] dm snapshot: add workqueueAlasdair G Kergon1-0/+33
2006-10-03[PATCH] dm snapshot: tidy pending_completeAlasdair G Kergon1-46/+30
2006-10-03[PATCH] dm snapshot: tidy snapshot_mapAlasdair G Kergon1-46/+26
2006-10-03[PATCH] dm snapshot: fix metadata error handlingMark McLoughlin1-12/+5
2006-10-03[PATCH] dm snapshot: allow zero chunk_sizeMark McLoughlin1-41/+49
2006-10-03[PATCH] dm snapshot: fix invalidation ENOMEMMilan Broz1-1/+1
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-06-26[PATCH] dm: improve error message consistencyAlasdair G Kergon1-4/+6
2006-06-26[PATCH] dm snapshot: unify chunk_sizeAlasdair G Kergon1-3/+3
2006-03-27[PATCH] dm snapshot: fix kcopyd destructorAlasdair G Kergon1-1/+5
2006-03-27[PATCH] dm: remove SECTOR_FORMATAndrew Morton1-5/+6
2006-03-27[PATCH] device-mapper snapshot: fix invalidationAlasdair G Kergon1-121/+174