diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2020-10-09 18:09:07 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2020-10-09 18:09:07 +0000 |
commit | 050aa4385fef1eb0ef515bdc97c47dc24858354a (patch) | |
tree | a61eada99c8bcb262a7670445430ce56fd66830e /testing | |
parent | 20eb07694951b0760f741e7b74c0a363f8ed2b3b (diff) | |
download | sg3_utils-050aa4385fef1eb0ef515bdc97c47dc24858354a.tar.gz |
sg_dd: add 00,ff,random flags; sg_modes: document '-s' option
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@864 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'testing')
-rw-r--r-- | testing/sg_mrq_dd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/sg_mrq_dd.cpp b/testing/sg_mrq_dd.cpp index 2d4515a4..5cd9da49 100644 --- a/testing/sg_mrq_dd.cpp +++ b/testing/sg_mrq_dd.cpp @@ -30,7 +30,7 @@ * */ -static const char * version_str = "1.13 20200927"; +static const char * version_str = "1.14 20201008"; #define _XOPEN_SOURCE 600 #ifndef _GNU_SOURCE @@ -1829,6 +1829,7 @@ sg_half_segment_mrq0(Rq_elem * rep, scat_gath_iter & sg_it, bool is_wr, t_v4p->request = (uint64_t)t_cdb.data(); t_v4p->usr_ptr = t_v4p->request; t_v4p->response = (uint64_t)rep->sb; + t_v4p->max_response_len = sizeof(rep->sb); t_v4p->flags = rflags; t_v4p->request_len = cdbsz; if (is_wr) { @@ -2352,6 +2353,7 @@ do_both_sg_segment_mrq0(Rq_elem * rep, scat_gath_iter & i_sg_it, t_v4p->request = (uint64_t)t_cdb.data(); t_v4p->usr_ptr = t_v4p->request; t_v4p->response = (uint64_t)rep->sb; + t_v4p->max_response_len = sizeof(rep->sb); t_v4p->flags = iflags; t_v4p->request_len = cdbsz; t_v4p->din_xfer_len = num * clp->bs; |