aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
AgeCommit message (Expand)AuthorFilesLines
2025-11-11md: allow configuring logical block sizeLi Nan1-0/+1
2025-11-08md: avoid repeated calls to del_gendiskXiao Ni1-0/+1
2025-11-08md: fix rcu protection in md_wakeup_threadYun Zhou1-1/+7
2025-09-06md/md-llbitmap: introduce new lockless bitmapYu Kuai1-2/+2
2025-09-06md: add a new recovery_flag MD_RECOVERY_LAZY_RECOVERYu Kuai1-0/+2
2025-09-06md: add a new mddev field 'bitmap_id'Yu Kuai1-0/+2
2025-09-06md/md-bitmap: support discard for bitmap opsYu Kuai1-0/+1
2025-09-06md: factor out a helper raid_is_456()Yu Kuai1-0/+6
2025-09-06md: add a new parameter 'offset' to md_super_write()Yu Kuai1-2/+3
2025-09-06md/md-bitmap: introduce CONFIG_MD_BITMAPYu Kuai1-2/+1
2025-09-06md/md-bitmap: merge md_bitmap_group into bitmap_operationsYu Kuai1-1/+0
2025-07-31md: rename recovery_cp to resync_offsetLi Nan1-1/+1
2025-07-12md: call del_gendisk in control pathXiao Ni1-2/+24
2025-05-10md: clean up accounting for issued sync IOYu Kuai1-11/+0
2025-05-10md: fix is_mddev_idle()Yu Kuai1-1/+2
2025-05-10md: add a new api sync_io_depthYu Kuai1-0/+1
2025-05-10md: record dm-raid gendisk in mddevYu Kuai1-1/+2
2025-03-13Merge tag 'md-6.15-20250312' of https://git.kernel.org/pub/scm/linux/kernel/g...Jens Axboe1-14/+34
2025-03-06badblocks: use sector_t instead of int to avoid truncation of badblocks lengthZheng Qixing1-3/+3
2025-03-06md: improve return types of badblocks handling functionsZheng Qixing1-4/+4
2025-03-05md: switch md-cluster to use md_submodle_headYu Kuai1-1/+1
2025-03-05md: don't export md_cluster_opsYu Kuai1-1/+2
2025-03-05md: switch personalities to use md_submodule_headYu Kuai1-6/+1
2025-03-05md: introduce struct md_submodule_head and APIsYu Kuai1-0/+31
2025-03-05md: only include md-cluster.h if necessaryYu Kuai1-7/+0
2025-01-13md/md-bitmap: move bitmap_{start, end}write to md upper layerYu Kuai1-0/+2
2025-01-13md: add a new callback pers->bitmap_sector()Yu Kuai1-0/+3
2024-11-05md: add a new helper rdev_blocked()Yu Kuai1-0/+24
2024-08-28Merge branch 'md-6.12-bitmap' into md-6.12Song Liu1-1/+2
2024-08-27md: Remove flush handlingYu Kuai1-10/+0
2024-08-27md/md-bitmap: make in memory structure internalYu Kuai1-1/+1
2024-08-27md/md-bitmap: introduce struct bitmap_operationsYu Kuai1-0/+1
2024-07-04md-cluster: Constify struct md_cluster_operationsChristophe JAILLET1-2/+2
2024-06-26md: set md-specific flags for all queue limitsChristoph Hellwig1-0/+1
2024-06-14Merge branch 'for-6.11/block-limits' into for-6.11/blockJens Axboe1-2/+3
2024-06-14block: move integrity information into queue_limitsChristoph Hellwig1-2/+3
2024-06-12md: pass in max_sectors for pers->sync_request()Yu Kuai1-1/+2
2024-06-12md: replace last_sync_action with new enum typeYu Kuai1-5/+4
2024-06-12md: use new helpers in md_do_sync()Yu Kuai1-1/+1
2024-06-12md: don't fail action_store() if sync_thread is not registeredYu Kuai1-2/+0
2024-06-12md: add new helpers for sync_actionYu Kuai1-0/+3
2024-06-12md: add a new enum type sync_actionYu Kuai1-1/+56
2024-06-12md: rearrange recovery_flagsYu Kuai1-14/+38
2024-06-10md: change the return value type of md_write_start to voidLi Nan1-1/+1
2024-05-07md: Revert "md: Fix overflow in is_mddev_idle"Li Nan1-2/+2
2024-04-08md: don't account sync_io if iostats of the disk is disabledLi Nan1-1/+2
2024-04-08md: Fix overflow in is_mddev_idleLi Nan1-2/+2
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-3/+74
2024-03-06md: remove mddev->queueChristoph Hellwig1-3/+2
2024-03-06md: add queue limit helpersChristoph Hellwig1-0/+3
2024-03-06md: add a mddev_is_dm helperChristoph Hellwig1-2/+10
2024-03-06md: add a mddev_add_trace_msg helperChristoph Hellwig1-0/+6
2024-03-06md: add a mddev_trace_remap helperChristoph Hellwig1-0/+8
2024-03-05dm-raid456, md/raid456: fix a deadlock for dm-raid456 while io concurrent wit...Yu Kuai1-1/+2
2024-03-05dm-raid: add a new helper prepare_suspend() in md_personalityYu Kuai1-0/+1
2024-03-05md: add a new helper reshape_interrupted()Yu Kuai1-0/+19
2024-03-05md: export helper md_is_rdwr()Yu Kuai1-0/+12
2024-03-05md: export helpers to stop sync_threadYu Kuai1-0/+3
2024-02-29md/raid1: record nonrot rdevs while adding/removing rdevs to confYu Kuai1-0/+1
2024-02-29md: add a new helper rdev_has_badblock()Yu Kuai1-0/+10
2024-02-25md: port block device access to fileChristian Brauner1-1/+1
2023-11-27md: remove flag RemoveSynchronizedYu Kuai1-5/+0
2023-11-01Merge tag 'for-6.7/block-2023-10-30' of git://git.kernel.dk/linuxLinus Torvalds1-32/+38
2023-10-28md: Convert to bdev_open_by_dev()Jan Kara1-3/+1
2023-10-18md: cleanup pers->prepare_suspend()Yu Kuai1-18/+0
2023-10-10md: rename __mddev_suspend/resume() back to mddev_suspend/resume()Yu Kuai1-6/+6
2023-10-10md: remove old apis to suspend the arrayYu Kuai1-8/+0
2023-10-10md: cleanup mddev_create/destroy_serial_pool()Yu Kuai1-4/+3
2023-10-10md: add new helpers to suspend/resume and lock/unlock arrayYu Kuai1-0/+27
2023-10-10md: add new helpers to suspend/resume arrayYu Kuai1-0/+3
2023-09-22md: initialize 'writes_pending' while allocating mddevYu Kuai1-1/+0
2023-09-22md: initialize 'active_io' while allocating mddevYu Kuai1-1/+2
2023-09-22md: use separate work_struct for md_start_sync()Yu Kuai1-1/+4
2023-09-08md: fix warning for holder mismatch from export_rdev()Yu Kuai1-0/+3
2023-08-15md: Hold mddev->reconfig_mutex when trying to get mddev->sync_threadLi Lingfeng1-1/+1
2023-07-27md: also clone new io if io accounting is disabledYu Kuai1-2/+2
2023-07-27md: move initialization and destruction of 'io_acct_set' to md.cYu Kuai1-2/+0
2023-07-27md: refactor idle/frozen_sync_thread() to fix deadlockYu Kuai1-0/+2
2023-07-27md: add a mutex to synchronize idle and frozen in action_store()Yu Kuai1-0/+3
2023-06-23md: fix 'delete_mutex' deadlockYu Kuai1-3/+1
2023-06-13md/md-bitmap: add a new helper to unplug bitmap asynchrouslyYu Kuai1-0/+1
2023-06-13md: protect md_thread with rcuYu Kuai1-4/+4
2023-06-13md: fix duplicate filename for rdevYu Kuai1-2/+8
2023-06-13md: add a new api prepare_suspend() in md_personalityYu Kuai1-0/+1
2023-06-13md: export md_is_rdwr() and is_md_suspended()Yu Kuai1-0/+17
2023-04-13md: add error_handlers for raid0 and linearMariusz Tkaczyk1-8/+2
2023-02-08md: account io_acct_set usage with active_ioXiao Ni1-3/+4
2023-02-01md: Change active_io to percpuXiao Ni1-1/+1
2022-12-02md: mark md_kick_rdev_from_array staticChristoph Hellwig1-1/+0
2022-08-02md: return the allocated devices from md_allocChristoph Hellwig1-1/+2
2022-08-02md: only delete entries from all_mddevs when the disk is freedChristoph Hellwig1-0/+2
2022-08-02md: Explicitly create command-line configured devicesChris Webb1-0/+1
2022-08-02md: Use enum for overloaded magic numbers used by mddev->curr_resyncLogan Gunthorpe1-0/+15
2022-07-14md/core: Combine two sync_page_io() argumentsBart Van Assche1-2/+1
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-25md: Set MD_BROKEN for RAID1 and RAID10Mariusz Tkaczyk1-27/+35
2022-02-22scsi: md: Remove WRITE_SAME supportChristoph Hellwig1-7/+0
2022-01-06md: Move alloc/free acct bioset in to personalityXiao Ni1-0/+2
2021-10-18md: remove unused argument from md_new_eventGuoqing Jiang1-1/+1
2021-08-12block: remove GENHD_FL_UPChristoph Hellwig1-3/+1
2021-06-30Merge tag 'for-5.14/drivers-2021-06-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+10
2021-06-14md: Constify attribute_group structsRikard Falkeborn1-2/+2
2021-06-14md: add io accounting for raid0 and raid5Guoqing Jiang1-0/+8
2021-06-14md: revert io stats accountingGuoqing Jiang1-1/+0
2021-06-01block: move bd_mutex to struct gendiskChristoph Hellwig1-3/+3
2021-03-24md: add md_submit_discard_bio() for submitting discard bioXiao Ni1-0/+2
2021-01-27md: remove bio_alloc_mddevChristoph Hellwig1-2/+0
2021-01-24block: store a block_device pointer in struct bioChristoph Hellwig1-3/+3
2020-12-16Merge tag 'for-5.11/drivers-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+3
2020-12-14Revert "md: change mddev 'chunk_sectors' from int to unsigned"Mike Snitzer1-2/+2
2020-12-12md: change mddev 'chunk_sectors' from int to unsignedMike Snitzer1-2/+2
2020-12-09Revert "md: add md_submit_discard_bio() for submitting discard bio"Song Liu1-2/+0
2020-11-30md: improve variable names in md_flush_request()Pankaj Gupta1-3/+3
2020-10-13Merge tag 'drivers-5.10-2020-10-12' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+2
2020-09-25md: don't detour through bd_contains for the gendiskChristoph Hellwig1-1/+1
2020-09-24md: add md_submit_discard_bio() for submitting discard bioXiao Ni1-0/+2
2020-09-02block: remove revalidate_disk()Christoph Hellwig1-1/+1
2020-08-07Merge branch 'hch.init_path' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+12
2020-08-05Merge tag 'for-5.9/drivers-20200803' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+8
2020-07-16md: rewrite md_setup_drive to avoid ioctlsChristoph Hellwig1-0/+8
2020-07-16md: remove the kernel version of md_u.hChristoph Hellwig1-0/+1
2020-07-16md: replace the RAID_AUTORUN ioctl with a direct function callChristoph Hellwig1-0/+3
2020-07-14md: fix deadlock causing by sysfs_notifyJunxiao Bi1-1/+7
2020-07-13md: improve io stats accountingArtur Paszkiewicz1-0/+1
2020-07-08writeback: remove bdi->congested_fnChristoph Hellwig1-4/+0
2020-05-13md: use memalloc scope APIs in mddev_suspend()/mddev_resume()Coly Li1-0/+1
2020-01-13md: introduce a new struct for IO serializationGuoqing Jiang1-9/+17
2020-01-13md: add serialize_policy sysfs node for raid1Guoqing Jiang1-0/+1
2020-01-13md: prepare for enable raid1 io serializationGuoqing Jiang1-1/+1
2020-01-13md: rename wb stuffsGuoqing Jiang1-12/+12
2019-10-24md: improve handling of bio with REQ_PREFLUSH in md_flush_request()David Jeffery1-2/+2
2019-09-03md raid0/linear: Mark array as 'broken' and fail BIOs if a member is goneGuilherme G. Piccoli1-0/+16
2019-08-27md: don't report active array_state until after revalidate_disk() completes.NeilBrown1-0/+3
2019-08-07md: allow last device to be forcibly removed from RAID1/RAID10.Guoqing Jiang1-0/+1
2019-06-20md: introduce mddev_create/destroy_wb_pool for the change of member deviceGuoqing Jiang1-0/+2
2019-06-20md/raid1: fix potential data inconsistency issue with write behind deviceGuoqing Jiang1-0/+21
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 47Thomas Gleixner1-8/+1
2019-04-01md: batch flush requests.NeilBrown1-0/+3
2019-04-01Revert "MD: fix lock contention for flush bios"NeilBrown1-15/+7
2018-10-18md-cluster/raid10: support add disk under grow modeGuoqing Jiang1-0/+1
2018-07-05md-cluster: show array's status more accurateGuoqing Jiang1-0/+1
2018-06-09Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-7/+15
2018-05-30md: convert to bioset_init()/mempool_init()Kent Overstreet1-2/+2
2018-05-21MD: fix lock contention for flush biosXiao Ni1-7/+15
2018-02-18md: fix md_write_start() deadlock w/o metadata devicesHeinz Mauelshagen1-0/+2
2018-01-15raid5-ppl: PPL support for disks with write-back cache enabledTomasz Majchrzak1-0/+1
2017-12-11md: introduce new personality funciton start()Song Liu1-0/+8
2017-11-01md: use lockdep_assert_heldShaohua Li1-5/+0
2017-11-01md: remove special meaning of ->quiesce(.., 2)NeilBrown1-5/+4
2017-11-01md: allow metadata update while suspending.NeilBrown1-0/+6
2017-09-27md: separate request handlingShaohua Li1-0/+1
2017-09-07Merge tag 'md/4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/mdLinus Torvalds1-0/+1
2017-08-28md: Runtime support for multiple pplsPawel Baldysiak1-0/+1
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-2/+7
2017-07-21md: raid1-10: move raid1/raid10 common code into raid1-10.cMing Lei1-53/+0
2017-07-21md: remove 'idx' from 'struct resync_pages'Ming Lei1-1/+0
2017-07-10md/bitmap: don't read page from device with Bitmap_syncGuoqing Jiang1-1/+3
2017-06-21md: use a separate bio_set for synchronous IO.NeilBrown1-0/+3
2017-06-13md: fix deadlock between mddev_suspend() and md_write_start()NeilBrown1-2/+2
2017-06-05md: initialise ->writes_pending in personality modules.NeilBrown1-0/+1
2017-05-08md: don't return -EAGAIN in md_allow_write for external metadata arraysArtur Paszkiewicz1-1/+1
2017-05-01Merge branch 'md-next' into md-linusShaohua Li1-4/+67
2017-04-08md: support REQ_OP_WRITE_ZEROESChristoph Hellwig1-0/+7
2017-03-24md: prepare for managing resync I/O pages in clean wayMing Lei1-0/+50
2017-03-24md: move two macros into md.hMing Lei1-0/+5
2017-03-22MD: use per-cpu counter for writes_pendingNeilBrown1-1/+2
2017-03-22md/raid5: use md_write_start to count stripes, not biosNeilBrown1-0/+1
2017-03-16raid5-ppl: runtime PPL enabling or disablingArtur Paszkiewicz1-0/+2
2017-03-16md: superblock changes for PPLArtur Paszkiewicz1-0/+8
2017-03-16md-cluster: use sync way to handle METADATA_UPDATED msgGuoqing Jiang1-3/+0
2017-03-09md: delete dead codeShaohua Li1-6/+0
2017-02-15md: fast clone bio in bio_clone_mddev()Ming Lei1-2/+0
2017-02-13md: disable WRITE SAME if it fails in underlayer disksShaohua Li1-0/+7
2017-01-05md: cleanup mddev flag clear for takeoverShaohua Li1-0/+8
2016-12-08md: separate flags for superblock changesShaohua Li1-7/+9
2016-11-22md: Use REQ_FAILFAST_* on metadata writes where appropriateNeilBrown1-1/+20
2016-11-22md/failfast: add failfast flag for md to be used by some personalities.NeilBrown1-0/+6
2016-11-09md: define mddev flags, recovery flags and r1bio state bits using enumsNeilBrown1-40/+36
2016-11-07md: add bad block support for external metadataTomasz Majchrzak1-0/+3
2016-09-21md: changes for MD_STILL_CLOSED flagGuoqing Jiang1-3/+2
2016-07-28Merge branch 'mymd/for-next' into mymd/for-linusShaohua Li1-1/+9
2016-07-19md: use seconds granularity for error loggingArnd Bergmann1-1/+1
2016-06-13md: reduce the number of synchronize_rcu() calls when multiple devices fail.NeilBrown1-0/+5
2016-06-07block, drivers, fs: rename REQ_FLUSH to REQ_PREFLUSHMike Christie1-1/+1
2016-06-07md: use bio op accessorsMike Christie1-1/+2
2016-06-03md-cluster: fix deadlock issue when add disk to an recoverying arrayGuoqing Jiang1-0/+3
2016-01-15Merge tag 'md/4.5' of git://neil.brown.name/mdLinus Torvalds1-4/+7
2016-01-13Merge tag 'libnvdimm-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-37/+3
2016-01-14md/raid: only permit hot-add of compatible integrity profilesDan Williams1-1/+1
2016-01-09md: convert to use the generic badblocks codeVishal Verma1-37/+3
2016-01-07md: Remove 'ready' field from mddev.NeilBrown1-2/+0
2016-01-06drivers: md: use ktime_get_real_seconds()Deepa Dinamani1-1/+1
2016-01-06md-cluster: Defer MD reloading to mddev->threadGuoqing Jiang1-0/+4
2016-01-06md-cluster: remove a disk asynchronously from cluster environmentGuoqing Jiang1-0/+1
2015-12-18MD: change journal disk role to disk 0Shaohua Li1-2/+6
2015-11-01MD: add new bit to indicate raid array with journalSong Liu1-0/+1
2015-11-01md: skip resync for raid array with journalShaohua Li1-0/+1
2015-10-24md: override md superblock recovery_offset for journal deviceShaohua Li1-1/+7
2015-10-24MD: add a new disk role to present write journal deviceSong Liu1-0/+5