]> git.baikalelectronics.ru Git - kernel.git/commit
aoe: associate frames with the AoE storage target
authorEd Cashin <ecashin@coraid.com>
Fri, 5 Oct 2012 00:16:33 +0000 (17:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:05:27 +0000 (03:05 +0900)
commitb6ea94727cce5956a4b6832fa41e3fc0b20179ed
tree3a8b9f5c1860acd8bab6d022dbbca32985e228ee
parent8f1ba3c7a14c6daf810632718ccfdc25dbe62c7f
aoe: associate frames with the AoE storage target

In the driver code, "target" and aoetgt refer to a particular remote
interface on the AoE storage target.  The latter is identified by its AoE
major and minor addresses.  Commands that are being sent to an AoE storage
target {major, minor} can be sent or retransmitted to any of the remote
MAC addresses associated with the AoE storage target.

That is, frames are naturally associated with not an aoetgt (AoE major,
AoE minor, remote MAC address) but an aoedev (AoE major, AoE minor).
Making the code reflect that reality simplifies the driver, especially
when the path to a remote MAC address becomes unusable.

Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/aoe/aoe.h
drivers/block/aoe/aoecmd.c
drivers/block/aoe/aoedev.c