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
/
md.c
Age
Commit message (
Expand
)
Author
Files
Lines
14 days
md: Revert "md: Fix overflow in is_mddev_idle"
Li Nan
1
-4
/
+3
2024-04-08
md: don't account sync_io if iostats of the disk is disabled
Li Nan
1
-0
/
+4
2024-04-08
md: Fix overflow in is_mddev_idle
Li Nan
1
-3
/
+4
2024-04-08
md: add check for sleepers in md_wakeup_thread()
Florian-Ewald Mueller
1
-1
/
+2
2024-03-11
Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linux
Linus Torvalds
1
-168
/
+232
2024-03-11
Merge tag 'vfs-6.9.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...
Linus Torvalds
1
-6
/
+6
2024-03-06
md: remove mddev->queue
Christoph Hellwig
1
-10
/
+12
2024-03-06
md: don't initialize queue limits
Christoph Hellwig
1
-2
/
+0
2024-03-06
md: add queue limit helpers
Christoph Hellwig
1
-0
/
+45
2024-03-06
md: add a mddev_is_dm helper
Christoph Hellwig
1
-8
/
+7
2024-03-06
md: add a mddev_add_trace_msg helper
Christoph Hellwig
1
-2
/
+1
2024-03-06
md: add a mddev_trace_remap helper
Christoph Hellwig
1
-5
/
+1
2024-03-05
dm-raid456, md/raid456: fix a deadlock for dm-raid456 while io concurrent wit...
Yu Kuai
1
-2
/
+22
2024-03-05
dm-raid: really frozen sync_thread during suspend
Yu Kuai
1
-1
/
+2
2024-03-05
md: export helper md_is_rdwr()
Yu Kuai
1
-12
/
+0
2024-03-05
md: export helpers to stop sync_thread
Yu Kuai
1
-0
/
+29
2024-03-05
md: don't clear MD_RECOVERY_FROZEN for new dm-raid until resume
Yu Kuai
1
-1
/
+4
2024-02-26
md: check mddev->pers before calling md_set_readonly()
Li Nan
1
-11
/
+11
2024-02-26
md: clean up openers check in do_md_stop() and md_set_readonly()
Li Nan
1
-23
/
+14
2024-02-26
md: sync blockdev before stopping raid or setting readonly
Li Nan
1
-0
/
+16
2024-02-26
md: factor out a helper to sync mddev
Li Nan
1
-11
/
+21
2024-02-26
md: Don't clear MD_CLOSING when the raid is about to stop
Li Nan
1
-4
/
+10
2024-02-26
md: return directly before setting did_set_md_closing
Li Nan
1
-17
/
+8
2024-02-26
md: clean up invalid BUG_ON in md_ioctl
Li Nan
1
-5
/
+0
2024-02-26
md: changed the switch of RAID_VERSION to if
Li Nan
1
-6
/
+2
2024-02-26
md: merge the check of capabilities into md_ioctl_valid()
Li Nan
1
-18
/
+12
2024-02-25
md: port block device access to file
Christian Brauner
1
-6
/
+6
2024-02-19
block: pass a queue_limits argument to blk_alloc_disk
Christoph Hellwig
1
-3
/
+4
2024-02-15
md: Don't suspend the array for interrupted reshape
Yu Kuai
1
-4
/
+9
2024-02-15
md: Don't register sync_thread for reshape directly
Yu Kuai
1
-1
/
+4
2024-02-15
md: Make sure md_do_sync() will set MD_RECOVERY_DONE
Yu Kuai
1
-4
/
+8
2024-02-15
md: Don't ignore read-only array in md_check_recovery()
Yu Kuai
1
-13
/
+18
2024-02-15
md: Don't ignore suspended array in md_check_recovery()
Yu Kuai
1
-3
/
+0
2024-02-12
md: fix kmemleak of rdev->serial
Li Nan
1
-0
/
+1
2024-02-07
md: Fix missing release of 'active_io' for flush
Yu Kuai
1
-1
/
+5
2024-02-05
md: use RCU lock to protect traversal in md_spares_need_change()
Li Lingfeng
1
-2
/
+7
2024-02-05
md: get rdev->mddev with READ_ONCE()
Li Lingfeng
1
-2
/
+2
2024-02-05
md: remove redundant md_wakeup_thread()
Yu Kuai
1
-18
/
+2
2024-02-05
md: remove redundant check of 'mddev->sync_thread'
Yu Kuai
1
-10
/
+4
2024-01-18
Merge tag 'for-6.8/block-2024-01-18' of git://git.kernel.dk/linux
Linus Torvalds
1
-13
/
+27
2024-01-11
Merge tag 'for-6.8/block-2024-01-08' of git://git.kernel.dk/linux
Linus Torvalds
1
-155
/
+150
2024-01-09
md: Fix md_seq_ops() regressions
Yu Kuai
1
-13
/
+27
2023-12-19
md: Remove deprecated CONFIG_MD_MULTIPATH
Song Liu
1
-133
/
+108
2023-12-19
md: Remove deprecated CONFIG_MD_LINEAR
Song Liu
1
-1
/
+1
2023-12-18
dm-raid: delay flushing event_work() after reconfig_mutex is released
Yu Kuai
1
-3
/
+8
2023-12-15
md: Whenassemble the array, consult the superblock of the freshest device
Alex Lyakas
1
-10
/
+44
2023-12-07
md: split MD_RECOVERY_NEEDED out of mddev_resume
Yu Kuai
1
-4
/
+26
2023-12-06
md: fix stopping sync thread
Yu Kuai
1
-53
/
+37
2023-12-06
md: don't leave 'MD_RECOVERY_FROZEN' in error path of md_set_readonly()
Yu Kuai
1
-11
/
+13
2023-12-06
md: fix missing flush of sync_work
Yu Kuai
1
-2
/
+2
2023-12-01
md: synchronize flush io with array reconfiguration
Yu Kuai
1
-6
/
+16
2023-11-27
md: remove flag RemoveSynchronized
Yu Kuai
1
-31
/
+6
2023-11-27
md: bypass block throttle for superblock update
Junxiao Bi
1
-3
/
+4
2023-11-19
md: fix bi_status reporting in md_end_clone_io
Song Liu
1
-1
/
+2
2023-11-01
Merge tag 'sysctl-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...
Linus Torvalds
1
-1
/
+0
2023-11-01
Merge tag 'for-6.7/block-2023-10-30' of git://git.kernel.dk/linux
Linus Torvalds
1
-357
/
+465
2023-10-28
md: Convert to bdev_open_by_dev()
Jan Kara
1
-15
/
+8
2023-10-18
md: cleanup pers->prepare_suspend()
Yu Kuai
1
-1
/
+16
2023-10-11
raid: Remove now superfluous sentinel element from ctl_table array
Joel Granados
1
-1
/
+0
2023-10-10
md: rename __mddev_suspend/resume() back to mddev_suspend/resume()
Yu Kuai
1
-9
/
+9
2023-10-10
md: remove old apis to suspend the array
Yu Kuai
1
-79
/
+3
2023-10-10
md: suspend array in md_start_sync() if array need reconfiguration
Yu Kuai
1
-3
/
+8
2023-10-10
md: cleanup mddev_create/destroy_serial_pool()
Yu Kuai
1
-23
/
+10
2023-10-10
md: use new apis to suspend array before mddev_create/destroy_serial_pool
Yu Kuai
1
-10
/
+12
2023-10-10
md: use new apis to suspend array for ioctls involed array reconfiguration
Yu Kuai
1
-10
/
+20
2023-10-10
md: use new apis to suspend array for adding/removing rdev from state_store()
Yu Kuai
1
-8
/
+11
2023-10-10
md: use new apis to suspend array for sysfs apis
Yu Kuai
1
-16
/
+8
2023-10-10
md: add new helpers to suspend/resume array
Yu Kuai
1
-2
/
+100
2023-10-10
md: replace is_md_suspended() with 'mddev->suspended' in md_check_recovery()
Yu Kuai
1
-1
/
+1
2023-10-10
md: use READ_ONCE/WRITE_ONCE for 'suspend_lo' and 'suspend_hi'
Yu Kuai
1
-7
/
+9
2023-09-28
md: do not require mddev_lock() for all options in array_state_store()
Mariusz Tkaczyk
1
-17
/
+20
2023-09-27
md: simplify md_seq_ops
Yu Kuai
1
-78
/
+22
2023-09-27
md: factor out a helper from mddev_put()
Yu Kuai
1
-12
/
+17
2023-09-25
md: replace deprecated strncpy with memcpy
Justin Stitt
1
-3
/
+3
2023-09-22
md: don't check 'mddev->pers' and 'pers->quiesce' from suspend_lo_store()
Yu Kuai
1
-7
/
+2
2023-09-22
md: don't check 'mddev->pers' from suspend_hi_store()
Yu Kuai
1
-6
/
+1
2023-09-22
md: don't rely on 'mddev->pers' to be set in mddev_suspend()
Yu Kuai
1
-1
/
+1
2023-09-22
md: initialize 'writes_pending' while allocating mddev
Yu Kuai
1
-17
/
+12
2023-09-22
md: initialize 'active_io' while allocating mddev
Yu Kuai
1
-20
/
+33
2023-09-22
md: delay remove_and_add_spares() for read only array to md_start_sync()
Yu Kuai
1
-10
/
+51
2023-09-22
md: factor out a helper rdev_addable() from remove_and_add_spares()
Yu Kuai
1
-12
/
+27
2023-09-22
md: factor out a helper rdev_is_spare() from remove_and_add_spares()
Yu Kuai
1
-5
/
+10
2023-09-22
md: factor out a helper rdev_removeable() from remove_and_add_spares()
Yu Kuai
1
-6
/
+38
2023-09-22
md: delay choosing sync action to md_start_sync()
Yu Kuai
1
-34
/
+39
2023-09-22
md: factor out a helper to choose sync action from md_check_recovery()
Yu Kuai
1
-25
/
+45
2023-09-22
md: use separate work_struct for md_start_sync()
Yu Kuai
1
-4
/
+6
2023-09-14
md: Put the right device in md_seq_next
Mariusz Tkaczyk
1
-1
/
+1
2023-09-08
md: fix warning for holder mismatch from export_rdev()
Yu Kuai
1
-3
/
+12
2023-09-08
md: don't dereference mddev after export_rdev()
Yu Kuai
1
-3
/
+3
2023-08-29
Merge tag 'for-6.6/block-2023-08-28' of git://git.kernel.dk/linux
Linus Torvalds
1
-92
/
+136
2023-08-15
md: Hold mddev->reconfig_mutex when trying to get mddev->sync_thread
Li Lingfeng
1
-4
/
+5
2023-07-27
md: restore 'noio_flag' for the last mddev_resume()
Yu Kuai
1
-2
/
+4
2023-07-27
md: don't quiesce in mddev_suspend()
Yu Kuai
1
-2
/
+0
2023-07-27
md: also clone new io if io accounting is disabled
Yu Kuai
1
-32
/
+31
2023-07-27
md: move initialization and destruction of 'io_acct_set' to md.c
Yu Kuai
1
-17
/
+10
2023-07-27
md: deprecate bitmap file support
Christoph Hellwig
1
-0
/
+2
2023-07-27
md: make bitmap file support optional
Christoph Hellwig
1
-0
/
+7
2023-07-27
md: enhance checking in md_check_recovery()
Yu Kuai
1
-7
/
+15
2023-07-27
md: wake up 'resync_wait' at last in md_reap_sync_thread()
Yu Kuai
1
-1
/
+1
2023-07-27
md: refactor idle/frozen_sync_thread() to fix deadlock
Yu Kuai
1
-4
/
+19
2023-07-27
md: add a mutex to synchronize idle and frozen in action_store()
Yu Kuai
1
-0
/
+5
2023-07-27
md: refactor action_store() for 'idle' and 'frozen'
Yu Kuai
1
-16
/
+45
2023-07-27
Revert "md: unlock mddev before reap sync_thread in action_store"
Yu Kuai
1
-17
/
+2
2023-07-25
dm raid: protect md_stop() with 'reconfig_mutex'
Yu Kuai
1
-0
/
+2
2023-06-23
md: fix 'delete_mutex' deadlock
Yu Kuai
1
-19
/
+9
2023-06-23
md: use mddev->external to select holder in export_rdev()
Song Liu
1
-2
/
+2
2023-06-13
md/md-bitmap: add a new helper to unplug bitmap asynchrously
Yu Kuai
1
-0
/
+9
2023-06-13
md/raid10: clean up md_add_new_disk()
Li Nan
1
-1
/
+0
2023-06-13
md: protect md_thread with rcu
Yu Kuai
1
-37
/
+32
2023-06-13
md: factor out a helper to wake up md_thread directly
Yu Kuai
1
-8
/
+19
2023-06-13
md: fix duplicate filename for rdev
Yu Kuai
1
-42
/
+44
2023-06-13
md/raid10: fix wrong setting of max_corr_read_errors
Li Nan
1
-0
/
+2
2023-06-13
md/raid10: fix overflow of md/safe_mode_delay
Li Nan
1
-3
/
+4
2023-06-13
md/raid5: fix a deadlock in the case that reshape is interrupted
Yu Kuai
1
-0
/
+1
2023-06-13
md: add a new api prepare_suspend() in md_personality
Yu Kuai
1
-0
/
+4
2023-06-13
md: export md_is_rdwr() and is_md_suspended()
Yu Kuai
1
-16
/
+0
2023-06-13
md: fix data corruption for raid456 when reshape restart while grow up
Yu Kuai
1
-2
/
+12
2023-06-12
block: replace fmode_t with a block-specific type for block open flags
Christoph Hellwig
1
-4
/
+4
2023-06-12
block: use the holder as indication for exclusive opens
Christoph Hellwig
1
-18
/
+20
2023-06-12
block: remove the unused mode argument to ->release
Christoph Hellwig
1
-1
/
+1
2023-06-12
block: pass a gendisk to ->open
Christoph Hellwig
1
-3
/
+3
2023-06-12
block: pass a gendisk on bdev_check_media_change
Christoph Hellwig
1
-1
/
+1
2023-06-05
block: introduce holder ops
Christoph Hellwig
1
-1
/
+1
2023-05-31
md: use __bio_add_page to add single page
Johannes Thumshirn
1
-2
/
+2
2023-04-27
Merge tag 'sysctl-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...
Linus Torvalds
1
-21
/
+1
2023-04-26
Merge tag 'for-6.4/block-2023-04-21' of git://git.kernel.dk/linux
Linus Torvalds
1
-12
/
+15
2023-04-13
md: fix soft lockup in status_resync
Yu Kuai
1
-9
/
+9
2023-04-13
md: add error_handlers for raid0 and linear
Mariusz Tkaczyk
1
-0
/
+3
2023-04-13
md: make kobj_type structures constant
Thomas Weißschuh
1
-3
/
+3
2023-04-13
md: simplify sysctl registration
Luis Chamberlain
1
-21
/
+1
2023-03-29
md: fix regression for null-ptr-deference in __md_stop()
Yu Kuai
1
-1
/
+2
2023-03-13
md: avoid signed overflow in slot_store()
NeilBrown
1
-0
/
+3
2023-03-13
md: Free resources in __md_stop
Xiao Ni
1
-9
/
+5
2023-02-08
md: account io_acct_set usage with active_io
Xiao Ni
1
-0
/
+6
2023-02-01
md: use MD_RESYNC_* whenever possible
Hou Tao
1
-3
/
+3
2023-02-01
md: Free writes_pending in md_stop
Xiao Ni
1
-0
/
+1
2023-02-01
md: Change active_io to percpu
Xiao Ni
1
-19
/
+24
2023-02-01
md: Factor out is_md_suspended helper
Xiao Ni
1
-5
/
+12
2023-02-01
md: don't update recovery_cp when curr_resync is ACTIVE
Hou Tao
1
-1
/
+1
2023-01-12
md: fix incorrect declaration about claim_rdev in md_import_device
Adrian Huang
1
-2
/
+2
2023-01-04
block: handle bio_split_to_limits() NULL return
Jens Axboe
1
-0
/
+2
2022-12-02
md: fold unbind_rdev_from_array into md_kick_rdev_from_array
Christoph Hellwig
1
-21
/
+16
2022-12-02
md: mark md_kick_rdev_from_array static
Christoph Hellwig
1
-2
/
+1
2022-12-02
md: remove lock_bdev / unlock_bdev
Christoph Hellwig
1
-41
/
+22
2022-11-14
md: fix a crash in mempool_free
Mikulas Patocka
1
-3
/
+6
2022-11-14
md: introduce md_ro_state
Ye Bin
1
-70
/
+82
2022-11-14
md: factor out __md_set_array_info()
Ye Bin
1
-30
/
+35
2022-10-07
Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linux
Linus Torvalds
1
-3
/
+2
2022-09-27
block: replace blk_queue_nowait with bdev_nowait
Christoph Hellwig
1
-2
/
+2
2022-09-22
md: Remove extra mddev_get() in md_seq_start()
Logan Gunthorpe
1
-1
/
+0
2022-08-24
md: call __md_stop_writes in md_stop
Guoqing Jiang
1
-0
/
+1
2022-08-24
Revert "md-raid: destroy the bitmap after destroying the thread"
Guoqing Jiang
1
-1
/
+1
2022-08-24
md: Flush workqueue md_rdev_misc_wq in md_alloc()
David Sloan
1
-0
/
+1
2022-08-02
block: change the blk_queue_split calling convention
Christoph Hellwig
1
-1
/
+1
2022-08-02
md-raid: destroy the bitmap after destroying the thread
Mikulas Patocka
1
-1
/
+1
2022-08-02
md: return the allocated devices from md_alloc
Christoph Hellwig
1
-32
/
+22
2022-08-02
md: open code md_probe in autorun_devices
Christoph Hellwig
1
-1
/
+1
2022-08-02
md: remove unneeded semicolon
Yang Li
1
-1
/
+1
2022-08-02
md: fix build failure for !MODULE
Stephen Rothwell
1
-0
/
+2
2022-08-02
md: simplify md_open
Christoph Hellwig
1
-27
/
+15
2022-08-02
md: only delete entries from all_mddevs when the disk is freed
Christoph Hellwig
1
-18
/
+38
2022-08-02
md: stop using for_each_mddev in md_exit
Christoph Hellwig
1
-28
/
+11
2022-08-02
md: stop using for_each_mddev in md_notify_reboot
Christoph Hellwig
1
-3
/
+9
2022-08-02
md: stop using for_each_mddev in md_do_sync
Christoph Hellwig
1
-3
/
+5
2022-08-02
md: factor out the rdev overlaps check from rdev_size_store
Christoph Hellwig
1
-45
/
+39
2022-08-02
md: rename md_free to md_kobj_release
Christoph Hellwig
1
-2
/
+2
2022-08-02
md: implement ->free_disk
Christoph Hellwig
1
-6
/
+12
2022-08-02
md: fix error handling in md_alloc
Christoph Hellwig
1
-13
/
+32
2022-08-02
md: fix mddev->kobj lifetime
Christoph Hellwig
1
-6
/
+4
2022-08-02
md: unlock mddev before reap sync_thread in action_store
Guoqing Jiang
1
-2
/
+17
2022-08-02
md: Explicitly create command-line configured devices
Chris Webb
1
-1
/
+1
2022-08-02
md: Notify sysfs sync_completed in md_reap_sync_thread()
Logan Gunthorpe
1
-0
/
+1
2022-08-02
md: Ensure resync is reported after it starts
Logan Gunthorpe
1
-2
/
+12
2022-08-02
md: Use enum for overloaded magic numbers used by mddev->curr_resync
Logan Gunthorpe
1
-22
/
+18
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-06-28
block: remove blk_cleanup_disk
Christoph Hellwig
1
-2
/
+2
2022-06-15
Revert "md: don't unregister sync_thread with reconfig_mutex held"
Guoqing Jiang
1
-9
/
+5
2022-05-22
md: fix double free of io_acct_set bioset
Xiao Ni
1
-4
/
+0
2022-05-22
md: remove most calls to bdevname
Christoph Hellwig
1
-87
/
+65
2022-05-22
md: protect md_unregister_thread from reentrancy
Guoqing Jiang
1
-5
/
+10
2022-05-22
md: don't unregister sync_thread with reconfig_mutex held
Guoqing Jiang
1
-5
/
+9
2022-04-25
md: Replace role magic numbers with defined constants
David Sloan
1
-5
/
+6
2022-04-25
md: replace deprecated strlcpy & remove duplicated line
Heming Zhao
1
-3
/
+3
2022-04-25
md: fix an incorrect NULL check in md_reload_sb
Xiaomeng Tong
1
-4
/
+6
2022-04-25
md: fix an incorrect NULL check in does_sb_need_changing
Xiaomeng Tong
1
-3
/
+5
2022-04-25
md: Set MD_BROKEN for RAID1 and RAID10
Mariusz Tkaczyk
1
-12
/
+15
2022-04-17
block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARD
Christoph Hellwig
1
-1
/
+1
2022-04-17
block: add a bdev_nonrot helper
Christoph Hellwig
1
-2
/
+1
2022-03-21
Merge tag 'for-5.18/drivers-2022-03-18' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-1
/
+1
2022-03-21
Merge tag 'for-5.18/block-2022-03-18' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-15
/
+14
2022-03-08
md: use msleep() in md_notify_reboot()
Eric Dumazet
1
-1
/
+1
2022-02-04
block: pass a block_device to bio_clone_fast
Christoph Hellwig
1
-2
/
+3
2022-02-02
md: fix NULL pointer deref with nowait but no mddev->queue
Song Liu
1
-4
/
+4
2022-02-02
block: pass a block_device and opf to bio_init
Christoph Hellwig
1
-5
/
+3
2022-02-02
block: pass a block_device and opf to bio_alloc_bioset
Christoph Hellwig
1
-8
/
+8
2022-01-12
Merge tag 'for-5.17/drivers-2022-01-11' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-12
/
+41
2022-01-12
Merge tag 'for-5.17/block-2022-01-11' of git://git.kernel.dk/linux-block
Linus Torvalds
1
-5
/
+0
2022-01-06
md: use default_groups in kobj_type
Greg Kroah-Hartman
1
-1
/
+2
2022-01-06
md: Move alloc/free acct bioset in to personality
Xiao Ni
1
-10
/
+17
[next]