Home
last modified time | relevance | path

Searched hist:"6 b9699bbd24e82d2ec3bb5a43100099a936ded04" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/block/aoe/
H A Daoecmd.cdiff 6b9699bbd24e82d2ec3bb5a43100099a936ded04 Fri Feb 08 06:20:06 CST 2008 Ed L. Cashin <ecashin@coraid.com> 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>