]> git.karo-electronics.de Git - karo-tx-linux.git/commit
target/pscsi: Only emulate REPORT_LUNS for passthrough
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 30 May 2012 21:47:18 +0000 (14:47 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:28:40 +0000 (17:28 -0700)
commita3785c8740c5b56b49ec336b59be996393d83332
tree6ea1d4fae485ed85d577c927468654ba27527544
parenteba2ca450526c1aaf2bfd363dffd63b024e80ea7
target/pscsi: Only emulate REPORT_LUNS for passthrough

This patch changes back the pSCSI backend to follow pre 3.6-queue code to
passthrough SPC-3 persistent reservations + SPC-2 legacy reservation
handling to the underlying LLD / physical hardware.

For folks who really need this for their own SPC-3 emulation logic, avoid
changing the functionality of this beyond what is exported for REPORT_LUNS
for existing code, and to avoid problems with SPC-3 PR/ALUA as INQUIRY
EVPD=0x83 emulation needs to be in place in order for this to work as
expected with spc_parse_cdb() code..

Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_pscsi.c