Commit Graph

  • 28b0a0ab11 TESTS: update the READ tests to the new API Ronnie Sahlberg 2014-09-17 13:03:23 -07:00
  • 900ce145ad libiscsi.def: add missing scsi_cdb_compareandwrite and scs_malloc symbols Ronnie Sahlberg 2014-09-18 12:11:50 -07:00
  • 4b2e9bd417 TESTS: update the prefetch tests to the new api Ronnie Sahlberg 2014-09-17 10:33:54 -07:00
  • 8585e4509b TESTS: update writesame tests to new API Ronnie Sahlberg 2014-09-17 10:07:10 -07:00
  • d3f98dfdd5 TESTS: rework WRITEVERIFY* tests to the new API Ronnie Sahlberg 2014-09-17 09:38:33 -07:00
  • 8ffd78c117 temp: redo the write10/12/16 commands to the new saner api Ronnie Sahlberg 2014-09-16 16:33:13 -07:00
  • 8aefc7d579 TEST: update all the verify tests to a new API Ronnie Sahlberg 2014-09-16 14:22:58 -07:00
  • 138939cb0e TESTS: change ORWRITE to use a single helper function for all Ronnie Sahlberg 2014-09-16 12:48:38 -07:00
  • 905695575f TESTS: add a new helper check_result to validate the result of SCSI helpers Ronnie Sahlberg 2014-09-17 07:15:52 -07:00
  • 97177ec0e4 Merge branch 'master' of github.com:sahlberg/libiscsi Ronnie Sahlberg 2014-09-18 11:57:32 -07:00
  • 161547d5b6 lib/socket.c: Fix a use-after-free Bart Van Assche 2014-09-17 12:17:14 +02:00
  • 389facbdf1 Merge pull request #136 from tpetazzoni/build-fixes Ronnie Sahlberg 2014-09-07 08:16:47 -07:00
  • 80b47741c4 ld_iscsi: fix largefile related issues Thomas Petazzoni 2014-09-07 12:21:04 +02:00
  • 474e88740a Fix CUnit test for cross-compilation Thomas Petazzoni 2014-09-02 22:41:32 +02:00
  • 2dccc96160 Merge pull request #134 from plieven/fix_inquiry Ronnie Sahlberg 2014-08-21 18:50:12 -07:00
  • 4650f47d63 Merge pull request #132 from plieven/test_lbas_check_desc Ronnie Sahlberg 2014-08-21 18:49:56 -07:00
  • 55707fc1e6 Merge pull request #135 from sitsofe/intlitfix32 Ronnie Sahlberg 2014-08-21 18:48:59 -07:00
  • 3bac2a0e17 Add ULL suffix to large integer literals Sitsofe Wheeler 2014-08-19 14:56:43 +00:00
  • ad5872c1d5 Fix test_writesame1[06]_unmap_unaligned() Bart Van Assche 2014-08-21 14:46:07 +02:00
  • ded75ae18a Fix WRITE SAME data buffer length handling Bart Van Assche 2014-08-18 08:37:30 +02:00
  • e8c4be8f62 test_writesame16_0blocks: Add support for WSNZ=1 Bart Van Assche 2014-08-17 18:12:48 +02:00
  • d4ac9ef1b5 Skip test_writesame1[06]_unmap large len test for small disks Bart Van Assche 2014-08-18 10:58:49 +02:00
  • 1deb4f8e4a configure: tell platforms that dont have AM_PROG_* to just ignore it Ronnie Sahlberg 2014-08-16 19:43:25 -07:00
  • ace7f200fb Revert "Revert "configure.ac: Avoid that automake complains that AM_PROG_AR is missing"" Ronnie Sahlberg 2014-08-16 18:23:34 -07:00
  • 1f900054e1 test-tool: fix Inquiry.AllocLength Peter Lieven 2014-08-13 18:53:52 +02:00
  • f3ce541463 test-tool: fix GetLBAStatus.Simple exit Peter Lieven 2014-08-13 17:58:32 +02:00
  • a2592bff3a test-tool: improve GetLBAStatus.UnmapSingle Peter Lieven 2014-08-13 17:55:09 +02:00
  • 8e4e03d85d test-tool: allow get_lba_status to return provisioning type Peter Lieven 2014-08-13 17:02:51 +02:00
  • b9cf7e8cd2 Revert "configure.ac: Avoid that automake complains that AM_PROG_AR is missing" Ronnie Sahlberg 2014-08-11 05:59:17 -07:00
  • b631a2146c SPC-2 RESERVE tests: Use MODE SENSE instead of TEST UNIT READY Bart Van Assche 2014-07-15 08:45:39 +02:00
  • bb8d01e093 test_compareandwrite_simple: Make error messages more verbose Bart Van Assche 2014-07-16 15:18:16 +02:00
  • f6c4a82a22 test_writesame*_0blocks.c: Include WSNZ bit in test Bart Van Assche 2014-03-05 10:42:01 +01:00
  • cfce944b35 test_write*_residuals: Fix overflow tests Bart Van Assche 2013-10-14 18:22:02 +02:00
  • d77765548f libiscsi: Also parse residual if SCSI status != GOOD Bart Van Assche 2014-07-16 15:13:43 +02:00
  • 370741f83d configure.ac: Enable the subdir-objects option Bart Van Assche 2014-01-21 09:46:26 +01:00
  • 6cdb47b9b4 configure.ac: Avoid that automake complains that AM_PROG_AR is missing Bart Van Assche 2014-03-27 10:06:30 +01:00
  • 85cbf3c10e iscsi-dd.c: Don't use %lu for 64 bit integers Ronnie Sahlberg 2014-08-02 08:19:17 -07:00
  • 7d96336d52 TESTS: don't check that UNMAP actually unmapped the blocks Ronnie Sahlberg 2014-07-23 17:22:16 -07:00
  • 9d3d40ae14 Typo Ronnie Sahlberg 2014-07-21 11:26:45 -07:00
  • 8c27635c5d New version 1.12.0 Ronnie Sahlberg 2014-07-21 07:36:03 -07:00
  • cefb6a6127 TESTS: update the get_lba_status + unmap test to account for lbppbe Ronnie Sahlberg 2014-07-16 05:37:34 -07:00
  • e09d5fcefc Typo Ronnie Sahlberg 2014-07-14 20:29:23 -07:00
  • a41ec1fe60 TESTS: Add tests that get_lba_status for a single range works Ronnie Sahlberg 2014-07-14 19:46:12 -07:00
  • f0ebbdc203 Merge pull request #128 from plieven/revert_iovector Ronnie Sahlberg 2014-07-14 06:24:05 -07:00
  • 53e38dff7d socket: rename max_read parameter to count in iscsi_iovector_readv_writev Peter Lieven 2014-07-14 15:05:19 +02:00
  • a0d09ca9de Merge pull request #127 from plieven/revert_iovector Ronnie Sahlberg 2014-07-14 05:56:12 -07:00
  • 6ea698eed0 Merge pull request #126 from plieven/async_avoid_busy_wait Ronnie Sahlberg 2014-07-14 05:55:20 -07:00
  • 59e4a07129 Revert "Rewrite and simplify iscsi_iovector_readv_writev" Peter Lieven 2014-07-14 08:05:32 +02:00
  • 4b3f4b5822 iscsi_which_events: do not set POLLOUT if context is corked Peter Lieven 2014-07-14 08:02:24 +02:00
  • 6285ba72b7 iscsi-swp: Check user[0]!=0 instead of user!=NULL. user is no longer a pointer. Ronnie Sahlberg 2014-07-13 17:18:05 -07:00
  • 062dc151aa Merge pull request #108 from bonzini/reconnect-dangling-pointer-fix Ronnie Sahlberg 2014-07-13 16:47:11 -07:00
  • ada1fc2008 Merge pull request #123 from plieven/asyncv3 Ronnie Sahlberg 2014-07-13 16:46:27 -07:00
  • 8e6af982a4 Merge pull request #125 from plieven/iscsi-test Ronnie Sahlberg 2014-07-13 16:35:19 -07:00
  • 175be58c06 Merge pull request #118 from plieven/for-ronnie Ronnie Sahlberg 2014-07-13 16:33:20 -07:00
  • d44e9bd94f Merge pull request #116 from plieven/export_uint64 Ronnie Sahlberg 2014-07-13 16:32:06 -07:00
  • 0693c10b63 bump api version in iscsi.h Ronnie Sahlberg 2014-07-13 16:31:15 -07:00
  • c6d8ddba04 Merge pull request #114 from bonzini/iscsi-soname Ronnie Sahlberg 2014-07-13 16:30:14 -07:00
  • d6af861c57 iscsi-test: check for invalid descriptors offsets in get_lba_status Peter Lieven 2014-07-10 14:44:16 +02:00
  • ce0723320c libiscsi: fix dangling pointer for outqueue_current Paolo Bonzini 2014-04-02 12:44:04 +02:00
  • 4e129d385c pdu: fix statsn and factor out sn comparision Peter Lieven 2014-06-17 10:56:18 +02:00
  • 52c6b0d397 pdu: check callback on iscsi_process_reject Peter Lieven 2014-06-17 12:50:26 +02:00
  • e6894fd73a iscsi-command: do not fail commands while reconnect is pending Peter Lieven 2014-06-16 18:18:19 +02:00
  • f14f3ef6fe pdu: handle async events 2,3,4 Peter Lieven 2014-06-17 14:56:43 +02:00
  • 21e02c2078 pdu: catch rejected packets while target waits for logout Peter Lieven 2014-06-17 14:54:05 +02:00
  • 81921e3762 pdu: handle async target requests logout events Peter Lieven 2014-06-17 14:52:27 +02:00
  • 98bbeab664 pdu: introduce ISCSI_PDU_URGENT_DELIVERY Peter Lieven 2014-06-17 14:50:41 +02:00
  • 344b21d37d logout: allow additional PDU flags to be passed internally Peter Lieven 2014-06-16 16:23:28 +02:00
  • e940f95769 logout: cork socket after logout has been sent Peter Lieven 2014-06-13 13:10:18 +02:00
  • 99585b6996 pdu: introduce ISCSI_PDU_CORK_WHEN_SENT Peter Lieven 2014-06-13 13:07:39 +02:00
  • 5d55d32adb socket: do not stop sending for immediate PDUs Peter Lieven 2014-06-13 12:59:17 +02:00
  • 8e7b0a71bb examples: iscsi-dd add option to ignore errors Peter Lieven 2014-06-16 18:29:24 +02:00
  • c2a285760d examples: additional options to iscsi-dd Peter Lieven 2014-06-16 18:09:19 +02:00
  • 16165a240f include: add prototypes for scsi_{get,set}_uint64 Peter Lieven 2014-06-16 09:39:53 +02:00
  • 267343dca5 bump ABI version again Paolo Bonzini 2014-06-10 13:38:46 +02:00
  • 20b4f9a3fb tests: remove deprecated test tool iscsi-test Ronnie Sahlberg 2014-05-20 18:05:57 -07:00
  • e66b50f8ec tests: use alloca when allocating scratch buffer for writesame Ronnie Sahlberg 2014-05-20 17:52:23 -07:00
  • b7089d64e1 Merge pull request #111 from jpocas/upstream Ronnie Sahlberg 2014-05-20 17:48:17 -07:00
  • b3d2db71ed Merge pull request #112 from jpocas/ws10_ws16_unmap_fix Ronnie Sahlberg 2014-05-20 17:46:01 -07:00
  • 69c466a6c9 - writesame10 and writesame16 were looking at the datalen, when they wanted to be looking at the number of blocks jpocas 2014-05-05 14:43:58 -04:00
  • b0c57802bc - test_unmap_simple: was assuming that zero buffer was already cleared, which is not guaranteed and resulted in spurious failures - writesame10_unmap_until_end, writesame16_unmap, writesame16_unmap_until_end were doing an CU_ASSERT *PER-BYTE* in the verification phase, which was very CPU-intensive. This change uses memcmp on a whole block which finishes much quicker. jpocas 2014-04-30 16:22:27 -04:00
  • 14b5faf11e examples/ld_iscsi.c: format string int on 32bit Michael Tokarev 2014-05-07 16:10:41 +04:00
  • d7ab603ba0 format string cast ptrdiff on 32bit arch (#747262) Michael Tokarev 2014-05-07 16:10:40 +04:00
  • 717b95cb8a slist.h: rename SLIST_ to ISCSI_LIST_ to avoid clash on *BSD Ronnie Sahlberg 2014-05-07 06:44:19 -07:00
  • fe669580ee New version 1.11.0 Ronnie Sahlberg 2014-04-19 12:06:45 -07:00
  • 0bbda35941 libiscsi: fix dangling pointer for outqueue_current Paolo Bonzini 2014-04-02 12:44:04 +02:00
  • 1629a2c7fc DOCS: Update the manpage that --test now accepts a filename to read the list of tests from Ronnie Sahlberg 2014-03-26 19:13:12 -07:00
  • 91156cffe9 TESTS: Allow specifying a file instead of a test glob pattern Ronnie Sahlberg 2014-03-26 19:10:12 -07:00
  • 458764a77d TESTS: Add support to specify multiple test glob expressions Ronnie Sahlberg 2014-03-26 18:35:07 -07:00
  • 68610bd7cf TESTS: The SCSI test is called TestUnitReady, not UnitReady Ronnie Sahlberg 2014-03-26 18:20:27 -07:00
  • 1daa323e8b Change remaining command line arguments --initiator_name to --initiator-name Ronnie Sahlberg 2014-03-26 17:58:30 -07:00
  • 4a82660c57 Merge pull request #105 from rossjudson/master Ronnie Sahlberg 2014-03-26 09:24:18 -07:00
  • 90b6658482 Match actual option name with usage Ross Judson 2014-03-26 12:14:33 -04:00
  • 81c71649e7 Fix usage to reflect options with underscore Ross Judson 2014-03-26 12:11:25 -04:00
  • bbf1ceeabe DOC: Describe the return code for the external xml script Ronnie Sahlberg 2014-03-25 18:36:20 -07:00
  • 6f7fe8f36a DOCS: Add an initial manpage for iscsi-test-cu Ronnie Sahlberg 2014-03-24 17:04:29 -07:00
  • 44c9e47ddf README: Mention --initiator-name and --initiator-name-2 in the section for the new test tool. Ronnie Sahlberg 2014-03-24 16:03:56 -07:00
  • 9f51601d1a DOCS: Include the pre-built manpages in the distribution Ronnie Sahlberg 2014-03-23 09:04:33 -07:00
  • 24601a36ee MAKEFILE.AM cleanups Ronnie Sahlberg 2014-03-22 18:21:27 -07:00
  • aff5ef7ed2 AUTOTOOLS: Build the ld preload thing as part of examples Ronnie Sahlberg 2014-03-22 18:11:30 -07:00
  • ae60611f68 AUTOTOOLS: Add Makefile.am for examples/ Ronnie Sahlberg 2014-03-22 17:46:02 -07:00