[GIT PULL] md-next 20211008
From: Song Liu <hidden>
Date: 2021-10-08 23:57:29
Hi Jens,
Please consider pulling the following changes for md-next on top of your
for-5.16/drivers branch. The major changes are:
1. add_disk() error handling, by Luis Chamberlain;
2. locking/unwind improvement in md_alloc, by Christoph Hellwig;
3. fail_fast sysfs entry, by Li Feng;
4. various clean-ups and small fixes, by Guoqing Jiang.
Thanks,
Song
The following changes since commit 7ab3cc9cb7cb1583faa3de1406b9efa3328123df:
brd: reduce the brd_devices_mutex scope (2021-10-02 07:28:36 -0600)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/song/md.git md-next
for you to fetch changes up to 2bb33192d6a707aa20f43ea865892b448dd298c1:
md: add sysfs entry for fail_fast flag in RAID1/RAID10 (2021-10-08 16:31:50 -0700)
----------------------------------------------------------------
Christoph Hellwig (3):
md: add the bitmap group to the default groups for the md kobject
md: extend disks_mutex coverage
md: properly unwind when failing to add the kobject in md_alloc
Guoqing Jiang (4):
md/raid1: only allocate write behind bio for WriteMostly device
md/raid1: use rdev in raid1_write_request directly
md/raid5: call roundup_pow_of_two in raid5_run
md: remove unused argument from md_new_event
Li Feng (1):
md: add sysfs entry for fail_fast flag in RAID1/RAID10
Luis Chamberlain (1):
md: add error handling support for add_disk()
drivers/md/md.c | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------
drivers/md/md.h | 2 +-
drivers/md/raid1.c | 13 ++++++-------
drivers/md/raid10.c | 2 +-
drivers/md/raid5.c | 7 ++-----
5 files changed, 84 insertions(+), 51 deletions(-)