aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-13Merge tag 'for-6.9/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+4
2024-03-12dm raid: fix false positive for requeue needed during reshapeMing Lei1-2/+2
2024-03-05dm-raid: fix lockdep waring in "pers->hot_add_disk"Yu Kuai1-0/+2
2024-03-05dm-raid456, md/raid456: fix a deadlock for dm-raid456 while io concurrent wit...Yu Kuai1-2/+20
2024-03-05dm-raid: add a new helper prepare_suspend() in md_personalityYu Kuai1-0/+18
2024-03-05md/dm-raid: don't call md_reap_sync_thread() directlyYu Kuai1-10/+18
2024-03-05dm-raid: really frozen sync_thread during suspendYu Kuai1-10/+15
2024-02-20dm: update relevant MODULE_AUTHOR entries to latest dm-devel mailing listMike Snitzer1-2/+2
2023-12-18dm-raid: delay flushing event_work() after reconfig_mutex is releasedYu Kuai1-0/+3
2023-11-01Merge tag 'for-6.7/block-2023-10-30' of git://git.kernel.dk/linuxLinus Torvalds1-8/+9
2023-10-10md: rename __mddev_suspend/resume() back to mddev_suspend/resume()Yu Kuai1-2/+2
2023-10-10md/dm-raid: use new apis to suspend arrayYu Kuai1-8/+4
2023-10-02dm raid: Annotate struct raid_set with __counted_byKees Cook1-1/+1
2023-09-22md: initialize 'active_io' while allocating mddevYu Kuai1-1/+6
2023-08-29Merge tag 'for-6.6/block-2023-08-28' of git://git.kernel.dk/linuxLinus Torvalds1-1/+0
2023-07-27Revert "md: unlock mddev before reap sync_thread in action_store"Yu Kuai1-1/+0
2023-07-25dm raid: protect md_stop() with 'reconfig_mutex'Yu Kuai1-1/+3
2023-07-25dm raid: clean up four equivalent goto tags in raid_ctr()Yu Kuai1-18/+9
2023-07-25dm raid: fix missing reconfig_mutex unlock in raid_ctr() error pathsYu Kuai1-2/+7
2023-06-13dm-raid: remove useless checking in raid_message()Yu Kuai1-2/+2
2023-04-11dm: add helper macro for simple DM target module init and exitYangtao Li1-17/+1
2023-04-11dm raid: remove unused d variableTom Rix1-4/+0
2023-02-14dm: fix suspect indent whitespaceHeinz Mauelshagen1-1/+1
2023-02-14dm: add missing blank line after declarations/fix thoseHeinz Mauelshagen1-1/+1
2023-02-14dm: correct block comments format.Heinz Mauelshagen1-6/+6
2023-02-14dm: address indent/space issuesHeinz Mauelshagen1-4/+4
2023-02-14dm: avoid initializing static variablesHeinz Mauelshagen1-1/+1
2023-02-14dm: change "unsigned" to "unsigned int"Heinz Mauelshagen1-1/+1
2023-02-14dm: add missing SPDX-License-IndentifiersHeinz Mauelshagen1-0/+1
2023-02-12dm raid: fix some spelling mistakes in commentsYu Zhe1-3/+3
2022-10-18dm raid: fix typo in analyse_superblocks code commentJiangshan Yi1-1/+1
2022-10-18dm raid: delete the redundant word 'that' in commentJilin Yuan1-1/+1
2022-08-02md: unlock mddev before reap sync_thread in action_storeGuoqing Jiang1-0/+1
2022-08-02Merge tag 'for-6.0/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-3/+4
2022-08-02Merge tag 'for-5.20/block-2022-07-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2022-07-28dm: fix dm-raid crash if md_handle_request() splits bioMike Snitzer1-0/+1
2022-07-28dm raid: fix address sanitizer warning in raid_resumeMikulas Patocka1-1/+1
2022-07-28dm raid: fix address sanitizer warning in raid_statusMikulas Patocka1-1/+1
2022-07-14md/core: Combine two sync_page_io() argumentsBart Van Assche1-1/+1
2022-07-07dm raid: remove redundant "the" in parse_raid_params() commentJiang Jian1-1/+1
2022-06-27dm raid: fix accesses beyond end of raid member arrayHeinz Mauelshagen1-16/+18
2022-06-15Revert "md: don't unregister sync_thread with reconfig_mutex held"Guoqing Jiang1-1/+1
2022-05-22md: don't unregister sync_thread with reconfig_mutex heldGuoqing Jiang1-1/+1
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-7/+2
2021-10-18dm: use bdev_nr_sectors and bdev_nr_bytes instead of open coding themChristoph Hellwig1-3/+3
2021-08-10dm: update target status functions to support IMA measurementTushar Sugandhi1-0/+39
2021-04-30dm raid: remove unnecessary discard limits for raid0 and raid10Mike Snitzer1-9/+0
2021-04-21dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload seque...Heinz Mauelshagen1-6/+28
2021-04-20dm raid: fix fall-through warning in rs_check_takeover() for ClangGustavo A. R. Silva1-0/+1
2021-01-04dm raid: fix discard limits for raid1Mike Snitzer1-3/+3
2020-12-16Merge tag 'for-5.11/block-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+1
2020-12-14Revert "dm raid: fix discard limits for raid1 and raid10"Mike Snitzer1-7/+5
2020-12-09Revert "dm raid: remove unnecessary discard limits for raid10"Song Liu1-0/+11
2020-11-16dm-raid: use set_capacity_and_notifyChristoph Hellwig1-2/+1
2020-09-29dm raid: remove unnecessary discard limits for raid10Mike Snitzer1-11/+0
2020-09-29dm raid: fix discard limits for raid1 and raid10Mike Snitzer1-5/+7
2020-09-02block: add a new revalidate_disk_size helperChristoph Hellwig1-1/+1
2020-08-07Merge tag 'for-5.9/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+0
2020-08-04dm raid: Remove empty if statementDamien Le Moal1-2/+0
2020-07-08writeback: remove bdi->congested_fnChristoph Hellwig1-12/+0
2020-05-20dm: replace zero-length array with flexible-arrayGustavo A. R. Silva1-1/+1
2020-01-07dm raid: table line rebuild status fixesHeinz Mauelshagen1-21/+22
2019-11-07dm raid: Remove unnecessary negation of a shift in raid10_format_to_md_layoutNathan Chancellor1-1/+0
2019-11-05dm raid: streamline rs_get_progress() and its raid_status() caller sideHeinz Mauelshagen1-27/+20
2019-11-05dm raid: simplify rs_setup_recovery call chainHeinz Mauelshagen1-21/+6
2019-11-05dm raid: to ensure resynchronization, perform raid set grow in preresumeHeinz Mauelshagen1-21/+60
2019-11-05dm raid: change rs_set_dev_and_array_sectors API and callersHeinz Mauelshagen1-9/+5
2019-09-11dm raid: fix updating of max_discard_sectors limitMing Lei1-5/+5
2019-08-21dm raid: add missing cleanup in raid_ctr()Wenwen Wang1-1/+1
2019-07-15docs: device-mapper: move it to the admin-guideMauro Carvalho Chehab1-1/+1
2019-06-14docs: convert docs to ReST and rename to *.rstMauro Carvalho Chehab1-1/+1
2019-02-20dm: eliminate 'split_discard_bios' flag from DM target interfaceMike Snitzer1-5/+9
2018-12-18dm raid: fix false -EBUSY when handling check/repair messageHeinz Mauelshagen1-2/+1
2018-10-18dm raid: avoid bitmap with raid4/5/6 journal deviceHeinz Mauelshagen1-1/+1
2018-09-17dm raid: remove bogus const from decipher_sync_action() return typeGeert Uytterhoeven1-1/+1
2018-09-06dm raid: bump target version, update comments and documentationHeinz Mauelshagen1-4/+6
2018-09-06dm raid: fix RAID leg rebuild errorsHeinz Mauelshagen1-34/+46
2018-09-06dm raid: fix rebuild of specific devices by updating superblockHeinz Mauelshagen1-0/+5
2018-09-06dm raid: fix stripe adding reshape deadlockHeinz Mauelshagen1-8/+3
2018-09-06dm raid: fix reshape race on small devicesHeinz Mauelshagen1-47/+1
2018-08-18Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto...Linus Torvalds1-3/+3
2018-08-01md: Avoid namespace collision with bitmap APIAndy Shevchenko1-3/+3
2018-06-22dm raid: don't use 'const' in function returnArnd Bergmann1-1/+1
2018-06-06treewide: Use struct_size() for kmalloc()-familyKees Cook1-1/+1
2018-04-04dm raid: fix parse_raid_params() variable range issueHeinz Mauelshagen1-8/+19
2018-04-03dm raid: fix nosync statusHeinz Mauelshagen1-1/+2
2018-04-03dm: allow targets to return output from messages they are sentMike Snitzer1-1/+2
2018-03-06dm raid: fix incorrect sync_ratio when degradedJonathan Brassow1-3/+4
2018-01-31Merge tag 'for-4.16/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-126/+254
2018-01-17dm raid: make raid_sets symbol staticWei Yongjun1-1/+1
2017-12-13dm raid: use rs_is_raid*()Heinz Mauelshagen1-8/+8
2017-12-13dm raid: simplify rs_get_progress()Heinz Mauelshagen1-20/+3
2017-12-13dm raid: ensure 'a' chars during reshapeHeinz Mauelshagen1-0/+9
2017-12-13dm raid: stop keeping raid set frozen altogetherHeinz Mauelshagen1-38/+70
2017-12-13dm raid: validate current raid sets redundancyHeinz Mauelshagen1-1/+6
2017-12-11md: introduce new personality funciton start()Song Liu1-0/+9
2017-12-08dm raid: bump target version to reflect numerous fixesMike Snitzer1-1/+1
2017-12-08dm raid: small cleanup and remove unsed "struct raid_set" memberHeinz Mauelshagen1-4/+2
2017-12-08dm raid: fix rs_get_progress() synchronization state/ratioHeinz Mauelshagen1-31/+64
2017-12-08dm raid: avoid passing array_in_sync variable to raid_status() calleesHeinz Mauelshagen1-14/+16
2017-12-08dm raid: display a consistent copy of the MD status via raid_status()Heinz Mauelshagen1-16/+18
2017-12-08dm raid: fix raid_resume() to keep raid set frozen as neededHeinz Mauelshagen1-3/+9
2017-12-08dm raid: add component device size checks to avoid runtime failureHeinz Mauelshagen1-1/+19
2017-12-08dm raid: fix raid set size revalidationHeinz Mauelshagen1-10/+20
2017-12-08dm raid: correct resizing state relative to reshape space in ctrHeinz Mauelshagen1-4/+6
2017-12-08dm raid: consume sizes after md_finish_reshape() completes changing themHeinz Mauelshagen1-4/+38
2017-12-08dm raid: fix deadlock caused by premature md_stop_writes()Heinz Mauelshagen1-10/+4
2017-11-17Merge tag 'for-4.15/dm-changes-2' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-6/+0
2017-11-16dm: do not set 'discards_supported' in targets that do not need itMike Snitzer1-6/+0
2017-11-14Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-3/+9
2017-11-10dm raid: fix panic when attempting to force a raid to syncHeinz Mauelshagen1-10/+11
2017-11-01md: always hold reconfig_mutex when calling mddev_suspend()NeilBrown1-2/+8
2017-10-16md: rename some drivers/md/ files to have an "md-" prefixMike Snitzer1-1/+1
2017-10-05Merge tag 'for-4.14/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-5/+6
2017-10-05dm raid: fix incorrect status output at the end of a "recover" processJonathan Brassow1-5/+6
2017-09-27dm-raid: fix a race condition in request handlingShaohua Li1-1/+1
2017-07-25dm raid: bump target versionHeinz Mauelshagen1-1/+1
2017-07-25dm raid: avoid mddev->suspended accessHeinz Mauelshagen1-5/+7
2017-07-25dm raid: fix activation check in validate_raid_redundancy()Heinz Mauelshagen1-5/+5
2017-07-25dm raid: remove WARN_ON() in raid10_md_layout_to_format()Heinz Mauelshagen1-2/+3
2017-07-06Merge tag 'for-4.13/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-3/+10
2017-06-30dm raid: stop using BUG() in __rdev_sectors()Heinz Mauelshagen1-3/+10
2017-06-23dm raid: fix oops on upgrading to extended superblock formatHeinz Mauelshagen1-3/+14
2017-05-03Merge tag 'for-4.12/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-42/+122
2017-05-01Merge branch 'for-4.12/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+3
2017-04-08block: remove the discard_zeroes_data flagChristoph Hellwig1-3/+3
2017-03-31dm raid: fix NULL pointer dereference for raid1 without bitmapDmitry Bilunov1-1/+1
2017-03-27dm raid: add raid4/5/6 journal write-back support via journal_mode optionHeinz Mauelshagen1-13/+91
2017-03-27dm raid: fix table line argument order in statusHeinz Mauelshagen1-30/+32
2017-02-28dm raid: bump the target versionMike Snitzer1-3/+3
2017-02-28dm raid: fix data corruption on reshape requestHeinz Mauelshagen1-1/+11
2017-02-28dm raid: fix raid "check" regression due to improper cleanup in raid_message()Mike Snitzer1-2/+4
2017-01-25dm raid: cleanup awkward branching in raid_message() option processingMike Snitzer1-3/+4
2017-01-25dm raid: use mddev rather than rdev->mddevHeinz Mauelshagen1-1/+1
2017-01-25dm raid: use read_disk_sb() throughoutHeinz Mauelshagen1-8/+9
2017-01-25dm raid: add raid4/5/6 journaling supportHeinz Mauelshagen1-21/+140
2017-01-25dm raid: be prepared to accept arbitrary '- -' tuplesHeinz Mauelshagen1-5/+23
2017-01-25dm raid: fix transient device failure processingHeinz Mauelshagen1-49/+38
2016-12-14Merge tag 'dm-4.10-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-40/+42
2016-12-08md: separate flags for superblock changesShaohua Li1-2/+2
2016-12-08dm raid: fix discard support regressionHeinz Mauelshagen1-6/+3
2016-12-08dm raid: don't allow "write behind" with raid4/5/6Heinz Mauelshagen1-2/+0
2016-11-21dm raid: correct error messages on old metadata validationHeinz Mauelshagen1-32/+39
2016-10-17dm raid: fix activation of existing raid4/10 devicesHeinz Mauelshagen1-5/+7
2016-10-11dm raid: fix compat_features validationAndy Whitcroft1-1/+2
2016-08-17dm raid: support raid0 with missing metadata devicesHeinz Mauelshagen1-0/+12
2016-08-16dm raid: enhance attempt_restore_of_faulty_devices() to support more devicesHeinz Mauelshagen1-8/+24
2016-08-16dm raid: fix restoring of failed devices regressionHeinz Mauelshagen1-22/+11
2016-08-16dm raid: fix frozen recovery regressionHeinz Mauelshagen1-6/+1
2016-08-04dm raid: fix use of wrong status char during resynchronizationHeinz Mauelshagen1-1/+0
2016-08-03dm raid: constructor fails on non-zero incompat_featuresHeinz Mauelshagen1-0/+1
2016-08-03dm raid: fix processing of max_recovery_rate constructor flagHeinz Mauelshagen1-1/+1
2016-07-19dm raid: fix random optimal_io_size for raid0Heinz Mauelshagen1-4/+3
2016-07-19dm raid: address checkpatch.pl complaintsHeinz Mauelshagen1-21/+21
2016-07-18dm raid: change logical functions to actually return boolHeinz Mauelshagen1-15/+14
2016-07-18dm raid: use rdev_for_each in statusHeinz Mauelshagen1-2/+2
2016-07-18dm raid: use rs->raid_disks to avoid memory leaks on freeHeinz Mauelshagen1-6/+5
2016-07-18dm raid: support delta_disks for raid1, fix table outputHeinz Mauelshagen1-43/+49
2016-07-18dm raid: enhance reshape check and factor out reshape setupHeinz Mauelshagen1-61/+106
2016-07-18dm raid: allow resize during recoveryHeinz Mauelshagen1-15/+19
2016-07-18dm raid: fix rs_is_recovering() to allow for lvextendHeinz Mauelshagen1-2/+2
2016-07-18dm raid: fix rebuild and catch bogus sync/resync flagsHeinz Mauelshagen1-3/+16
2016-07-18dm raid: fix ctr memory leaks on error pathsHeinz Mauelshagen1-10/+15
2016-07-18dm raid: fix typo in write_mostly flagHeinz Mauelshagen1-1/+1
2016-07-18dm raid: also reject size change during recoveryHeinz Mauelshagen1-3/+3
2016-07-18dm raid: fix new superblock/bitmap creation on disk additionHeinz Mauelshagen1-1/+2
2016-07-18dm raid: add comments and fix typosHeinz Mauelshagen1-7/+13
2016-07-18dm raid: fix raid10 device size error on out-of-place reshapeHeinz Mauelshagen1-0/+8
2016-07-18dm raid: prohibit 'nosync' on new raid6 and reject resize during reshapeHeinz Mauelshagen1-3/+15
2016-07-18dm raid: clarify and fix recoveryHeinz Mauelshagen1-9/+55
2016-07-18dm raid: fix rs_set_capacity on growing reshapeHeinz Mauelshagen1-6/+3
2016-07-18dm raid: make rs_set_capacity to work on shrinking reshapeHeinz Mauelshagen1-4/+4
2016-07-18dm raid: enhance comments in takeover checksHeinz Mauelshagen1-2/+2
2016-07-18dm raid: remove bogus comment and fix comment typosHeinz Mauelshagen1-4/+2
2016-07-18dm raid: more restricting data_offset value checksHeinz Mauelshagen1-1/+2
2016-07-18dm raid: reject too many write_mostly devicesHeinz Mauelshagen1-1/+7
2016-07-18dm raid: the sync_page_io() metadata_op argument is boolHeinz Mauelshagen1-3/+3
2016-07-18dm raid: prohibit to pass in both sync and nosync ctr flagsHeinz Mauelshagen1-0/+6
2016-07-18dm raid: avoid superfluous memory barriers on static metadataHeinz Mauelshagen1-5/+0
2016-06-16dm raid: don't use 'const' in function returnArnd Bergmann1-1/+1
2016-06-14dm raid: fix failed takeover/reshapes by keeping raid set frozenHeinz Mauelshagen1-29/+56
2016-06-14dm raid: support to change bitmap region sizeHeinz Mauelshagen1-0/+11
2016-06-14dm raid: add reshaping support to the targetHeinz Mauelshagen1-58/+447
2016-06-14dm raid: add prerequisite functions and definitions for reshapingHeinz Mauelshagen1-22/+202
2016-06-14dm raid: inverse check for flags from invalid to valid flagsHeinz Mauelshagen1-32/+56
2016-06-14dm raid: various code cleanupsMike Snitzer1-56/+43
2016-06-14dm raid: rename functions that alloc and free struct raid_setMike Snitzer1-7/+7
2016-06-14dm raid: remove all the bitops wrappersMike Snitzer1-125/+89
2016-06-14dm raid: rename _in_range to __within_rangeMike Snitzer1-14/+14
2016-06-14dm raid: add missing "dm-raid0" module aliasMike Snitzer1-1/+2
2016-06-14dm raid: rename _argname_by_flag to dm_raid_arg_name_by_flagMike Snitzer1-30/+30
2016-06-14dm raid: bump to v1.9.0 and make the extended SB feature flag reflect itMike Snitzer1-17/+20
2016-06-14dm raid: remove ti_error_* wrappersMike Snitzer1-152/+249
2016-06-14dm raid: tabify appropriate whitespaceMike Snitzer1-62/+62
2016-06-14dm raid: enhance status interface and fixup takeover/raid0Heinz Mauelshagen1-181/+253
2016-06-14dm raid: add raid level takeover supportHeinz Mauelshagen1-29/+426
2016-06-14dm raid: enhance super_sync() to support new superblock membersHeinz Mauelshagen1-10/+65
2016-06-14dm raid: add new reshaping/raid10 format table line options to parameter parserHeinz Mauelshagen1-9/+39
2016-06-14dm raid: introduce extended superblock and new raid types to support takeover...Heinz Mauelshagen1-133/+471
2016-06-13dm raid: use rt_is_raid*() in all appropriate checksHeinz Mauelshagen1-12/+18