On Wed, 2014-11-26 at 14:58 +0100, Hannes Reinecke wrote: > tcm_loop has the I_T nexus associated with the HBA. This causes > commands to become misdirected if the HBA has more than one > target portal group; any command is then being sent to the > first target portal group instead of the correct one. > > The nexus needs to be associated with the target portal group > instead. > > Signed-off-by: Hannes Reinecke <hare@xxxxxxx> > --- > drivers/target/loopback/tcm_loop.c | 66 +++++++++++++------------------------- > drivers/target/loopback/tcm_loop.h | 7 +--- > 2 files changed, 24 insertions(+), 49 deletions(-) > Nice catch on this long-standing bug with tcm_loop + multi tpg export configurations. Applied to target-pending/for-next + stable CC. Thanks Hannes. --nab -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html