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
/
raid1.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-03-08
raid1: fix use-after-free for original bio in raid1_write_request()
Yu Kuai
1
-1
/
+1
2024-03-06
md: remove mddev->queue
Christoph Hellwig
1
-1
/
+1
2024-03-06
md/raid1: use the atomic queue limit update APIs
Christoph Hellwig
1
-9
/
+16
2024-03-06
md: add a mddev_is_dm helper
Christoph Hellwig
1
-8
/
+5
2024-03-06
md: add a mddev_add_trace_msg helper
Christoph Hellwig
1
-6
/
+4
2024-03-06
md: add a mddev_trace_remap helper
Christoph Hellwig
1
-9
/
+2
2024-02-29
md/raid1: factor out helpers to choose the best rdev from read_balance()
Yu Kuai
1
-77
/
+98
2024-02-29
md/raid1: factor out the code to manage sequential IO
Yu Kuai
1
-34
/
+37
2024-02-29
md/raid1: factor out choose_bb_rdev() from read_balance()
Yu Kuai
1
-31
/
+48
2024-02-29
md/raid1: factor out choose_slow_rdev() from read_balance()
Yu Kuai
1
-17
/
+52
2024-02-29
md/raid1: factor out read_first_rdev() from read_balance()
Yu Kuai
1
-17
/
+46
2024-02-29
md/raid1-10: factor out a new helper raid1_should_read_first()
Yu Kuai
1
-13
/
+2
2024-02-29
md/raid1: fix choose next idle in read_balance()
Yu Kuai
1
-10
/
+22
2024-02-29
md/raid1: record nonrot rdevs while adding/removing rdevs to conf
Yu Kuai
1
-7
/
+10
2024-02-29
md/raid1: factor out helpers to add rdev to conf
Yu Kuai
1
-32
/
+53
2024-02-29
md: add a new helper rdev_has_badblock()
Yu Kuai
1
-19
/
+7
2024-01-24
md: fix a suspicious RCU usage warning
Mikulas Patocka
1
-1
/
+1
2024-01-09
md/raid1: Use blk_opf_t for read and write operations
Bart Van Assche
1
-6
/
+6
2023-12-15
md/raid1: support read error check
Li Nan
1
-5
/
+12
2023-12-15
md: factor out a helper exceed_read_errors() to check read_errors
Li Nan
1
-0
/
+1
2023-12-15
md/raid1: remove unnecessary null checking
Gou Hao
1
-2
/
+0
2023-11-27
md/raid1: remove rcu protection to access rdev from conf
Yu Kuai
1
-39
/
+23
2023-11-27
md: remove flag RemoveSynchronized
Yu Kuai
1
-9
/
+0
2023-10-09
md/raid1: don't split discard io for write behind
Yu Kuai
1
-1
/
+2
2023-09-22
md: initialize 'writes_pending' while allocating mddev
Yu Kuai
1
-2
/
+1
2023-09-11
md/raid1: fix error: ISO C90 forbids mixed declarations
Nigel Croxon
1
-2
/
+1
2023-08-17
md raid1: allow writebehind to work on any leg device set WriteMostly
Heinz Mauelshagen
1
-2
/
+1
2023-08-17
md/raid1: hold the barrier until handle_read_error() finishes
Xueshi Hu
1
-1
/
+3
2023-08-17
md/raid1: free the r1bio before waiting for blocked rdev
Xueshi Hu
1
-2
/
+2
2023-08-17
md/raid1: call free_r1bio() before allow_barrier() in raid_end_bio_io()
Xueshi Hu
1
-3
/
+4
2023-08-15
md: Hold mddev->reconfig_mutex when trying to get mddev->sync_thread
Li Lingfeng
1
-2
/
+2
2023-08-15
md: raid1: fix potential OOB in raid1_remove_disk()
Zhang Shurong
1
-0
/
+4
2023-07-27
md/raid1: Avoid lock contention from wake_up()
Jack Wang
1
-6
/
+12
2023-07-27
md: remove redundant check in fix_read_error()
Li Nan
1
-1
/
+1
2023-07-27
md/raid1: prioritize adding disk to 'removed' mirror
Li Nan
1
-11
/
+15
2023-07-27
md/raid1: switch to use md_account_bio() for io accounting
Yu Kuai
1
-8
/
+6
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
-2
/
+2
2023-06-13
md/raid1-10: factor out a helper to submit normal write
Yu Kuai
1
-11
/
+2
2023-06-13
md/raid1-10: factor out a helper to add bio to plug
Yu Kuai
1
-11
/
+1
2023-06-13
md: protect md_thread with rcu
Yu Kuai
1
-3
/
+4
2023-06-01
md: raid1: use __bio_add_page for adding single page to bio
Johannes Thumshirn
1
-1
/
+1
2023-06-01
md: check for failure when adding pages in alloc_behind_master_bio
Johannes Thumshirn
1
-1
/
+4
2022-12-07
block: remove bio_set_op_attrs
Christoph Hellwig
1
-6
/
+6
2022-11-14
md/raid1: stop mdx_raid1 thread when raid1 array run failed
Jiang Li
1
-0
/
+1
2022-07-14
md/raid1: Use the new blk_opf_t type
Bart Van Assche
1
-2
/
+2
2022-07-14
md/core: Combine two sync_page_io() arguments
Bart Van Assche
1
-4
/
+4
2022-07-14
block: remove bdevname
Christoph Hellwig
1
-1
/
+1
2022-05-22
md: remove most calls to bdevname
Christoph Hellwig
1
-14
/
+10
2022-04-25
md: Set MD_BROKEN for RAID1 and RAID10
Mariusz Tkaczyk
1
-17
/
+26
2022-04-17
block: remove QUEUE_FLAG_DISCARD
Christoph Hellwig
1
-15
/
+1
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
-4
/
+8
2022-03-26
Merge tag 'for-5.18/write-streams-2022-03-18' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-2
/
+0
2022-03-24
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Linus Torvalds
1
-3
/
+1
2022-03-21
Merge tag 'for-5.18/drivers-2022-03-18' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-11
/
+0
2022-03-08
md: raid1/raid10: drop pending_cnt
Mariusz Tkaczyk
1
-11
/
+0
2022-03-07
block: remove the per-bio/request write hint
Christoph Hellwig
1
-2
/
+0
2022-03-07
raid1: stop using bio_devname
Christoph Hellwig
1
-3
/
+2
2022-02-22
scsi: md: Remove WRITE_SAME support
Christoph Hellwig
1
-3
/
+1
2022-02-04
block: pass a block_device to bio_clone_fast
Christoph Hellwig
1
-17
/
+17
2022-02-02
block: pass a block_device and opf to bio_reset
Christoph Hellwig
1
-3
/
+2
2022-02-02
block: pass a block_device and opf to bio_alloc_bioset
Christoph Hellwig
1
-1
/
+2
2022-01-12
Merge tag 'for-5.17/drivers-2022-01-11' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-27
/
+56
2022-01-06
md: raid1 add nowait support
Vishal Verma
1
-20
/
+56
2022-01-06
md: drop queue limitation for RAID1 and RAID10
Mariusz Tkaczyk
1
-7
/
+0
2022-01-03
md/raid1: fix missing bitmap update w/o WriteMostly devices
Song Liu
1
-1
/
+2
2021-10-18
md/raid1: use rdev in raid1_write_request directly
Guoqing Jiang
1
-6
/
+5
2021-10-18
md/raid1: only allocate write behind bio for WriteMostly device
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
-0
/
+19
2021-08-27
raid1: ensure write behind bio has less than BIO_MAX_VECS sectors
Guoqing Jiang
1
-0
/
+19
2021-08-04
Merge branch 'md-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/so...
Jens Axboe
1
-2
/
+0
2021-07-23
md/raid10: properly indicate failure when ending a failed write request
Wei Shuyu
1
-2
/
+0
2021-06-14
md/raid1: enable io accounting
Guoqing Jiang
1
-0
/
+7
2021-06-14
md/raid1: rename print_msg with r1bio_existed
Guoqing Jiang
1
-4
/
+4
2021-04-23
md/raid1: properly indicate failure when ending a failed write request
Paul Clements
1
-0
/
+2
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
-3
/
+3
2020-12-04
block: remove the request_queue argument to the block_bio_remap tracepoint
Christoph Hellwig
1
-4
/
+3
2020-07-08
writeback: remove bdi->congested_fn
Christoph Hellwig
1
-31
/
+0
2020-07-01
block: rename generic_make_request to submit_bio_noacct
Christoph Hellwig
1
-7
/
+7
2020-05-13
md/raid1: release pending accounting for an I/O only after write-behind is al...
David Jeffery
1
-6
/
+7
2020-01-13
md/raid1: introduce wait_for_serialization
Guoqing Jiang
1
-19
/
+22
2020-01-13
md/raid1: use bucket based mechanism for IO serialization
Guoqing Jiang
1
-3
/
+6
2020-01-13
md: introduce a new struct for IO serialization
Guoqing Jiang
1
-28
/
+33
2020-01-13
raid1: serialize the overlap write
Guoqing Jiang
1
-14
/
+13
2020-01-13
md: rename wb stuffs
Guoqing Jiang
1
-21
/
+22
2019-12-11
md: raid1: check rdev before reference in raid1_sync_request func
Zhiqiang Liu
1
-1
/
+1
2019-11-11
md/raid1: avoid soft lockup under high load
Hannes Reinecke
1
-0
/
+1
2019-10-24
md: improve handling of bio with REQ_PREFLUSH in md_flush_request()
David Jeffery
1
-3
/
+2
2019-09-03
md/raid1: fail run raid1 array when active disk less than one
Yufen Yu
1
-1
/
+12
2019-08-07
raid1: factor out a common routine to handle the completion of sync write
Hou Tao
1
-21
/
+18
2019-08-07
md: allow last device to be forcibly removed from RAID1/RAID10.
Guoqing Jiang
1
-3
/
+3
2019-08-07
md/raid1: end bio when the device faulty
Yufen Yu
1
-12
/
+14
2019-08-07
raid1: use an int as the return value of raise_barrier()
Hou Tao
1
-1
/
+4
2019-06-26
md/raid1: Fix a warning message in remove_wb()
Dan Carpenter
1
-1
/
+1
2019-06-20
md/raid1: fix potential data inconsistency issue with write behind device
Guoqing Jiang
1
-1
/
+67
2019-06-15
md: raid1-10: Unify r{1,10}bio_pool_free
Marcos Paulo de Souza
1
-9
/
+4
2019-06-15
md/raid1: get rid of extra blank line and space
Yufen Yu
1
-6
/
+3
2019-06-15
drivers: md: Unify common definitions of raid1 and raid10
Marcos Paulo de Souza
1
-27
/
+2
2019-05-24
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 47
Thomas Gleixner
1
-9
/
+1
2019-04-30
block: remove the i argument to bio_for_each_segment_all
Christoph Hellwig
1
-3
/
+3
2019-03-08
Merge tag 'for-5.1/block-20190302' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-5
/
+4
2019-02-15
block: allow bio_for_each_segment_all() to iterate over multi-page bvec
Ming Lei
1
-1
/
+2
2019-02-12
md/raid1: don't clear bitmap bits on interrupted recovery.
Nate Dailey
1
-10
/
+18
2019-02-04
raid1: simplify raid1_error function
Yufen Yu
1
-4
/
+2
2018-10-14
MD: fix invalid stored role for a disk - try2
Shaohua Li
1
-0
/
+1
2018-08-18
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto...
Linus Torvalds
1
-19
/
+16
2018-08-01
md: Avoid namespace collision with bitmap API
Andy Shevchenko
1
-19
/
+16
2018-06-12
treewide: kzalloc() -> kcalloc()
Kees Cook
1
-4
/
+5
2018-06-12
treewide: kmalloc() -> kmalloc_array()
Kees Cook
1
-2
/
+2
2018-06-09
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
Linus Torvalds
1
-2
/
+2
2018-05-30
md: convert to bioset_init()/mempool_init()
Kent Overstreet
1
-39
/
+37
2018-05-17
md/raid1: add error handling of read error from FailFast device
Gioh Kim
1
-0
/
+2
2018-05-01
md: fix an error code format and remove unsed bio_sector
Yufen Yu
1
-2
/
+0
2018-04-09
raid1: copy write hint from master bio to behind bio
Mariusz Dabrowski
1
-0
/
+2
2018-04-09
md/raid1: exit sync request if MD_RECOVERY_INTR is set
Yufen Yu
1
-5
/
+18
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/raid1: fix NULL pointer dereference
Yufen Yu
1
-0
/
+11
2018-02-17
md/raid1: Fix trailing semicolon
Luis de Bethencourt
1
-1
/
+1
2017-12-11
md/raid1,raid10: silence warning about wait-within-wait
NeilBrown
1
-0
/
+11
2017-12-01
md/raid1/10: add missed blk plug
Shaohua Li
1
-0
/
+4
2017-11-01
raid1: remove obsolete code in raid1_write_request
Guoqing Jiang
1
-13
/
+7
2017-11-01
raid1: prevent freeze_array/wait_all_barriers deadlock
Nate Dailey
1
-18
/
+6
2017-11-01
md: use TASK_IDLE instead of blocking signals
Mikulas Patocka
1
-6
/
+1
2017-11-01
md: remove special meaning of ->quiesce(.., 2)
NeilBrown
1
-10
/
+3
2017-11-01
md: move suspend_hi/lo handling into core md code
NeilBrown
1
-9
/
+5
2017-10-16
md: rename some drivers/md/ files to have an "md-" prefix
Mike Snitzer
1
-1
/
+1
2017-10-16
md-cluster: fix wrong condition check in raid1_write_request
Guoqing Jiang
1
-5
/
+5
2017-09-07
Merge tag 'md/4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
Linus Torvalds
1
-2
/
+20
2017-08-28
md: Runtime support for multiple ppls
Pawel Baldysiak
1
-1
/
+2
2017-08-25
md/raid1/10: reset bio allocated from mempool
Shaohua Li
1
-1
/
+18
2017-08-23
block: replace bi_bdev with a gendisk pointer and partitions index
Christoph Hellwig
1
-19
/
+15
2017-07-21
md: simplify code with bio_io_error
Guoqing Jiang
1
-2
/
+1
2017-07-21
md/raid1: fix writebehind bio clone
Shaohua Li
1
-21
/
+13
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
-14
/
+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
-8
/
+12
2017-06-18
blk: replace bioset_create_nobvec() with a flags arg to bioset_create()
NeilBrown
1
-1
/
+1
2017-06-16
md/raid1: remove unused bio in sync_request_write
Guoqing Jiang
1
-3
/
+1
2017-06-13
md: don't use flush_signals in userspace processes
Mikulas Patocka
1
-1
/
+4
2017-06-13
md: fix deadlock between mddev_suspend() and md_write_start()
NeilBrown
1
-4
/
+7
2017-06-12
Merge tag 'v4.12-rc5' into for-4.13/block
Jens Axboe
1
-0
/
+2
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
/
+2
2017-05-12
raid1: prefer disk without bad blocks
Tomasz Majchrzak
1
-1
/
+4
2017-05-11
md/raid1/10: avoid unnecessary locking
Shaohua Li
1
-4
/
+3
2017-05-08
md: don't return -EAGAIN in md_allow_write for external metadata arrays
Artur Paszkiewicz
1
-6
/
+3
2017-05-01
Merge branch 'md-next' into md-linus
Shaohua Li
1
-390
/
+289
2017-04-27
md/raid1: Use a new variable to count flighting sync requests
Xiao Ni
1
-3
/
+4
2017-04-25
md: clear WantReplacement once disk is removed
Guoqing Jiang
1
-3
/
+3
2017-04-23
md/raid1/10: remove unused queue
Lidong Zhong
1
-3
/
+0
2017-04-11
md/raid1: factor out flush_bio_list()
NeilBrown
1
-40
/
+26
2017-04-11
md/raid1: simplify handle_read_error().
NeilBrown
1
-80
/
+60
2017-04-11
md/raid1: simplify alloc_behind_master_bio()
NeilBrown
1
-7
/
+4
2017-04-11
md/raid1: simplify the splitting of requests.
NeilBrown
1
-91
/
+50
2017-04-10
md/raid1: avoid reusing a resync bio after error handling.
NeilBrown
1
-0
/
+2
2017-04-08
md: support REQ_OP_WRITE_ZEROES
Christoph Hellwig
1
-1
/
+3
2017-03-28
md: raid1: kill warning on powerpc_pseries
Ming Lei
1
-1
/
+1
2017-03-25
md/raid1: skip data copy for behind io for discard request
Shaohua Li
1
-1
/
+5
2017-03-24
md: raid1: improve write behind
Ming Lei
1
-64
/
+54
2017-03-24
md: raid1: move 'offset' out of loop
Ming Lei
1
-2
/
+3
2017-03-24
md: raid1: use bio helper in process_checks()
Ming Lei
1
-4
/
+8
2017-03-24
md: raid1: retrieve page from pre-allocated resync page array
Ming Lei
1
-8
/
+8
2017-03-24
md: raid1: don't use bio's vec table to manage resync pages
Ming Lei
1
-29
/
+64
2017-03-24
md: raid1: simplify r1buf_pool_free()
Ming Lei
1
-9
/
+8
2017-03-24
md: move two macros into md.h
Ming Lei
1
-2
/
+0
2017-03-24
md: raid1/raid10: don't handle failure of bio_add_page()
Ming Lei
1
-16
/
+6
2017-03-22
md/raid1: stop using bi_phys_segment
NeilBrown
1
-66
/
+23
2017-03-22
md/raid1, raid10: move rXbio accounting closer to allocation.
NeilBrown
1
-13
/
+11
2017-03-16
md: superblock changes for PPL
Artur Paszkiewicz
1
-1
/
+2
2017-03-14
md/raid1: fix a trivial typo in comments
Zhilong Liu
1
-1
/
+1
2017-03-09
md/raid1/10: fix potential deadlock
Shaohua Li
1
-2
/
+23
2017-03-09
md: move funcs from pers->resize to update_size
Guoqing Jiang
1
-2
/
+0
2017-03-02
sched/headers: Prepare for new header dependencies before moving code to <lin...
Ingo Molnar
1
-0
/
+3
2017-02-24
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
Linus Torvalds
1
-230
/
+366
2017-02-23
md/raid1: fix write behind issues introduced by bio_clone_bioset_partial
Shaohua Li
1
-4
/
+11
2017-02-23
md/raid1: handle flush request correctly
Shaohua Li
1
-3
/
+7
2017-02-19
md/raid1: fix a use-after-free bug
Shaohua Li
1
-1
/
+2
2017-02-19
RAID1: avoid unnecessary spin locks in I/O barrier code
colyli@suse.de
1
-51
/
+114
2017-02-19
RAID1: a new I/O barrier implementation to remove resync window
colyli@suse.de
1
-212
/
+261
2017-02-15
md: fast clone bio in bio_clone_mddev()
Ming Lei
1
-4
/
+6
2017-02-15
md/raid1: use bio_clone_bioset_partial() in case of write behind
Ming Lei
1
-5
/
+15
2017-02-02
block: Use pointer to backing_dev_info from request_queue
Jan Kara
1
-2
/
+2
2017-01-27
md: cleanup bio op / flags handling in raid1_write_request
Christoph Hellwig
1
-5
/
+2
2017-01-05
md: cleanup mddev flag clear for takeover
Shaohua Li
1
-2
/
+6
2017-01-03
md/raid1: Refactor raid1_make_request
Robert LeBlanc
1
-128
/
+139
2016-12-08
md: separate flags for superblock changes
Shaohua Li
1
-6
/
+6
2016-12-08
md: takeover should clear unrelated bits
Shaohua Li
1
-1
/
+4
2016-11-22
md/raid1: add failfast handling for writes.
NeilBrown
1
-1
/
+25
2016-11-22
md/raid1: add failfast handling for reads.
NeilBrown
1
-10
/
+42
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
/
+24
2016-11-09
md/raid1: fix: IO can block resync indefinitely
NeilBrown
1
-1
/
+1
2016-11-07
md/raid1: abort delayed writes when device fails.
NeilBrown
1
-5
/
+15
2016-11-07
md/raid1: change printk() to pr_*()
NeilBrown
1
-58
/
+41
2016-10-28
raid1: handle read error also in readonly mode
Tomasz Majchrzak
1
-9
/
+10
[next]