aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/raid1.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-08raid1: fix use-after-free for original bio in raid1_write_request()Gravatar Yu Kuai 1-1/+1
2024-03-06md: remove mddev->queueGravatar Christoph Hellwig 1-1/+1
2024-03-06md/raid1: use the atomic queue limit update APIsGravatar Christoph Hellwig 1-9/+16
2024-03-06md: add a mddev_is_dm helperGravatar Christoph Hellwig 1-8/+5
2024-03-06md: add a mddev_add_trace_msg helperGravatar Christoph Hellwig 1-6/+4
2024-03-06md: add a mddev_trace_remap helperGravatar Christoph Hellwig 1-9/+2
2024-02-29md/raid1: factor out helpers to choose the best rdev from read_balance()Gravatar Yu Kuai 1-77/+98
2024-02-29md/raid1: factor out the code to manage sequential IOGravatar Yu Kuai 1-34/+37
2024-02-29md/raid1: factor out choose_bb_rdev() from read_balance()Gravatar Yu Kuai 1-31/+48
2024-02-29md/raid1: factor out choose_slow_rdev() from read_balance()Gravatar Yu Kuai 1-17/+52
2024-02-29md/raid1: factor out read_first_rdev() from read_balance()Gravatar Yu Kuai 1-17/+46
2024-02-29md/raid1-10: factor out a new helper raid1_should_read_first()Gravatar Yu Kuai 1-13/+2
2024-02-29md/raid1: fix choose next idle in read_balance()Gravatar Yu Kuai 1-10/+22
2024-02-29md/raid1: record nonrot rdevs while adding/removing rdevs to confGravatar Yu Kuai 1-7/+10
2024-02-29md/raid1: factor out helpers to add rdev to confGravatar Yu Kuai 1-32/+53
2024-02-29md: add a new helper rdev_has_badblock()Gravatar Yu Kuai 1-19/+7
2024-01-24md: fix a suspicious RCU usage warningGravatar Mikulas Patocka 1-1/+1
2024-01-09md/raid1: Use blk_opf_t for read and write operationsGravatar Bart Van Assche 1-6/+6
2023-12-15md/raid1: support read error checkGravatar Li Nan 1-5/+12
2023-12-15md: factor out a helper exceed_read_errors() to check read_errorsGravatar Li Nan 1-0/+1
2023-12-15md/raid1: remove unnecessary null checkingGravatar Gou Hao 1-2/+0
2023-11-27md/raid1: remove rcu protection to access rdev from confGravatar Yu Kuai 1-39/+23
2023-11-27md: remove flag RemoveSynchronizedGravatar Yu Kuai 1-9/+0
2023-10-09md/raid1: don't split discard io for write behindGravatar Yu Kuai 1-1/+2
2023-09-22md: initialize 'writes_pending' while allocating mddevGravatar Yu Kuai 1-2/+1
2023-09-11md/raid1: fix error: ISO C90 forbids mixed declarationsGravatar Nigel Croxon 1-2/+1
2023-08-17md raid1: allow writebehind to work on any leg device set WriteMostlyGravatar Heinz Mauelshagen 1-2/+1
2023-08-17md/raid1: hold the barrier until handle_read_error() finishesGravatar Xueshi Hu 1-1/+3
2023-08-17md/raid1: free the r1bio before waiting for blocked rdevGravatar Xueshi Hu 1-2/+2
2023-08-17md/raid1: call free_r1bio() before allow_barrier() in raid_end_bio_io()Gravatar Xueshi Hu 1-3/+4
2023-08-15md: Hold mddev->reconfig_mutex when trying to get mddev->sync_threadGravatar Li Lingfeng 1-2/+2
2023-08-15md: raid1: fix potential OOB in raid1_remove_disk()Gravatar Zhang Shurong 1-0/+4
2023-07-27md/raid1: Avoid lock contention from wake_up()Gravatar Jack Wang 1-6/+12
2023-07-27md: remove redundant check in fix_read_error()Gravatar Li Nan 1-1/+1
2023-07-27md/raid1: prioritize adding disk to 'removed' mirrorGravatar Li Nan 1-11/+15
2023-07-27md/raid1: switch to use md_account_bio() for io accountingGravatar Yu Kuai 1-8/+6
2023-06-13md/raid1-10: limit the number of plugged bioGravatar Yu Kuai 1-1/+1
2023-06-13md/raid1-10: don't handle pluged bio by daemon threadGravatar Yu Kuai 1-2/+2
2023-06-13md/raid1-10: factor out a helper to submit normal writeGravatar Yu Kuai 1-11/+2
2023-06-13md/raid1-10: factor out a helper to add bio to plugGravatar Yu Kuai 1-11/+1
2023-06-13md: protect md_thread with rcuGravatar Yu Kuai 1-3/+4
2023-06-01md: raid1: use __bio_add_page for adding single page to bioGravatar Johannes Thumshirn 1-1/+1
2023-06-01md: check for failure when adding pages in alloc_behind_master_bioGravatar Johannes Thumshirn 1-1/+4
2022-12-07block: remove bio_set_op_attrsGravatar Christoph Hellwig 1-6/+6
2022-11-14md/raid1: stop mdx_raid1 thread when raid1 array run failedGravatar Jiang Li 1-0/+1
2022-07-14md/raid1: Use the new blk_opf_t typeGravatar Bart Van Assche 1-2/+2
2022-07-14md/core: Combine two sync_page_io() argumentsGravatar Bart Van Assche 1-4/+4
2022-07-14block: remove bdevnameGravatar Christoph Hellwig 1-1/+1
2022-05-22md: remove most calls to bdevnameGravatar Christoph Hellwig 1-14/+10
2022-04-25md: Set MD_BROKEN for RAID1 and RAID10Gravatar Mariusz Tkaczyk 1-17/+26