diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-01-18 13:33:48 +0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-01-19 06:21:55 +0400 |
commit | 42201b557471f2fef2e9e028b50a773d99ffc401 (patch) | |
tree | b24fbaf77eed5cf01d384137a9d143981c6d31fd /drivers/target/target_core_rd.c | |
parent | 0f5e2ec46dd64579c0770f3822764f94db4fa465 (diff) | |
download | linux-42201b557471f2fef2e9e028b50a773d99ffc401.tar.xz |
target/file: Add DIF protection support to fd_execute_rw
This patch adds support for DIF protection into fd_execute_rw() code
for WRITE/READ I/O using sbc_dif_verify_[write,read]() logic.
It adds fd_do_prot_rw() for handling interface with FILEIO PI, and
uses a locally allocated fd_prot->prot_buf + fd_prot->prot_sg for
interacting with SBC DIF verify emulation code.
Cc: 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>
Diffstat (limited to 'drivers/target/target_core_rd.c')
0 files changed, 0 insertions, 0 deletions