diff options
author | Nicholas Bellinger <[email protected]> | 2014-01-08 12:06:30 +0000 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2014-01-19 02:22:06 +0000 |
commit | 6e611119b16c73a6e1c450d00deb4d7eef853336 (patch) | |
tree | 31aed1d847f113481d285fd44db308815b1f8b5a /tools/perf/util/trace-event-scripting.c | |
parent | d7e8eb5d9216c6a4f963aa6d07e29680af17d739 (diff) |
target/rd: Add DIF protection into rd_execute_rw
This patch adds support for DIF protection into rd_execute_rw() code
for WRITE/READ I/O using sbc_dif_verify_[write,read]() logic.
It also adds rd_get_prot_table() for locating protection SGLs
assoicated with the ramdisk backend device.
v2 changes:
- Make rd_execute_rw() to u32 sectors count instead of sector_t
- Drop SCF_PROT usage
Cc: Martin K. Petersen <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: Or Gerlitz <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions