index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
drivers
/
md
/
raid10.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-03-11
Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linux
Linus Torvalds
1
-85
/
+58
2024-03-06
md: remove mddev->queue
Christoph Hellwig
1
-1
/
+1
2024-03-06
md/raid10: use the atomic queue limit update APIs
Christoph Hellwig
1
-27
/
+33
2024-03-06
md: add a mddev_is_dm helper
Christoph Hellwig
1
-5
/
+5
2024-03-06
md: add a mddev_add_trace_msg helper
Christoph Hellwig
1
-8
/
+7
2024-03-06
md: add a mddev_trace_remap helper
Christoph Hellwig
1
-8
/
+2
2024-02-29
md/raid1-10: factor out a new helper raid1_should_read_first()
Yu Kuai
1
-11
/
+2
2024-02-29
md: add a new helper rdev_has_badblock()
Yu Kuai
1
-31
/
+14
2024-02-15
md: Don't register sync_thread for reshape directly
Yu Kuai
1
-14
/
+2
2023-12-15
md: factor out a helper exceed_read_errors() to check read_errors
Li Nan
1
-46
/
+3
2023-11-27
md/raid10: remove rcu protection to access rdev from conf
Yu Kuai
1
-155
/
+58
2023-11-27
md: remove flag RemoveSynchronized
Yu Kuai
1
-9
/
+0
2023-09-22
md: initialize 'writes_pending' while allocating mddev
Yu Kuai
1
-3
/
+0
2023-08-15
md: Hold mddev->reconfig_mutex when trying to get mddev->sync_thread
Li Lingfeng
1
-1
/
+1
2023-08-15
md/raid10: fix a 'conf->barrier' leakage in raid10_takeover()
Yu Kuai
1
-1
/
+0
2023-07-27
md/raid10: use dereference_rdev_and_rrdev() to get devices
Li Nan
1
-10
/
+5
2023-07-27
md/raid10: factor out dereference_rdev_and_rrdev()
Li Nan
1
-9
/
+20
2023-07-27
md/raid10: check replacement and rdev to prevent submit the same io twice
Li Nan
1
-0
/
+2
2023-07-27
md: remove redundant check in fix_read_error()
Li Nan
1
-1
/
+1
2023-07-27
md/raid10: optimize fix_read_error
Li Nan
1
-10
/
+10
2023-07-27
md/raid10: switch to use md_account_bio() for io accounting
Yu Kuai
1
-11
/
+9
2023-06-23
raid10: avoid spin_lock from fastpath from raid10_unplug()
Yu Kuai
1
-2
/
+2
2023-06-23
md/raid10: fix the condition to call bio_end_io_acct()
Li Nan
1
-1
/
+1
2023-06-13
md/raid1-10: limit the number of plugged bio
Yu Kuai
1
-1
/
+1
2023-06-13
md/raid1-10: don't handle pluged bio by daemon thread
Yu Kuai
1
-5
/
+3
2023-06-13
md/raid1-10: factor out a helper to submit normal write
Yu Kuai
1
-22
/
+4
2023-06-13
md/raid1-10: factor out a helper to add bio to plug
Yu Kuai
1
-10
/
+1
2023-06-13
md/raid10: prevent soft lockup while flush writes
Yu Kuai
1
-0
/
+2
2023-06-13
md/raid10: fix io loss while replacement replace rdev
Li Nan
1
-4
/
+18
2023-06-13
md/raid10: Do not add spare disk when recovery fails
Li Nan
1
-2
/
+18
2023-06-13
md/raid10: prioritize adding disk to 'removed' mirror
Li Nan
1
-15
/
+20
2023-06-13
md/raid10: improve code of mrdev in raid10_sync_request
Li Nan
1
-11
/
+12
2023-06-13
md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
Li Nan
1
-9
/
+5
2023-06-13
md: protect md_thread with rcu
Yu Kuai
1
-8
/
+12
2023-06-01
md: raid1: check if adding pages to resync bio fails
Johannes Thumshirn
1
-10
/
+10
2023-04-14
md/raid10: don't call bio_start_io_acct twice for bio which experienced read ...
Yu Kuai
1
-1
/
+3
2023-04-14
md/raid10: fix memleak of md thread
Yu Kuai
1
-3
/
+3
2023-04-14
md/raid10: fix memleak for 'conf->bio_split'
Yu Kuai
1
-20
/
+17
2023-04-14
md/raid10: fix leak of 'r10bio->remaining' for recovery
Yu Kuai
1
-10
/
+13
2023-04-13
md/raid10: don't BUG_ON() in raise_barrier()
Yu Kuai
1
-1
/
+3
2023-04-13
md/raid10: Fix typo in comment (replacment -> replacement)
Jiangshan Yi
1
-1
/
+1
2023-04-13
md/raid10: fix null-ptr-deref in raid10_sync_request
Li Nan
1
-4
/
+4
2023-04-13
md/raid10: fix task hung in raid10d
Li Nan
1
-5
/
+13
2022-12-07
block: remove bio_set_op_attrs
Christoph Hellwig
1
-9
/
+9
2022-11-14
md/raid0, raid10: Don't set discard sectors for request queue
Xiao Ni
1
-2
/
+0
2022-10-07
Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linux
Linus Torvalds
1
-55
/
+96
2022-09-22
md/raid10: convert resync_lock to use seqlock
Yu Kuai
1
-29
/
+58
2022-09-22
md/raid10: fix improper BUG_ON() in raise_barrier()
Yu Kuai
1
-1
/
+1
2022-09-22
md/raid10: prevent unnecessary calls to wake_up() in fast path
Yu Kuai
1
-2
/
+8
2022-09-22
md/raid10: don't modify 'nr_waitng' in wait_barrier() for the case nowait
Yu Kuai
1
-2
/
+2
2022-09-22
md/raid10: factor out code from wait_barrier() to stop_waiting_barrier()
Yu Kuai
1
-22
/
+28
2022-09-22
md/raid10: fix compile warning
Guoqing Jiang
1
-1
/
+1
2022-08-24
md/raid10: Fix the data type of an r10_sync_page_io() argument
Bart Van Assche
1
-7
/
+6
2022-08-02
md-raid10: fix KASAN warning
Mikulas Patocka
1
-1
/
+4
2022-07-14
md/raid10: Use the new blk_opf_t type
Bart Van Assche
1
-5
/
+5
2022-07-14
md/core: Combine two sync_page_io() arguments
Bart Van Assche
1
-5
/
+5
2022-07-14
block: remove bdevname
Christoph Hellwig
1
-1
/
+1
2022-05-22
md: remove most calls to bdevname
Christoph Hellwig
1
-32
/
+22
2022-04-25
md: Set MD_BROKEN for RAID1 and RAID10
Mariusz Tkaczyk
1
-16
/
+24
2022-04-17
block: remove QUEUE_FLAG_DISCARD
Christoph Hellwig
1
-16
/
+2
2022-04-17
block: add a bdev_nonrot helper
Christoph Hellwig
1
-1
/
+1
2022-04-17
block: turn bio_kmalloc into a simple kmalloc wrapper
Christoph Hellwig
1
-7
/
+14
2022-03-24
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Linus Torvalds
1
-1
/
+0
2022-03-08
md: raid1/raid10: drop pending_cnt
Mariusz Tkaczyk
1
-14
/
+3
2022-02-22
scsi: md: Remove WRITE_SAME support
Christoph Hellwig
1
-1
/
+0
2022-02-04
block: pass a block_device to bio_clone_fast
Christoph Hellwig
1
-8
/
+8
2022-02-02
block: pass a block_device and opf to bio_reset
Christoph Hellwig
1
-5
/
+3
2022-02-02
block: pass a block_device and opf to bio_alloc_bioset
Christoph Hellwig
1
-4
/
+2
2022-01-06
md: raid10 add nowait support
Vishal Verma
1
-33
/
+67
2022-01-06
md: drop queue limitation for RAID1 and RAID10
Mariusz Tkaczyk
1
-7
/
+0
2021-10-18
md: remove unused argument from md_new_event
Guoqing Jiang
1
-1
/
+1
2021-08-30
Merge tag 'for-5.15/drivers-2021-08-30' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-4
/
+10
2021-08-26
md/raid10: Remove unnecessary rcu_dereference in raid10_handle_discard
Xiao Ni
1
-4
/
+10
2021-08-04
Merge branch 'md-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/so...
Jens Axboe
1
-2
/
+2
2021-07-23
md/raid10: properly indicate failure when ending a failed write request
Wei Shuyu
1
-2
/
+2
2021-06-14
md/raid10: enable io accounting
Guoqing Jiang
1
-0
/
+6
2021-03-24
md/raid10: improve discard request for far layout
Xiao Ni
1
-19
/
+60
2021-03-24
md/raid10: improve raid10 discard request
Xiao Ni
1
-1
/
+262
2021-03-24
md/raid10: pull the code that wait for blocked dev into one function
Xiao Ni
1
-51
/
+69
2021-03-24
md/raid10: extend r10bio devs to raid disks
Xiao Ni
1
-5
/
+5
2021-02-08
md/raid10: remove dead code in reshape_request
Christoph Hellwig
1
-4
/
+0
2021-01-27
md: remove bio_alloc_mddev
Christoph Hellwig
1
-1
/
+1
2021-01-24
block: store a block_device pointer in struct bio
Christoph Hellwig
1
-6
/
+6
2020-12-16
Merge tag 'for-5.11/drivers-2020-12-14' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-1
/
+2
2020-12-16
Merge tag 'for-5.11/block-2020-12-14' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-4
/
+2
2020-12-09
Revert "md/raid10: extend r10bio devs to raid disks"
Song Liu
1
-4
/
+5
2020-12-09
Revert "md/raid10: pull codes that wait for blocked dev into one function"
Song Liu
1
-67
/
+51
2020-12-09
Revert "md/raid10: improve raid10 discard request"
Song Liu
1
-255
/
+1
2020-12-09
Revert "md/raid10: improve discard request for far layout"
Song Liu
1
-63
/
+23
2020-12-04
block: remove the request_queue argument to the block_bio_remap tracepoint
Christoph Hellwig
1
-4
/
+2
2020-11-30
md/raid10: initialize r10_bio->read_slot before use.
Kevin Vigor
1
-1
/
+2
2020-09-24
md/raid10: improve discard request for far layout
Xiao Ni
1
-23
/
+63
2020-09-24
md/raid10: improve raid10 discard request
Xiao Ni
1
-1
/
+255
2020-09-24
md/raid10: pull codes that wait for blocked dev into one function
Xiao Ni
1
-51
/
+67
2020-09-24
md/raid10: extend r10bio devs to raid disks
Xiao Ni
1
-5
/
+4
2020-09-24
md: Simplify code with existing definition RESYNC_SECTORS in raid10.c
Zhen Lei
1
-4
/
+4
2020-09-24
block: lift setting the readahead size into the block layer
Christoph Hellwig
1
-23
/
+1
2020-09-24
md: update the optimal I/O size on reshape
Christoph Hellwig
1
-8
/
+14
2020-08-05
Merge tag 'for-5.9/drivers-20200803' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-6
/
+14
2020-07-22
md/raid10: avoid deadlock on recovery.
Vitaly Mayatskikh
1
-3
/
+11
2020-07-15
md: raid10: Fix compilation warning
Damien Le Moal
1
-2
/
+2
2020-07-14
md: fix deadlock causing by sysfs_notify
Junxiao Bi
1
-1
/
+1
2020-07-08
writeback: remove bdi->congested_fn
Christoph Hellwig
1
-26
/
+0
2020-07-01
block: rename generic_make_request to submit_bio_noacct
Christoph Hellwig
1
-14
/
+14
2019-11-11
md/raid10: prevent access of uninitialized resync_pages offset
John Pittman
1
-1
/
+1
2019-10-24
md: improve handling of bio with REQ_PREFLUSH in md_flush_request()
David Jeffery
1
-3
/
+2
2019-08-07
md: allow last device to be forcibly removed from RAID1/RAID10.
Guoqing Jiang
1
-3
/
+3
2019-08-07
md/raid10: end bio when the device faulty
Yufen Yu
1
-12
/
+14
2019-06-15
md/raid10: read balance chooses idlest disk for SSD
Guoqing Jiang
1
-12
/
+33
2019-06-15
md: raid1-10: Unify r{1,10}bio_pool_free
Marcos Paulo de Souza
1
-8
/
+3
2019-06-15
md: raid10: Use struct_size() in kmalloc()
Gustavo A. R. Silva
1
-2
/
+1
2019-06-15
drivers: md: Unify common definitions of raid1 and raid10
Marcos Paulo de Souza
1
-26
/
+1
2019-05-24
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 47
Thomas Gleixner
1
-10
/
+1
2019-03-12
md: Fix failed allocation of md_register_thread
Aditya Pakki
1
-0
/
+2
2019-03-12
It's wrong to add len to sector_nr in raid10 reshape twice
Xiao Ni
1
-1
/
+0
2018-12-20
md: fix raid10 hang issue caused by barrier
Guoqing Jiang
1
-0
/
+4
2018-12-20
raid10: refactor common wait code from regular read/write request
Guoqing Jiang
1
-47
/
+25
2018-10-18
md-cluster: introduce resync_info_get interface for sanity check
Guoqing Jiang
1
-1
/
+7
2018-10-18
md-cluster/raid10: support add disk under grow mode
Guoqing Jiang
1
-0
/
+34
2018-10-18
md-cluster/raid10: resize all the bitmaps before start reshape
Guoqing Jiang
1
-3
/
+38
2018-10-14
MD: fix invalid stored role for a disk - try2
Shaohua Li
1
-0
/
+1
2018-09-28
md/raid10: Fix raid10 replace hang when new added disk faulty
Alex Wu
1
-13
/
+14
2018-08-31
RAID10 BUG_ON in raise_barrier when force is true and conf->barrier is 0
Xiao Ni
1
-1
/
+4
2018-08-18
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto...
Linus Torvalds
1
-27
/
+25
2018-08-01
md: Avoid namespace collision with bitmap API
Andy Shevchenko
1
-27
/
+25
2018-06-28
md/raid10: fix that replacement cannot complete recovery after reassemble
BingJing Chang
1
-0
/
+7
2018-06-12
treewide: kzalloc() -> kcalloc()
Kees Cook
1
-7
/
+6
2018-06-12
treewide: kmalloc() -> kmalloc_array()
Kees Cook
1
-1
/
+1
2018-06-09
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
Linus Torvalds
1
-4
/
+6
2018-05-30
md: convert to bioset_init()/mempool_init()
Kent Overstreet
1
-31
/
+29
2018-05-01
raid10: check bio in r10buf_pool_free to void NULL pointer dereference
Guoqing Jiang
1
-3
/
+5
2018-05-01
md: fix an error code format and remove unsed bio_sector
Yufen Yu
1
-1
/
+1
2018-04-05
Merge tag 'for-4.17/block-20180402' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-3
/
+3
2018-03-08
block: Use blk_queue_flag_*() in drivers instead of queue_flag_*()
Bart Van Assche
1
-3
/
+3
2018-02-25
md: fix a potential deadlock of raid5/raid10 reshape
BingJing Chang
1
-7
/
+1
2018-02-25
md-cluster: choose correct label when clustered layout is not supported
Lidong Zhong
1
-1
/
+1
2018-02-19
md raid10: fix NULL deference in handle_write_completed()
Yufen Yu
1
-2
/
+4
2018-02-17
raid10: change the size of resync window for clustered raid
Guoqing Jiang
1
-1
/
+1
2017-12-11
md/raid1,raid10: silence warning about wait-within-wait
NeilBrown
1
-0
/
+12
2017-12-01
md/raid1/10: add missed blk plug
Shaohua Li
1
-0
/
+4
2017-11-01
md-cluster: Use a small window for raid10 resync
Guoqing Jiang
1
-1
/
+112
2017-11-01
md-cluster: Suspend writes in RAID10 if within range
Guoqing Jiang
1
-0
/
+16
2017-11-01
md-cluster/raid10: set "do_balance = 0" if area is resyncing
Guoqing Jiang
1
-2
/
+5
2017-11-01
md: remove special meaning of ->quiesce(.., 2)
NeilBrown
1
-7
/
+3
2017-10-16
md: raid10: remove a couple of redundant variables and initializations
Colin Ian King
1
-5
/
+1
2017-10-16
md: rename some drivers/md/ files to have an "md-" prefix
Mike Snitzer
1
-1
/
+1
2017-10-16
md: raid10: remove VLAIS
Matthias Kaehlcke
1
-5
/
+10
2017-09-07
Merge tag 'md/4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
Linus Torvalds
1
-3
/
+32
2017-08-25
md/raid1/10: reset bio allocated from mempool
Shaohua Li
1
-3
/
+32
2017-08-23
block: replace bi_bdev with a gendisk pointer and partitions index
Christoph Hellwig
1
-26
/
+24
2017-07-21
md: simplify code with bio_io_error
Guoqing Jiang
1
-4
/
+2
2017-07-21
md: raid1-10: move raid1/raid10 common code into raid1-10.c
Ming Lei
1
-9
/
+0
2017-07-21
md: raid1/raid10: initialize bvec table via bio_add_page()
Ming Lei
1
-2
/
+4
2017-07-21
md: remove 'idx' from 'struct resync_pages'
Ming Lei
1
-3
/
+3
2017-07-08
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
Linus Torvalds
1
-7
/
+9
2017-06-18
blk: replace bioset_create_nobvec() with a flags arg to bioset_create()
NeilBrown
1
-1
/
+1
2017-06-16
md/raid10: fix FailFast test for wrong device
Guoqing Jiang
1
-3
/
+3
2017-06-13
md: fix deadlock between mddev_suspend() and md_write_start()
NeilBrown
1
-4
/
+6
2017-06-12
Merge tag 'v4.12-rc5' into for-4.13/block
Jens Axboe
1
-0
/
+3
2017-06-09
block: switch bios to blk_status_t
Christoph Hellwig
1
-18
/
+18
2017-06-05
md: initialise ->writes_pending in personality modules.
NeilBrown
1
-0
/
+3
2017-05-11
md/raid1/10: avoid unnecessary locking
Shaohua Li
1
-4
/
+3
2017-05-01
Merge branch 'md-next' into md-linus
Shaohua Li
1
-430
/
+306
2017-05-01
md/raid10: skip spare disk as 'first' disk
Shaohua Li
1
-1
/
+1
2017-04-25
md: clear WantReplacement once disk is removed
Guoqing Jiang
1
-6
/
+2
2017-04-23
md/raid1/10: remove unused queue
Lidong Zhong
1
-2
/
+0
2017-04-20
md/raid10: wait up frozen array in handle_write_completed
Guoqing Jiang
1
-0
/
+5
2017-04-11
md/raid10: simplify handle_read_error()
NeilBrown
1
-75
/
+47
2017-04-11
md/raid10: simplify the splitting of requests.
NeilBrown
1
-114
/
+50
2017-04-10
md/raid10: reset the 'first' at the end of loop
Guoqing Jiang
1
-0
/
+2
2017-04-08
md: support REQ_OP_WRITE_ZEROES
Christoph Hellwig
1
-0
/
+1
2017-03-24
md: raid10: avoid direct access to bvec table in handle_reshape_read_error
Ming Lei
1
-2
/
+5
2017-03-24
md: raid10: retrieve page from preallocated resync page array
Ming Lei
1
-4
/
+9
2017-03-24
md: raid10: don't use bio's vec table to manage resync pages
Ming Lei
1
-52
/
+82
2017-03-24
md: raid10: refactor code of read reshape's .bi_end_io
Ming Lei
1
-10
/
+18
2017-03-24
md: move two macros into md.h
Ming Lei
1
-3
/
+0
2017-03-24
md: raid1/raid10: don't handle failure of bio_add_page()
Ming Lei
1
-31
/
+10
2017-03-23
md/raid10: refactor some codes from raid10_write_request
Guoqing Jiang
1
-100
/
+75
2017-03-22
md/raid10: stop using bi_phys_segments
NeilBrown
1
-51
/
+25
2017-03-22
md/raid1, raid10: move rXbio accounting closer to allocation.
NeilBrown
1
-13
/
+9
2017-03-16
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shl...
Linus Torvalds
1
-7
/
+34
2017-03-11
blk: Ensure users for current->bio_list can see the full list.
NeilBrown
1
-1
/
+2
2017-03-09
md/raid1/10: fix potential deadlock
Shaohua Li
1
-0
/
+18
2017-03-09
md: move funcs from pers->resize to update_size
Guoqing Jiang
1
-4
/
+0
2017-03-09
md/raid10: submit bio directly to replacement disk
Shaohua Li
1
-3
/
+16
2017-02-24
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
Linus Torvalds
1
-6
/
+5
2017-02-15
md: fast clone bio in bio_clone_mddev()
Ming Lei
1
-6
/
+5
2017-02-02
block: Use pointer to backing_dev_info from request_queue
Jan Kara
1
-5
/
+5
2017-01-03
md/raid10: Refactor raid10_make_request
Robert LeBlanc
1
-105
/
+140
2016-12-08
md: separate flags for superblock changes
Shaohua Li
1
-11
/
+11
2016-11-22
md/raid10: add failfast handling for writes.
NeilBrown
1
-1
/
+28
2016-11-22
md/raid10: add failfast handling for reads.
NeilBrown
1
-5
/
+44
2016-11-22
md: Use REQ_FAILFAST_* on metadata writes where appropriate
NeilBrown
1
-0
/
+1
2016-11-18
md/raid1, raid10: add blktrace records when IO is delayed
NeilBrown
1
-0
/
+8
2016-11-18
md: add block tracing for bio_remapping
NeilBrown
1
-2
/
+29
2016-11-07
md/raid10: abort delayed writes when device fails.
NeilBrown
1
-6
/
+16
2016-11-07
md/raid10: change printk() to pr_*()
NeilBrown
1
-85
/
+56
2016-10-24
RAID10: ignore discard error
Shaohua Li
1
-2
/
+5
2016-08-30
Merge tag 'md/4.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
Linus Torvalds
1
-6
/
+7
2016-08-24
raid10: record correct address of bad block
Tomasz Majchrzak
1
-4
/
+5
[next]