]> git.baikalelectronics.ru Git - kernel.git/commit
aoe: user can ask driver to forget previously detected devices
authorEd L. Cashin <ecashin@coraid.com>
Fri, 8 Feb 2008 12:20:03 +0000 (04:20 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:31 +0000 (09:22 -0800)
commit0eb163b1b311102548682822392ec3b9b477997e
tree6a995fead6fa9638e02fc6e3928fe0a8612f073a
parent6dc060e3daed045bea1606c0ce1e27adf3968599
aoe: user can ask driver to forget previously detected devices

When an AoE device is detected, the kernel is informed, and a new block device
is created.  If the device is unused, the block device corresponding to remote
device that is no longer available may be removed from the system by telling
the aoe driver to "flush" its list of devices.

Without this patch, software like GPFS and LVM may attempt to read from AoE
devices that were discovered earlier but are no longer present, blocking until
the I/O attempt times out.

Signed-off-by: Ed L. Cashin <ecashin@coraid.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/aoe/mkdevs.sh
Documentation/aoe/udev.txt
drivers/block/aoe/aoe.h
drivers/block/aoe/aoechr.c
drivers/block/aoe/aoedev.c