]> git.baikalelectronics.ru Git - kernel.git/commit
target/spc: Set SPT correctly in Extended INQUIRY Data VPD page
authorSagi Grimberg <sagig@mellanox.com>
Mon, 29 Jun 2015 15:32:03 +0000 (18:32 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 7 Jul 2015 01:07:03 +0000 (18:07 -0700)
commit34761a714d66a2493118d86fee27439a3edada89
tree7b84942d73af45abe68824eeee584dbe14956cfb
parent1f9891ee3224845662887bb5f4942b52b76d29aa
target/spc: Set SPT correctly in Extended INQUIRY Data VPD page

LIO supports protection types 1,3 so setting a hard-coded SPT=3
is fine for now.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_spc.c