kernel-ark/drivers
NeilBrown fca4d848f0 [PATCH] md: merge md_enter_safemode into md_check_recovery
md_enter_safemode checks if it is time to mark the md superblock as 'clean'.
i.e.  if all writes have completed and a suitable delay has passed.

This is currently called from md_handle_safemode which in-turn is called
(almost) every time md_check_recovery is called, and from the end of
md_do_sync which causes the mddev->thread to run, which will always call
md_check_recovery as well.

So it doesn't need to be a separate function and fits quite well into
md_check_recovery.

The "almost" is because multipathd calls md_check_recovery but not
md_handle_safemode.  This is OK because the code from md_enter_safemode is a
no-op if mddev->safemode == 0, which it always is for a multipathd (providing
we don't allow it to be set to 2 on a signal...)

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-21 19:07:42 -07:00
..
acorn
acpi
atm
base
block
bluetooth
cdrom
char [PATCH] mips: add vr41xx gpio support 2005-06-21 18:46:32 -07:00
cpufreq
crypto
dio
eisa
fc4
firmware
i2c
ide [PATCH] ioc4: CONFIG split 2005-06-21 18:46:32 -07:00
ieee1394
infiniband
input
isdn
macintosh
mca
md [PATCH] md: merge md_enter_safemode into md_check_recovery 2005-06-21 19:07:42 -07:00
media
message
misc [PATCH] ibmasm driver: fix race in command refcount logic 2005-06-21 19:07:35 -07:00
mmc
mtd
net [PATCH] m32r: Remove include/asm-m32r/m32102peri.h 2005-06-21 19:07:31 -07:00
nubus
oprofile
parisc
parport
pci
pcmcia [PATCH] m32r: Update m32r_cfc.[ch] to support Mappi-III platform 2005-06-21 19:07:30 -07:00
pnp
s390 [PATCH] s390: cio max channels checks 2005-06-21 19:07:32 -07:00
sbus
scsi
serial [PATCH] ioc4: PCI bus speed detection 2005-06-21 18:46:32 -07:00
sh
sn [PATCH] ioc4: PCI bus speed detection 2005-06-21 18:46:32 -07:00
tc
telephony
usb
video [PATCH] fbdev: fill in the access_align field. 2005-06-21 19:07:42 -07:00
w1
zorro
Kconfig [PATCH] ioc4: CONFIG split 2005-06-21 18:46:32 -07:00
Makefile [PATCH] ioc4: CONFIG split 2005-06-21 18:46:32 -07:00