| 1 |
The version number is hard-coded into src/ddpt.c (in a C string); |
| 2 |
the rpm spec file: ddpt.spec ; the debian/changelog file; |
| 3 |
and the configure.ac file (in the AC_INIT item). |
| 4 |
|
| 5 |
Changelog for released ddpt-0.97 [20210421] [svn: r388] |
| 6 |
- ddpt: add cdl operand for command duration limits |
| 7 |
- ddpt: add oflag=nocreat and conv=nocreat that require |
| 8 |
OFILE to exist, it won't be created |
| 9 |
- ddpt: warn if disk has protection type 2 and cdbsz!=32 |
| 10 |
has not been used (it is required according to SBC-4) |
| 11 |
- ddpt: cdbsz= operand can now take 2 comma-separated numbers |
| 12 |
- NVMe devices can now be accessed via iflag=pt or oflag=pt |
| 13 |
without those flags they will be accessed as block devices |
| 14 |
- now accept --progress or -p as shorter form of |
| 15 |
status=progress [borrowed from FreeBSD's dd] |
| 16 |
- fix progress reporting when OFILE is /dev/null |
| 17 |
- start using autoconf 2.70 |
| 18 |
- point svn:externals to sg3_utils release 1.46 (rev 891) |
| 19 |
|
| 20 |
Changelog for ddpt-0.96 [20200303] [svn: r375] |
| 21 |
- allow scatter gather lists for skip= and seek= where they can |
| 22 |
reasonably be implemented |
| 23 |
- add status=progress option, report every 2 minutes |
| 24 |
-add status=sgl option to print internal sgls |
| 25 |
- add --dry-run, --flexible and --quiet options |
| 26 |
- add iflag=00 and iflag=ff for fill bytes |
| 27 |
- add oflag=wstream for WRITE STREAM(16) on OFILE, STR_ID provided |
| 28 |
by list_id=LID operand |
| 29 |
- require job file to contain 'ddpt' argument as sanity check:` |
| 30 |
either 'ddpt=<version_number>' or 'ddpt=r<revision_number>' |
| 31 |
- add ddpt_sgl utility for list manipulations |
| 32 |
- add support for Receive copy status(lid4) command |
| 33 |
- add prefer_rcs flag and conversion for xcopy(odx) |
| 34 |
- add support for locally assigned UUIDs in VPD page 0x83 (spc5r08) |
| 35 |
- third party (extended) copy: add support for "point in time - |
| 36 |
copy on write" type RODs, spc5r20 |
| 37 |
- add 'delta' throughput calculation (e.g. since previous report |
| 38 |
with status=progress) |
| 39 |
- add testing directory and scripts |
| 40 |
- prepare.sh to test ddpt |
| 41 |
- test_sgl.sh to test ddpt_sgl |
| 42 |
- add --verify option to change from doing WRITE(OFILE) to doing |
| 43 |
VERIFY(OFILE,BYTCHK=1) |
| 44 |
- add --prefetch option to add PRE-FETCH(OFILE,IMMED) command to |
| 45 |
the --verify seqeunce of commands |
| 46 |
- change oflag=verify to oflag=wverify to distinguish it from the |
| 47 |
new --verify option |
| 48 |
- improve device designator descriptor handling |
| 49 |
- resubmit IOs if EAGAIN, report count at completion if > 0 |
| 50 |
- fix SCSI recovered errors stopping copy |
| 51 |
- align pass-through buffers to page boundaries |
| 52 |
- fix reading fifo (stdin) and writing to regular file |
| 53 |
- rework pr2serr() handling |
| 54 |
- use sg_pt::set_scsi_pt_packet_id() with ascending counter, helps |
| 55 |
debugging (mainly Linux) |
| 56 |
- improve xcopy(odx) error reporting |
| 57 |
- point svn:externals to rev 843 of sg3_utils (version 1.45) |
| 58 |
- convert many two valued 'int's to bool |
| 59 |
- upgrade automake to version 1.15 (U16.04) |
| 60 |
- cleanup configure.ac + Makefile.am |
| 61 |
- update BSD license from 3 to 2 clause aka FreeBSD |
| 62 |
license (without reference to FreeBSD project) |
| 63 |
- debian: bump compat file contents from 7 to 10 |
| 64 |
|
| 65 |
Changelog for ddpt-0.95 [20141226] [svn: r307] |
| 66 |
- add oflag=verify[,bytchk] to write using the SCSI |
| 67 |
WRITE AND VERIFY command |
| 68 |
- add job file that holds options; specified either |
| 69 |
freestanding on command line or after --job= |
| 70 |
- show percent completed |
| 71 |
- add DDPT_DEF_BS environment variable |
| 72 |
- add iflag=ff to source 0xff bytes |
| 73 |
- ddptctl: add --hex and --readonly options |
| 74 |
- add atomic flag for WRITE ATOMIC(16) command on OFILE |
| 75 |
- add warning when oflag=strunc copy interrupted |
| 76 |
- win32: ddpt --wscan fixes |
| 77 |
- point svn:externals to rev 620 of sg3_utils |
| 78 |
- upgrade automake to version 1.14.1 |
| 79 |
|
| 80 |
Changelog for ddpt-0.94 [20140407] [svn: r277] |
| 81 |
- xcopy: change default to send xcopy command to dst |
| 82 |
- add XCOPY_TO_SRC and XCOPY_TO_DST environment |
| 83 |
variables to guide where to send xcopy command |
| 84 |
- odx: add new offloaded copy technique, also known |
| 85 |
as "xcopy v2, lite", that exposes ROD Tokens |
| 86 |
- ddpt supports 4 odx variants: full copy, zero |
| 87 |
output blocks, read to tokens and write from |
| 88 |
tokens. Latter two facilitate network copies |
| 89 |
- add scatter-gather list capability to seek=, |
| 90 |
skip= to read from command line, file or stdin |
| 91 |
- ddptctl: add odx helper utility |
| 92 |
- can issue individual PT, WUT, RRTI, Report All |
| 93 |
Rod Tokens, and Copy Operation Abort commands |
| 94 |
- can decode T10 defined info in Rod Token |
| 95 |
- improve CL handling of short options (e.g. '-vv') |
| 96 |
- point svn:externals to rev 563 of sg3_utils |
| 97 |
- configure: add --disable-libsgutils option so |
| 98 |
build bypasses that library if present |
| 99 |
|
| 100 |
Changelog for ddpt-0.93 [20131113] [svn: r242] |
| 101 |
- add xcopy support, new flags: xcopy, cat, dc; |
| 102 |
new options: id_usage=, list_id=, prio= |
| 103 |
- add intio=0|1 ; rework signal handling |
| 104 |
- allow tape device in non-pt mode |
| 105 |
- fix fifo read when bs is large |
| 106 |
- add delay=MS,W_MS for bandwidth limiting |
| 107 |
- add oflag=ignoreew,pad,nofm,nopad for tape |
| 108 |
- add iseek= option, synonym for skip= |
| 109 |
- add oseek= option, synonym for seek= |
| 110 |
- add protect=RDP,WRP option |
| 111 |
- add cdbsz=32 option for READ(32) and WRITE(32) |
| 112 |
- add rarc flag for scsi read cdbs |
| 113 |
- add block flag for pt (non blocking by default) |
| 114 |
- fix overflow on OFILE when input fifo |
| 115 |
- ./configure options: |
| 116 |
- change --enable-no-linux-bsg to --disable-linuxbsg |
| 117 |
- add --disable-scsistrings to reduce utility size |
| 118 |
with non-libsgutils build |
| 119 |
- reduce ddpt.c size by adding ddpt_pt.c |
| 120 |
- win32: fixes for cygwin version 1.7.17 headers |
| 121 |
- translate O_EXCL to no sharing |
| 122 |
- point svn:externals to rev 522 of sg3_utils |
| 123 |
- upgrade automake to version 1.13.3 |
| 124 |
|
| 125 |
Changelog for ddpt-0.92 [20110217] [svn: r157] |
| 126 |
- when pt used on block device and discrepancy between size |
| 127 |
of block device and read capacity size, require force flag |
| 128 |
- add coe support for input block devices and regular files |
| 129 |
- support conv=fdatasync, conv=fsync, oflag=fdatasync and |
| 130 |
oflag=fsync; called at end of copy |
| 131 |
- allow partial writes of trailing bytes when output is |
| 132 |
regular file or fifo (stdout), ignore if block or pt device |
| 133 |
- fix stdin, stdout and fifo handling problems |
| 134 |
- if iflag=sparse and of=/dev/null (or not given) warn but |
| 135 |
set oflag=sparse and continue |
| 136 |
- treat unrecovered errors as partial (as dd does) |
| 137 |
- win32: add '--wscan' option to scan for devices and volumes |
| 138 |
- select SPT direct pt interface |
| 139 |
- add estimate of remaining time in progress signal handler |
| 140 |
- accept but ignore cbs= option |
| 141 |
- error reporting clean up |
| 142 |
- add AM_MAINTAINER_MODE to configure.ac to lessen build issues |
| 143 |
|
| 144 |
Changelog for ddpt-0.91 [20100920] [svn: r121] |
| 145 |
- rework copy loop. |
| 146 |
- extend bpt=BPT to bpt=BPR[,OBPC] spare+sparse granularity |
| 147 |
- change BPT default to vary from 8192 to 1 depending on IBS |
| 148 |
- add oflag=resume logic |
| 149 |
- change oflag=sparse to extend regular OFILE with a final |
| 150 |
block write, if required |
| 151 |
- add oflag=strunc to also do sparse writes but to extend |
| 152 |
regular OFILE with ftruncate, if required |
| 153 |
- change 'bs=' option to set IBS and OBS; 'ibs=' and 'obs=' |
| 154 |
can coexist but not with 'bs='. [Closer to dd semantics] |
| 155 |
- conv=noerror,null,resume,sparing,sparse,sync now permitted |
| 156 |
- add oflag=trunc and conv=trunc (default: overwrite) |
| 157 |
- quietly ignored if resume, needed due to sequence |
| 158 |
- add oflag=trim for TRIM/UNMAP on pt OFILEs |
| 159 |
- add iflag=self or oflag=self for self-trim |
| 160 |
- add oflag=nowrite to bypass writes+truncates (does trims) |
| 161 |
- add iflag=errblk to write bad LBAs to file |
| 162 |
- if sense data deficient, write a LBA range to file |
| 163 |
- add iflag=norcap or oflag=norcap to bypass the SCSI READ |
| 164 |
CAPACITY command on pt devices |
| 165 |
- discrepancies between ibs or obs and READ CAPACITY supplied |
| 166 |
block lengths abort the copy. This can be overridden by |
| 167 |
iflag=force or oflag=force on pt devices |
| 168 |
- optical memory devices (pdt=7) added to cd/dvd readers (pdt=5) |
| 169 |
that don't need sense valid=1 to accept info field (when > 0) |
| 170 |
- rework short read logic for block and regular files |
| 171 |
- treat linux bsg devices as implicit pt devices |
| 172 |
|
| 173 |
Changelog for ddpt-0.90 [20100508] [svn: r85] |
| 174 |
- copied from sg_dd utility in sg3_utils package |
| 175 |
- change name from sgdd to ddpt (package and utility name) |
| 176 |
- ibs and obs can differ when ((ibs * bpt) % obs) == 0) |
| 177 |
- change 'sg_io' flag to 'pt' (for pass-through) |
| 178 |
- change 'dsync' flag to 'sync'; 'ssync' flag for SCSI |
| 179 |
SYNCHRONIZE CACHE command; add 'nocache' flag |
| 180 |
- 'if=IFILE' must be given, to read from stdin use 'if=-' |
| 181 |
- 'of=OFILE' changed to default to /dev/null (was stdout) |
| 182 |
- if 'nocache' flag call posix_fadvise(SEQUENTIAL) on |
| 183 |
input fd and posix_fadvise(DONTNEED) during copy |
| 184 |
- add 'fua_nv' flag |
| 185 |
- when multiple unrecovered errors report lowest and |
| 186 |
highest LBA |
| 187 |
- call sg_set_binary_mode() on fds (for windows) |
| 188 |
- resubmit pass-through reads and writes if interrupted |
| 189 |
- drop Linux raw file support |
| 190 |
- drop READ LONG logic (coe=2 and coe=3) |
| 191 |
- add write sparing support (oflag=sparing) |
| 192 |
- add linux bsg support |
| 193 |
- sg_pt_win32: define WIN32_SPT_DIRECT via config.h |
| 194 |
- calculate COUNT for regular files when required |
| 195 |
- accept 'count=-1' to mean calculate COUNT |
| 196 |
- accept '-V' as synonym for '--version' |
| 197 |
- point svn:externals to rev 334 of sg3_utils |