aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
AgeCommit message (Expand)AuthorFilesLines
2022-08-26Merge tag 'block-6.0-2022-08-26' of git://git.kernel.dk/linux-blockLinus Torvalds2-8/+9
2022-08-24md: call __md_stop_writes in md_stopGuoqing Jiang1-0/+1
2022-08-24Revert "md-raid: destroy the bitmap after destroying the thread"Guoqing Jiang1-1/+1
2022-08-24md: Flush workqueue md_rdev_misc_wq in md_alloc()David Sloan1-0/+1
2022-08-24md/raid10: Fix the data type of an r10_sync_page_io() argumentBart Van Assche1-7/+6
2022-08-11Merge tag 'for-6.0/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds3-10/+27
2022-08-11dm bufio: fix some cases where the code sleeps with spinlock heldMikulas Patocka1-1/+9
2022-08-09dm writecache: fix smatch warning about invalid return from writecache_mapMikulas Patocka1-1/+2
2022-08-09dm verity: fix verity_parse_opt_args parsingMike Snitzer1-1/+11
2022-08-09dm verity: fix DM_VERITY_OPTS_MAX value yet againMike Snitzer1-1/+1
2022-08-09dm bufio: simplify DM_BUFIO_CLIENT_NO_SLEEP lockingMike Snitzer1-6/+4
2022-08-06Merge tag 'for-6.0/dm-changes-2' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds8-32/+180
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds5-5/+8
2022-08-04Merge tag 'for-5.20/block-2022-08-04' of git://git.kernel.dk/linux-blockLinus Torvalds13-527/+803
2022-08-04dm verity: have verify_wq use WQ_HIGHPRI if "try_verify_in_tasklet"Mike Snitzer1-1/+11
2022-08-04dm verity: remove WQ_CPU_INTENSIVE flag since using WQ_UNBOUNDMike Snitzer1-1/+1
2022-08-04dm verity: only copy bvec_iter in verity_verify_io if in_taskletMike Snitzer1-9/+16
2022-08-04dm verity: optimize verity_verify_io if FEC not configuredMike Snitzer1-1/+8
2022-08-04dm verity: conditionally enable branching for "try_verify_in_tasklet"Mike Snitzer1-5/+14
2022-08-04dm bufio: conditionally enable branching for DM_BUFIO_CLIENT_NO_SLEEPMike Snitzer1-4/+11
2022-08-04dm verity: allow optional args to alter primary args handlingMike Snitzer1-8/+24
2022-08-04dm verity: Add optional "try_verify_in_tasklet" featureNathan Huckleberry2-18/+91
2022-08-02drivers:md:fix a potential use-after-free bugWentao_Liang1-1/+1
2022-08-02md/raid5: Ensure batch_last is released before sleeping for quiesceLogan Gunthorpe2-9/+29
2022-08-02md/raid5: Move stripe_request_ctx upLogan Gunthorpe1-27/+27
2022-08-02md/raid5: Drop unnecessary call to r5c_check_stripe_cache_usage()Logan Gunthorpe1-1/+0
2022-08-02md/raid5: Make is_inactive_blocked() helperLogan Gunthorpe1-5/+19
2022-08-02md/raid5: Refactor raid5_get_active_stripe()Logan Gunthorpe1-31/+36
2022-08-02block: move ->bio_split to the gendiskChristoph Hellwig1-1/+1
2022-08-02block: change the blk_queue_split calling conventionChristoph Hellwig2-4/+4
2022-08-02md-raid10: fix KASAN warningMikulas Patocka1-1/+4
2022-08-02md-raid: destroy the bitmap after destroying the threadMikulas Patocka1-1/+1
2022-08-02md: return the allocated devices from md_allocChristoph Hellwig3-49/+30
2022-08-02md: open code md_probe in autorun_devicesChristoph Hellwig1-1/+1
2022-08-02md: remove unneeded semicolonYang Li1-1/+1
2022-08-02md: fix build failure for !MODULEStephen Rothwell1-0/+2
2022-08-02raid5: fix duplicate checks for rdev->saved_raid_diskJackie Liu1-2/+1
2022-08-02md: simplify md_openChristoph Hellwig1-27/+15
2022-08-02md: only delete entries from all_mddevs when the disk is freedChristoph Hellwig2-18/+40
2022-08-02md: stop using for_each_mddev in md_exitChristoph Hellwig1-28/+11
2022-08-02md: stop using for_each_mddev in md_notify_rebootChristoph Hellwig1-3/+9
2022-08-02md: stop using for_each_mddev in md_do_syncChristoph Hellwig1-3/+5
2022-08-02md: factor out the rdev overlaps check from rdev_size_storeChristoph Hellwig1-45/+39
2022-08-02md: rename md_free to md_kobj_releaseChristoph Hellwig1-2/+2
2022-08-02md: implement ->free_diskChristoph Hellwig1-6/+12
2022-08-02md: fix error handling in md_allocChristoph Hellwig1-13/+32
2022-08-02md: fix mddev->kobj lifetimeChristoph Hellwig1-6/+4
2022-08-02md/raid5: Convert prepare_to_wait() to wait_woken() apiLogan Gunthorpe1-7/+6
2022-08-02md/raid5: Fix sectors_to_do bitmap overflow in raid5_make_request()Logan Gunthorpe1-8/+11
2022-08-02bcache: remove EXPERIMENTAL for Kconfig option 'Asynchronous device registrat...Coly Li1-1/+1
2022-08-02md: Fix spelling mistake in commentsZhang Jiaming1-2/+2
2022-08-02md/raid5: Increase restriction on max segments per requestLogan Gunthorpe1-0/+3
2022-08-02md/raid5: Improve debug printsLogan Gunthorpe1-2/+6
2022-08-02md/raid5: Pivot raid5_make_request()Logan Gunthorpe1-6/+83
2022-08-02md/raid5: Check all disks in a stripe_head for reshape progressLogan Gunthorpe1-14/+39
2022-08-02md/raid5: Refactor add_stripe_bio()Logan Gunthorpe1-30/+56
2022-08-02md/raid5: Keep a reference to last stripe_head for batchLogan Gunthorpe1-12/+40
2022-08-02md/raid5: Refactor for loop in raid5_make_request() into while loopLogan Gunthorpe1-4/+5
2022-08-02md/raid5: Move read_seqcount_begin() into make_stripe_request()Logan Gunthorpe1-7/+5
2022-08-02md/raid5: Drop the do_prepare flag in raid5_make_request()Logan Gunthorpe1-6/+2
2022-08-02md/raid5: Factor out helper from raid5_make_request() loopLogan Gunthorpe1-98/+133
2022-08-02md/raid5: Move common stripe get code into new find_get_stripe() helperLogan Gunthorpe1-67/+64
2022-08-02md/raid5: Move stripe_add_to_batch_list() call out of add_stripe_bio()Logan Gunthorpe1-2/+3
2022-08-02md/raid5: Refactor raid5_make_request loopLogan Gunthorpe1-54/+55
2022-08-02md/raid5: Factor out ahead_of_reshape() functionLogan Gunthorpe1-12/+15
2022-08-02md/raid5: Make logic blocking check consistent with logic that blocksLogan Gunthorpe1-1/+1
2022-08-02md: unlock mddev before reap sync_thread in action_storeGuoqing Jiang2-2/+18
2022-08-02md: Explicitly create command-line configured devicesChris Webb3-1/+3
2022-08-02md: Notify sysfs sync_completed in md_reap_sync_thread()Logan Gunthorpe1-0/+1
2022-08-02md: Ensure resync is reported after it startsLogan Gunthorpe1-2/+12
2022-08-02md: Use enum for overloaded magic numbers used by mddev->curr_resyncLogan Gunthorpe2-22/+33
2022-08-02md/raid5-cache: Annotate pslot with __rcu notationLogan Gunthorpe1-2/+2
2022-08-02md/raid5-cache: Clear conf->log after finishing workLogan Gunthorpe1-2/+3
2022-08-02md/raid5-cache: Drop RCU usage of conf->logLogan Gunthorpe1-11/+5
2022-08-02md/raid5-cache: Take mddev_lock in r5c_journal_mode_show()Logan Gunthorpe1-6/+9
2022-08-02md/raid5: suspend the array for calls to log_exit()Logan Gunthorpe1-1/+4
2022-08-02md/raid5-ppl: Drop unused argument from ppl_handle_flush_request()Logan Gunthorpe2-3/+3
2022-08-02md/raid5-log: Drop extern decorators for function prototypesLogan Gunthorpe1-39/+36
2022-08-02Merge tag 'hardening-v5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds4-1/+112
2022-08-02Merge tag 'for-6.0/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds19-394/+676
2022-08-02Merge tag 'for-5.20/block-2022-07-29' of git://git.kernel.dk/linux-blockLinus Torvalds26-268/+254
2022-07-28dm: verity-loadpin: Drop use of dm_table_get_num_targets()Matthias Kaehlcke1-1/+2
2022-07-28dm bufio: Add DM_BUFIO_CLIENT_NO_SLEEP flagNathan Huckleberry1-3/+19
2022-07-28dm bufio: Add flags argument to dm_bufio_client_createNathan Huckleberry7-8/+11
2022-07-28dm: fix dm-raid crash if md_handle_request() splits bioMike Snitzer2-7/+7
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-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-22Merge tag 'block-5.19-2022-07-21' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+3
2022-07-19md/raid5: missing error code in setup_conf()Dan Carpenter1-1/+3
2022-07-17dax: introduce holder for dax_deviceShiyang Ruan1-1/+1
2022-07-15dm thin: fix use-after-free crash in dm_sm_register_threshold_callbackLuo Meng2-3/+8
2022-07-14dm writecache: count number of blocks discarded, not number of discard biosMikulas Patocka1-1/+1
2022-07-14dm writecache: count number of blocks written, not number of write biosMikulas Patocka1-3/+9
2022-07-14dm writecache: count number of blocks read, not number of read biosMikulas Patocka1-0/+1
2022-07-14dm writecache: return void from functionsMikulas Patocka1-13/+13
2022-07-14dm kcopyd: use __GFP_HIGHMEM when allocating pagesMikulas Patocka1-1/+1
2022-07-14dm writecache: set a default MAX_WRITEBACK_JOBSMikulas Patocka1-1/+1
2022-07-14fs/buffer: Combine two submit_bh() and ll_rw_block() argumentsBart Van Assche1-2/+2
2022-07-14md/raid5: Use the enum req_op and blk_opf_t typesBart Van Assche1-1/+2
2022-07-14md/raid10: Use the new blk_opf_t typeBart Van Assche1-5/+5
2022-07-14md/raid1: Use the new blk_opf_t typeBart Van Assche1-2/+2
2022-07-14md/bcache: Combine two prio_io() argumentsBart Van Assche1-5/+4
2022-07-14md/bcache: Combine two uuid_io() argumentsBart Van Assche1-8/+8
2022-07-14md/core: Combine two sync_page_io() argumentsBart Van Assche8-30/+29
2022-07-14dm/dm-zoned: Use the enum req_op typeBart Van Assche2-3/+4
2022-07-14dm/zone: Use the enum req_op typeBart Van Assche1-1/+1
2022-07-14dm-snap: Combine request operation type and flagsBart Van Assche1-12/+12
2022-07-14dm mirror log: Use the new blk_opf_t typeBart Van Assche1-1/+1
2022-07-14dm/dm-integrity: Combine request operation and flagsBart Van Assche1-29/+34
2022-07-14dm/dm-flakey: Use the new blk_opf_t typeBart Van Assche1-2/+6
2022-07-14dm/ebs: Change 'int rw' into 'enum req_op op'Bart Van Assche1-7/+8
2022-07-14dm/core: Combine request operation type and flagsBart Van Assche3-33/+32
2022-07-14dm/core: Rename kcopyd_job.rw into kcopyd.opBart Van Assche1-12/+13
2022-07-14dm/core: Reduce the size of struct dm_io_requestBart Van Assche8-43/+27
2022-07-14block: Change the type of req_op() and bio_op() into enum req_opBart Van Assche1-0/+2
2022-07-14treewide: Rename enum req_opf into enum req_opBart Van Assche1-1/+1
2022-07-14block: remove bdevnameChristoph Hellwig3-3/+3
2022-07-08dm: verity-loadpin: Use CONFIG_SECURITY_LOADPIN_VERITY for conditional compil...Matthias Kaehlcke1-6/+1
2022-07-08dm: Add verity helpers for LoadPinMatthias Kaehlcke4-1/+116
2022-07-07dm snapshot: fix typo in snapshot_map() commentZhang Jiaming1-1/+1
2022-07-07dm raid: remove redundant "the" in parse_raid_params() commentJiang Jian1-1/+1
2022-07-07dm cache: fix typo in 2 comment blocksSteven Lung2-2/+2
2022-07-07dm verity: fix checkpatch close brace errorJeongHyeon Lee1-4/+3
2022-07-07dm table: rename dm_target variable in dm_table_add_target()Mike Snitzer1-28/+28
2022-07-07dm table: audit all dm_table_get_target() callersMike Snitzer6-143/+97
2022-07-07dm table: remove dm_table_get_num_targets() wrapperMike Snitzer5-28/+23
2022-07-07dm: add two stage requeue mechanismMing Lei3-31/+130
2022-07-07dm: add dm_bio_rewind() API to DM coreMing Lei3-1/+146
2022-07-06block: move zone related fields to struct gendiskChristoph Hellwig1-39/+35
2022-07-06block: remove blk_queue_zone_sectorsChristoph Hellwig2-7/+7
2022-07-06dm-zoned: cleanup dmz_fixup_devicesChristoph Hellwig1-12/+12
2022-07-06block: replace blkdev_nr_zones with bdev_nr_zonesChristoph Hellwig2-4/+3
2022-07-06block: use bdev_is_zoned instead of open coding itChristoph Hellwig3-3/+3
2022-07-03mm: shrinkers: provide shrinkers with namesRoman Gushchin4-4/+7
2022-06-29dm raid: fix KASAN warning in raid5_add_disksMikulas Patocka1-0/+1
2022-06-29dm raid: fix KASAN warning in raid5_remove_diskMikulas Patocka1-1/+4
2022-06-29dm: improve BLK_STS_DM_REQUEUE and BLK_STS_AGAIN handlingMing Lei1-25/+45
2022-06-29dm: refactor dm_md_mempool allocationChristoph Hellwig4-71/+44
2022-06-29dm: unexport dm_get_reserved_rq_based_iosChristoph Hellwig1-1/+0
2022-06-28block: remove blk_cleanup_diskChristoph Hellwig3-4/+4
2022-06-27dm raid: fix accesses beyond end of raid member arrayHeinz Mauelshagen1-16/+18
2022-06-27dm: open code blk_max_size_offset in max_io_lenChristoph Hellwig1-11/+6
2022-06-23dm mirror log: clear log bits up to BITS_PER_LONG boundaryMikulas Patocka1-1/+1
2022-06-23dm: fix BLK_STS_DM_REQUEUE handling when dm_io represents split bioMing Lei2-4/+8
2022-06-21dm: do not return early from dm_io_complete if BLK_STS_AGAIN without pollingMike Snitzer1-1/+3
2022-06-21dm era: commit metadata in postsuspend after worker stopsNikos Tsironis1-1/+7
2022-06-17Merge tag 'block-5.19-2022-06-16' of git://git.kernel.dk/linux-blockLinus Torvalds4-13/+9
2022-06-16dm mirror log: round up region bitmap size to BITS_PER_LONGMikulas Patocka1-2/+1
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-15md/raid5-ppl: Fix argument order in bio_alloc_bioset()Logan Gunthorpe1-2/+2
2022-06-15Revert "md: don't unregister sync_thread with reconfig_mutex held"Guoqing Jiang3-11/+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 Hellwig5-75/+35
2022-06-03Merge tag 'for-5.19/drivers-2022-06-02' of git://git.kernel.dk/linux-blockLinus Torvalds20-328/+296
2022-06-01Merge tag 'for-5.19/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-4/+16
2022-05-31dm verity: set DM_TARGET_IMMUTABLE feature flagSarthak Kukreti1-0/+1
2022-05-31dm table: fix dm_table_supports_poll to return false if no data devicesMike Snitzer1-4/+15
2022-05-28bcache: avoid unnecessary soft lockup in kworker update_writeback_rate()Coly Li2-10/+28
2022-05-27Merge tag 'libnvdimm-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds6-12/+69
2022-05-27md: bcache: check the return value of kzalloc() in detached_dev_do_request()Jia-Ju Bai1-0/+6
2022-05-27bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_...Coly Li2-0/+2
2022-05-26Merge tag 'for-5.19/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds15-287/+409
2022-05-24bcache: avoid journal no-space deadlock by reserving 1 journal bucketColy Li3-5/+29
2022-05-24bcache: remove incremental dirty sector counting for bch_sectors_dirty_init()Coly Li1-27/+12
2022-05-24bcache: improve multithreaded bch_sectors_dirty_init()Coly Li2-37/+25
2022-05-24bcache: improve multithreaded bch_btree_check()Coly Li2-33/+27
2022-05-23Merge tag 'for-5.19/drivers-2022-05-22' of git://git.kernel.dk/linux-blockLinus Torvalds11-228/+322
2022-05-23Merge tag 'for-5.19/block-2022-05-22' of git://git.kernel.dk/linux-blockLinus Torvalds21-150/+71
2022-05-22md: fix double free of io_acct_set biosetXiao Ni1-4/+0
2022-05-22md: Don't set mddev private to NULL in raid0 pers->freeXiao Ni1-1/+0
2022-05-22md: remove most calls to bdevnameChristoph Hellwig9-200/+147
2022-05-22md: protect md_unregister_thread from reentrancyGuoqing Jiang1-5/+10
2022-05-22md: don't unregister sync_thread with reconfig_mutex heldGuoqing Jiang3-7/+11
2022-05-16dax: add .recovery_write dax_operationJane Chu4-0/+50
2022-05-16dax: introduce DAX_RECOVERY_WRITE dax access modeJane Chu6-12/+19
2022-05-11dm: pass NULL bdev to bio_alloc_cloneMike Snitzer1-16/+24
2022-05-09dm cache metadata: remove unnecessary variable in __dump_mappingGuo Zhengkui1-2/+1
2022-05-09dm mpath: provide high-resolution timer to HST for bio-basedGabriel Krisman Bertazi3-1/+23
2022-05-09dm crypt: make printing of the key constant-timeMikulas Patocka1-3/+11
2022-05-09dm integrity: fix error code in dm_integrity_ctr()Dan Carpenter1-2/+0
2022-05-09dm stats: add cond_resched when looping over entriesMikulas Patocka1-0/+8
2022-05-05dm: improve abnormal bio processingMike Snitzer1-31/+36
2022-05-05dm: simplify bio-based IO accounting furtherMike Snitzer2-34/+6
2022-05-05dm: put all polled dm_io instances into a single listMing Lei2-26/+28
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 Lei3-18/+6
2022-05-05dm: improve bio splitting and associated IO accountingMing Lei2-24/+59
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: simplify basic targetsMike Snitzer3-14/+4
2022-05-05dm: conditionally enable branching for less used featuresMike Snitzer4-23/+53