]> www.infradead.org Git - users/jedix/linux-maple.git/commit
target: add inquiry_vendor module param to override LIO-ORG
authorKyle Fortin <kyle.fortin@oracle.com>
Tue, 13 Mar 2018 17:44:33 +0000 (13:44 -0400)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 22 Mar 2018 23:17:58 +0000 (16:17 -0700)
commita8c63cd8b78544cf132b7ed93dc21decd7392f88
treef21a9d7360e9947e4b04cd3cb3c757d7fa723e99
parent34f67dd7e4242f1d03485cbc336627aa7b1ea427
target: add inquiry_vendor module param to override LIO-ORG

Orabug: 27679431

OL6 iscsi target used IET which presented IET for the inquiry vendor.
OL7 uses LIO iscsi target instead, which presents 'LIO-ORG'.

Exadata targets upgrading from OL6 to OL7 need to present the same
vendor ID to existing iscsi initiator multipath mappings.

Add target_core_mod parameter inquiry_vendor for target inquiry vendor
string override.  It defaults to original "LIO-ORG " if not set.

(cherry picked from commit 87e9da042f42aa5bef1a76c4ef84989680e1df2e)
Signed-off-by: Kyle Fortin <kyle.fortin@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_device.c
drivers/target/target_core_internal.h
drivers/target/target_core_spc.c