android_kernel_xiaomi_sm7250/drivers/block/aoe
Ed L. Cashin 6b9699bbd2 aoe: only install new AoE device once
An aoe driver user who had about 70 AoE targets found that he was hitting a
BUG in sysfs_create_file because the aoe driver was trying to tell the kernel
about an AoE device more than once.  Each AoE device was reachable by several
local network interfaces, and multiple ATA device indentify responses were
returning from that single device.

This patch eliminates a race condition so that aoe always informs the block
layer of a new AoE device once in the presence of multiple incoming ATA device
identify responses.

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>
2008-02-08 09:22:32 -08:00
..
aoe.h aoe: dynamically allocate a capped number of skbs when necessary 2008-02-08 09:22:32 -08:00
aoeblk.c aoe: mac_addr: avoid 64-bit arch compiler warnings 2008-02-08 09:22:31 -08:00
aoechr.c aoe: user can ask driver to forget previously detected devices 2008-02-08 09:22:31 -08:00
aoecmd.c aoe: only install new AoE device once 2008-02-08 09:22:32 -08:00
aoedev.c aoe: dynamically allocate a capped number of skbs when necessary 2008-02-08 09:22:32 -08:00
aoemain.c aoe: revert printk macros 2006-10-18 12:53:51 -07:00
aoenet.c aoe: mac_addr: avoid 64-bit arch compiler warnings 2008-02-08 09:22:31 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00