]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86e6c720b5f3b2f884e5ed6fe859c40bdf640130
treefa5aad7ae66f5be460f18352de357d5c6c8bfff0
parent102eaea573defef31bf2ebc433f71af941e7e819
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