diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-04-19 20:27:20 +0300 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-05-30 22:41:42 -0700 |
commit | 8287fa5fb43c3fa05748560b8e13b91c4e88f586 (patch) | |
tree | 71e23ef67207d3558904bb6a4eb04984a0614059 /drivers/edac | |
parent | f75b6fae1a1d0a79dcbb9cbaed1d06bf3fe57a3c (diff) | |
download | op-kernel-dev-8287fa5fb43c3fa05748560b8e13b91c4e88f586.zip op-kernel-dev-8287fa5fb43c3fa05748560b8e13b91c4e88f586.tar.gz |
target/file: Remove fd_prot bounce buffer
The reason this bounce buffer exists is to allow code
reuse between rd_mcp and fileio in DIF mode. But the fact is,
that this bounce is really not needed at all, we can simply call
sbc_dif_verify on cmd->t_prot_sg and use it for file IO.
This also removes fd_do_prot_rw as fd_do_rw was generalised
to receive file pointer, block size (8 bytes for DIF data) and
total data length.
(Fix apply breakage from commit c836777 - nab)
Tested-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions