Nicholas Bellinger 395ccb2531 target/sbc: Add sbc_dif_read_strip software emulation
Split up __sbc_dif_verify_read() so that VERIFY READ emulation can
perform target-core specific READ_STRIP, seperate from the existing
FILEIO/RAMDISK backend emulation code.

Also add sbc_dif_read_strip() in order to determine number of sectors
using cmd->prot_length, and skip the extra sbc_dif_copy_prot().

Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Quinn Tran <quinn.tran@qlogic.com>
Cc: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2014-04-07 01:48:57 -07:00
..
2014-02-14 16:13:00 -08:00
2014-02-21 09:55:32 -08:00
2014-02-20 12:46:24 -08:00
2014-03-09 19:27:31 -07:00
2014-01-12 23:48:18 +01:00
2014-02-14 10:32:28 -08:00
2014-01-15 14:51:22 -08:00
2014-03-04 08:41:42 -08:00
2014-03-04 07:55:47 -08:00
2014-01-22 22:24:35 -08:00
2014-02-12 12:28:05 -08:00