[GIT PULL] MD update for 4.8

From: Shaohua Li
Date: Thu Jul 28 2016 - 13:36:23 EST


Please pull MD update for 4.8. The patches are based on 4.7 rc initially, I
merged them to lastest upstream to fix merge conflict against block layer
- A bunch of patches from Neil Brown to fix RCU usage
- Two performance improvement patches from Tomasz Majchrzak
- Alexey Obitotskiy fixes module refcount issue
- Arnd Bergmann fixes time granularity
- Cong Wang fixes a list corruption issue
- Guoqing Jiang fixes a deadlock in md-cluster
- A null pointer deference fix from me
- Song Liu fixes misuse of raid6 rmw
- Other trival/cleanup fixes from Guoqing Jiang and Xiao Ni


The following changes since commit 194dc870a5890e855ecffb30f3b80ba7c88f96d6:

Add braces to avoid "ambiguous âelseâ" compiler warnings (2016-07-27 20:03:31 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/shli/md.git for-linus

for you to fetch changes up to 3f35e210ed4617a68b6baa9b7ac6c72bf7e313d9:

Merge branch 'mymd/for-next' into mymd/for-linus (2016-07-28 09:34:14 -0700)

Alexey Obitotskiy (1):
Fix kernel module refcount handling

Arnd Bergmann (1):
md: use seconds granularity for error logging

Cong Wang (1):
md: use a mutex to protect a global list

Guoqing Jiang (2):
md-cluster: fix deadlock issue when add disk to an recoverying array
md: simplify the code with md_kick_rdev_from_array

NeilBrown (17):
md: disconnect device from personality before trying to remove it.
md/raid1, raid10: don't recheck "Faulty" flag in read-balance.
md/raid10: fix refounct imbalance when resyncing an array with a replacement device.
md/raid10: add rcu protection in raid10_status.
md/raid10: add rcu protection to rdev access in raid10_sync_request.
md/raid10: add rcu protection to rdev access during reshape.
md/raid10: minor code improvement in fix_read_error()
md/raid10: simplify print_conf a little.
md/raid1: small cleanup in raid1_end_read/write_request
md/raid1: small code cleanup in end_sync_write
md/raid1: add rcu protection to rdev in fix_read_error
md/raid5: add rcu protection to rdev accesses in handle_failed_sync.
md/raid5: add rcu protection to rdev accesses in want_replace
md/raid5: add rcu protection to rdev accesses in raid5_status.
md/multipath: add rcu protection to rdev access in multipath_status.
md: be extra careful not to take a reference to a Faulty device.
md: reduce the number of synchronize_rcu() calls when multiple devices fail.

Shaohua Li (2):
MD: fix null pointer deference
Merge branch 'mymd/for-next' into mymd/for-linus

Song Liu (1):

Tomasz Majchrzak (3):
raid1/raid10: slow down resync if there is non-resync activity pending
md: add missing sysfs_notify on array_state update
raid10: improve random reads performance

Xiao Ni (1):
MD:Update superblock when err == 0 in size_store

drivers/md/md.c | 74 +++++++++++----
drivers/md/md.h | 10 +-
drivers/md/multipath.c | 29 +++---
drivers/md/raid1.c | 130 ++++++++++++-------------
drivers/md/raid10.c | 250 ++++++++++++++++++++++++++++++-------------------
drivers/md/raid10.h | 3 +-
drivers/md/raid5.c | 45 +++++----
7 files changed, 328 insertions(+), 213 deletions(-)