target/spc: Expose ATO bit in control mode page
authorNicholas Bellinger <nab@linux-iscsi.org>
Mon, 23 Dec 2013 21:23:34 +0000 (21:23 +0000)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 18 Jan 2014 09:53:14 +0000 (09:53 +0000)
commit0c30f421a7dba0a7ca9a3f67dad15d84d4d61e01
treefa5aad7ae66f5be460f18352de357d5c6c8bfff0
parent56dac14cd25259fc567c5c4726a8f30f0ea407ce
target/spc: Expose ATO bit in control mode page

This patch updates spc_modesense_control() to set the Application
Tag Owner (ATO) bit when when DIF emulation is enabled by the
backend device.

Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_spc.c