aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2019-03-26 03:54:53 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2019-03-26 03:54:53 +0000
commit072494ad0074ea42df51c8d44608fd63215dac15 (patch)
treead3bdd340a1b5e92cc197b177efabb58ac985636 /examples
parent9aa7e9500ba00b8ccac5851ac238194db4d07f48 (diff)
downloadsg3_utils-072494ad0074ea42df51c8d44608fd63215dac15.tar.gz
sg_inq: update version descriptors to spc5r21; scripts/scsi-sg3_id: update rules; testing folder work
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@814 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'examples')
-rw-r--r--examples/sgq_dd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/sgq_dd.c b/examples/sgq_dd.c
index 00a98aad..2f163ef1 100644
--- a/examples/sgq_dd.c
+++ b/examples/sgq_dd.c
@@ -1,6 +1,6 @@
/*
* A utility program for the Linux OS SCSI generic ("sg") device driver.
- * Copyright (C) 1999-2018 D. Gilbert and P. Allworth
+ * Copyright (C) 1999-2010 D. Gilbert and P. Allworth
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
@@ -53,7 +53,7 @@ typedef uint8_t u_char; /* horrible, for scsi.h */
#include "sg_unaligned.h"
-static char * version_str = "0.62 20181207";
+static char * version_str = "0.63 20190324";
/* resurrected from "0.55 20020509" */
#define DEF_BLOCK_SIZE 512
@@ -67,7 +67,7 @@ static char * version_str = "0.62 20181207";
#define SGP_READ10 0x28
#define SGP_WRITE10 0x2a
#define DEF_NUM_THREADS 4 /* actually degree of concurrency */
-#define MAX_NUM_THREADS 32
+#define MAX_NUM_THREADS 1024
#ifndef RAW_MAJOR
#define RAW_MAJOR 255 /*unlikey value */
@@ -244,7 +244,7 @@ usage()
" usually either 'if' or 'of' is a sg or raw device\n"
" 'bpt' is blocks_per_transfer (default is 128)\n"
" 'dio' is direct IO, 1->attempt, 0->indirect IO (def)\n"
- " 'thr' is number of queues, must be > 0, default 4, max 32\n");
+ " 'thr' is number of queues, must be > 0, default 4, max 1024\n");
fprintf(stderr, " 'coe' continue on sg error, 0->exit (def), "
"1->zero + continue\n"
" 'time' 0->no timing(def), 1->time plus calculate throughput\n"