aboutsummaryrefslogtreecommitdiff
path: root/testing/sgs_dd.c
AgeCommit message (Collapse)Author
2022-10-21build cleanups for 'make distcheck'Douglas Gilbert
See https://github.com/doug-gilbert/sg3_utils/pull/26, 27 and 28; still need svn:ignore property or maybe global-ignores. More testing/*_dd.c* cleanups for retiring HIPRI and relacing with POLLED (for calling bio_poll() in kernel). git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@975 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-08-18sg_inq+sg_vpd: more updates but not finishedDouglas Gilbert
The sg_inq+sg_inq work is mainly JSON additions. sg_vpd has a new --sinq_inraw=RFN option. Update and place names for the 64 TapeAlert flags in the library. This improves TapeAlert reporting for sg_inq, sg_vpd and sg_logs. Refine the description of the VPD page merge of processing for sg_inq and sg_vpd to only include _T10_ defined pages, so the vendor specific VPD page processings of those utilities are still separate. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@969 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-01-19round of coverity identified issue fixes (and non-issues)Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@931 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-10-28sg_dd: 'iflag=00,ff' places the 32 bit block address (big endian) into each ↵Douglas Gilbert
block; sgp_dd: major rework, new: --chkaddr which checks for block address in each block git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@916 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-07-29sg_zones: finish initial support for REPORT ZONE DOMAINS and REPORT REALMSDouglas Gilbert
Lots of clean-up based on Coverity and other code checkers. Add some new inhex folder entries to testing those new ZBC-2 commands. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@906 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-04-08tweaking utilities in testing directoryDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@894 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-04-01move some hex file from examples to inhex directory; add ↵Douglas Gilbert
testing/sg_take_snap; remove no_waitq from testing git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@893 6180dd3e-e324-4e3e-922d-17de1ae2f315
2021-02-20testing updates, mainly sgs_ddDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@876 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-09-28sg_dd: tweak unrecovered error reporting; testing sg*_dd work, new uapi_sg.hDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@863 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-08-22partial_clear_scsi_pt_obj() declared in sg_pt.h; testing directory workDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@861 6180dd3e-e324-4e3e-922d-17de1ae2f315
2020-04-04sync with sbc4r19a; start req/write SNTL work; testing fixesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@846 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-08-29add sg_get_elem_status utility; inhex folder; some NVMe 1.4; some zbc realmsDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@830 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-07-02sg_request: add --error option; pack_ids in sg*_dd; testingDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@827 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-06-13sg_ses: document explicit Element type codes; SG3_UTILS_LINUX_NANO ↵Douglas Gilbert
environment variable when Linux sg driver >= 4.0.30; more testing code git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@825 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-05-18sg_lib: add sg_f2hex_arr()Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@824 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-05-15sg_read_buffer: decode read microcode status page, add --inhex=FN optionDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@822 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-05-01sg_vpd: add --examine option; gcc-9: suppress warnings; more testing workDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@821 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-04-14testing folder utilities for sg v4 driverDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@818 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-03-26sg_inq: update version descriptors to spc5r21; scripts/scsi-sg3_id: update ↵Douglas Gilbert
rules; testing folder work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@814 6180dd3e-e324-4e3e-922d-17de1ae2f315
2019-01-11spc5r20 updates; fixes for FreeBSD 12.0 releaseDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@804 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-12-25rename: sgs_dd-->sgh_dd; retrieve sgs_dd from archive, it has SIGIO and RT ↵Douglas Gilbert
signals git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@802 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-12-22testing/sgh_dd: rename of sgs_dd to avoid ... testing/sgs_dd: from archive, ↵Douglas Gilbert
for testing SIGPOLL git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@801 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-12-21sg_raw: fix --send bug when using stdin; work on sgs_ddDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@800 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-12-17testing: improve sgs_dd, sg_tst_async and sg_tst_ioctl sg v4 test utilitiesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@799 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-12-13sg_format: add --dcrt used twice (FOV=1 DCRT=0); sg_pt_linux: uses sg v4 ↵Douglas Gilbert
interface if sg driver >= 4.0.0 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@798 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-12-07add: SPDX-License-Identifier: BSD-2-Clause (or gpl-2-or-later); ↵Douglas Gilbert
testing/sgs_dd.c work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@797 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-11-27sg_write_buffer: allow comma and period separated lists when input from ↵Douglas Gilbert
stdin; sg driver share testing git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@796 6180dd3e-e324-4e3e-922d-17de1ae2f315
2018-11-12sg_scan(win32): expand limits for big arrays; rescan-scsi-bus: widen LUN 0 ↵Douglas Gilbert
only scanning; add SG_LIB_WINDOWS_ERR git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@795 6180dd3e-e324-4e3e-922d-17de1ae2f315