kernel_optimize_test/drivers
NeilBrown d787be4092 md: reduce the number of synchronize_rcu() calls when multiple devices fail.
Every time a device is removed with ->hot_remove_disk() a synchronize_rcu() call is made
which can delay several milliseconds in some case.
If lots of devices fail at once - as could happen with a large RAID10 where one set
of devices are removed all at once - these delays can add up to be very inconcenient.

As failure is not reversible we can check for that first, setting a
separate flag if it is found, and then all synchronize_rcu() once for
all the flagged devices.  Then ->hot_remove_disk() function can skip the
synchronize_rcu() step if the flag is set.

fix build error(Shaohua)
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
2016-06-13 11:54:22 -07:00
..
accessibility
acpi Additional ACPI update for v4.7-rc1 2016-05-25 15:38:56 -07:00
amba
android
ata Merge branch 'for-4.7-dw' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata 2016-05-23 18:19:21 -07:00
atm
auxdisplay
base More power management updates for v4.7-rc1 2016-05-25 15:29:21 -07:00
bcma MTD updates for v4.7: 2016-05-24 11:00:20 -07:00
block
bluetooth
bus
cdrom
char
clk pwm: Changes for v4.7-rc1 2016-05-25 10:40:15 -07:00
clocksource
connector
cpufreq More power management updates for v4.7-rc1 2016-05-25 15:29:21 -07:00
cpuidle
crypto
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fmc
fpga
gpio
gpu pwm: Changes for v4.7-rc1 2016-05-25 10:40:15 -07:00
hid
hsi
hv
hwmon pwm: Changes for v4.7-rc1 2016-05-25 10:40:15 -07:00
hwspinlock
hwtracing
i2c
ide
idle
iio
infiniband
input pwm: Changes for v4.7-rc1 2016-05-25 10:40:15 -07:00
iommu
ipack
irqchip
isdn
leds pwm: Changes for v4.7-rc1 2016-05-25 10:40:15 -07:00
lguest
lightnvm
macintosh
mailbox
mcb
md md: reduce the number of synchronize_rcu() calls when multiple devices fail. 2016-06-13 11:54:22 -07:00
media
memory MTD updates for v4.7: 2016-05-24 11:00:20 -07:00
memstick drivers/memstick/core/mspro_block: use kmemdup 2016-05-23 17:04:14 -07:00
message
mfd
misc
mmc
mtd MTD updates for v4.7: 2016-05-24 11:00:20 -07:00
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc 2016-05-22 19:24:13 -07:00
nfc
ntb
nubus
nvdimm Merge branch 'for-4.7/dax' into libnvdimm-for-next 2016-05-21 12:33:04 -07:00
nvme
nvmem
of MTD updates for v4.7: 2016-05-24 11:00:20 -07:00
oprofile
parisc
parport
pci
pcmcia
perf
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm pwm: Changes for v4.7-rc1 2016-05-25 10:40:15 -07:00
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc rtc: tps6586x: rename so module can be autoloaded 2016-05-21 17:07:17 +02:00
s390
sbus
scsi Merge branch 'for-4.7-zac' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata 2016-05-23 17:53:39 -07:00
sfi
sh
sn
soc
spi spi: Updates for v4.7 2016-05-24 11:12:32 -07:00
spmi
ssb
staging MTD updates for v4.7: 2016-05-24 11:00:20 -07:00
target
tc
thermal
thunderbolt
tty
uio
usb
uwb
vfio VFIO updates for v4.7-rc1 2016-05-25 09:47:26 -07:00
vhost
video pwm: Changes for v4.7-rc1 2016-05-25 10:40:15 -07:00
virt
virtio virtio_balloon: fix PFN format for virtio-1 2016-05-22 19:44:13 +03:00
vlynq
vme
w1
watchdog Merge git://www.linux-watchdog.org/linux-watchdog 2016-05-25 10:19:17 -07:00
xen xen: bug fixes for 4.7-rc0 2016-05-24 10:22:34 -07:00
zorro
Kconfig libnvdimm for 4.7 2016-05-23 11:18:01 -07:00
Makefile