Commit Graph

  • baf0910331 Merge branch 'master' of github.com:sahlberg/libiscsi Ronnie Sahlberg 2013-09-21 14:57:27 -07:00
  • 31f40b2e53 test-tool/1120_persistent_register_simple.c: Spelling fix Bart Van Assche 2013-09-20 20:40:28 +02:00
  • b1a6e5923a Merge pull request #78 from sitsofe/makefile Ronnie Sahlberg 2013-09-19 15:02:00 -07:00
  • 7417a6fcf5 Fix Makefile.am breakage. Sitsofe Wheeler 2013-09-18 17:02:56 +01:00
  • 657a7a4f7f Merge branch 'master' of github.com:sahlberg/libiscsi Ronnie Sahlberg 2013-09-17 09:17:53 -07:00
  • 158f2226c0 TEST: read10invalid use the reported blocksize instead of a hardcoded value Ronnie Sahlberg 2013-09-17 09:16:59 -07:00
  • 8958a88ae9 Merge pull request #76 from sitsofe/osx Ronnie Sahlberg 2013-09-10 06:24:30 -07:00
  • 9b40f0a94d Merge pull request #75 from sitsofe/clang Ronnie Sahlberg 2013-09-10 06:24:08 -07:00
  • b61a3bb4ca Merge pull request #74 from sitsofe/compareandwrite Ronnie Sahlberg 2013-09-10 06:22:59 -07:00
  • 221e1fef76 TESTS: Fix READ6 test Sitsofe Wheeler 2013-09-10 09:52:06 +01:00
  • 2fda87160c Fix compilation on OS X Sitsofe Wheeler 2013-09-07 00:17:48 +01:00
  • 7692027d6c Fix compilation issues under clang Sitsofe Wheeler 2013-09-07 00:17:48 +01:00
  • 0b6b12ba53 TESTS: Fix COMPAREANDWRITE tests to send write data Sitsofe Wheeler 2013-09-09 16:42:15 +01:00
  • 45a3752d16 TESTS: Abort READ6 test if lun is bigger than what READ6 can address Ronnie Sahlberg 2013-09-02 12:19:24 -07:00
  • 2627d371fd Merge pull request #73 from sitsofe/master Ronnie Sahlberg 2013-09-02 11:57:43 -07:00
  • 489f9b27e3 Fix incorrect second initiator. Sitsofe Wheeler 2013-08-30 09:14:37 +01:00
  • dae7fb6c37 Merge pull request #72 from bonzini/master Ronnie Sahlberg 2013-08-26 19:21:10 -07:00
  • 73b0d4777f Ignore padding when an iovector is supplied Paolo Bonzini 2013-08-26 17:54:47 +02:00
  • daac72a8f9 TESTS more writesame1* test fixes Ronnie Sahlberg 2013-08-25 16:39:38 -07:00
  • ab600e39b0 TESTS: Fixes to the WRITESAME tests Ronnie Sahlberg 2013-08-25 15:26:36 -07:00
  • 1e5a256366 Update comments Ronnie Sahlberg 2013-08-04 18:51:58 -07:00
  • dc981c93ef Cleanup: rename to payload_* the PDU variables used to track writing to socket Ronnie Sahlberg 2013-08-04 17:34:15 -07:00
  • 6cb88eb0ce Cleanup: rename pdu->written -> pdu->outdata_written Ronnie Sahlberg 2013-08-04 17:27:29 -07:00
  • c5bd95aac9 Remove the use of TCP_CORK Ronnie Sahlberg 2013-08-04 16:15:22 -07:00
  • 6041dcd136 Add a new function to create a scsi_task using an existing CDB Ronnie Sahlberg 2013-08-04 13:12:13 -07:00
  • 06eab264f6 Rewrite and simplify iscsi_iovector_readv_writev Ronnie Sahlberg 2013-08-04 14:34:57 -07:00
  • 7772b9fafd TESTS: Fix memory leak in the VERIFY16 Mismatch test Ronnie Sahlberg 2013-08-04 14:07:06 -07:00
  • 4ccfe10a70 Merge pull request #71 from bonzini/aliasing-more Ronnie Sahlberg 2013-08-03 06:52:43 -07:00
  • 3916872d27 use scsi_get/set_uint16/32/64 in tests Paolo Bonzini 2013-08-02 16:24:34 +02:00
  • 912b5dc495 Merge pull request #67 from plieven/small_allocations Ronnie Sahlberg 2013-08-02 06:45:35 -07:00
  • eeefd121a8 Merge pull request #69 from bonzini/abi Ronnie Sahlberg 2013-08-02 06:40:30 -07:00
  • 327dd42bf0 Merge pull request #70 from bonzini/aliasing-more Ronnie Sahlberg 2013-08-02 06:37:38 -07:00
  • 73ce7f40c8 avoid casting struct sockaddr Paolo Bonzini 2013-08-02 14:19:29 +02:00
  • 31a3aeb0e0 fix another aliasing problem Paolo Bonzini 2013-08-02 14:07:42 +02:00
  • d4a6e4b3e3 bump ABI version Paolo Bonzini 2013-08-02 13:04:16 +02:00
  • e7df1af3b9 TESTS: READ10 and STARTSTOPUNIT should fail while sanitize is in progress Ronnie Sahlberg 2013-07-21 14:33:22 -07:00
  • 03f03ce518 TESTS: Inquiry is still allowed while SANITIZE is running Ronnie Sahlberg 2013-07-21 14:21:16 -07:00
  • d901700633 Add a test that a sanitize operation will continue across resets Ronnie Sahlberg 2013-07-21 14:11:13 -07:00
  • 49698e0322 Dont fail the login just because a sanitize is in progress Ronnie Sahlberg 2013-07-21 14:04:41 -07:00
  • 804c5b0211 Dont reference *pdu after it has been freed Ronnie Sahlberg 2013-07-21 13:29:43 -07:00
  • 83a0cd90f9 Add SANITIZE_IN_PROGRESS ASCQ Ronnie Sahlberg 2013-07-21 09:55:35 -07:00
  • b1b3c603af TESTS: clear unit attention after changing SWP settings in the readonly test Ronnie Sahlberg 2013-07-21 09:20:00 -07:00
  • 52a83e91af Add POWER_CONDITION modepage marshalling/unmarshalling Ronnie Sahlberg 2013-07-20 15:35:38 -07:00
  • 0013ae25e6 Merge branch 'master' of github.com:sahlberg/libiscsi Ronnie Sahlberg 2013-07-20 14:06:05 -07:00
  • fd38ff4bfc Add MODESENSE6/10 and MODESELECT6/10 support Ronnie Sahlberg 2013-07-20 14:05:20 -07:00
  • e556a0399b SCSI MODESELECT: leave the 4/8 byte header completely blank. The convention is to not fill this header in when sending modeselect to a target Ronnie Sahlberg 2013-07-20 09:08:52 -07:00
  • c172e12968 UTILS: Check that an iscsi url was provided on the command line before strdup()ing it Ronnie Sahlberg 2013-07-20 09:01:38 -07:00
  • 1f958fc7c2 Merge pull request #68 from plieven/iscsi-ls-url Ronnie Sahlberg 2013-07-18 06:11:26 -07:00
  • bb2aca580c iscsi-ls: add --url parameter Peter Lieven 2013-07-18 11:33:35 +02:00
  • d429276907 MEMORY introduce a small allocation pool Peter Lieven 2013-07-18 11:15:56 +02:00
  • cc02faabb0 Add TCP_CORK support when available Ronnie Sahlberg 2013-07-10 14:14:36 -07:00
  • a3283fbafd TESTS: Add a test that SANITIZE fails when SWP is on. Ronnie Sahlberg 2013-07-09 02:27:30 -07:00
  • 6e5a5745aa TESTS: Add a test that SANITIZE commands fail when there is a RESERVATION Ronnie Sahlberg 2013-07-09 01:51:00 -07:00
  • 9e9ca71247 Modesense6 decoding bugs, start preparing for modesense10 decoding Ronnie Sahlberg 2013-07-08 01:31:03 -07:00
  • e31e0ce58d TESTS: Log when we skip tests on normal log level, not just for -V Ronnie Sahlberg 2013-07-08 00:23:39 -07:00
  • ebb1f06830 Add parameter list length error sense code Ronnie Sahlberg 2013-07-06 23:35:03 -07:00
  • a51d706d32 Add invalid field in parameter list sense code Ronnie Sahlberg 2013-07-06 22:35:36 -07:00
  • 6b93af26a9 Add utility to get/set the software write protect flag Ronnie Sahlberg 2013-07-06 21:59:03 -07:00
  • 7895fb700c Add MODESELECT6 support Ronnie Sahlberg 2013-07-06 16:11:17 -07:00
  • b6e5af558d Unmarshall support for Control modepage Ronnie Sahlberg 2013-07-05 22:38:45 -07:00
  • 03ce9dc4b1 TESTS: Verify that SANITIZE does wipe the data Ronnie Sahlberg 2013-07-05 20:15:52 -07:00
  • b1983aeec1 TESTS: UNMAP make sure we read the blocks back as 0 after unmap Ronnie Sahlberg 2013-07-05 19:34:56 -07:00
  • b2e3fc6e6f TESTS: SANITIZE OVERWRITE add tests for OVERWRITE COUNT and INIT PATTERN LEN Ronnie Sahlberg 2013-07-05 17:41:32 -07:00
  • 705bc27ed5 TESTS: Verify that WACEREQ is 0 if SANITIZE CRYPTO ERASE is not supported Ronnie Sahlberg 2013-07-05 16:43:28 -07:00
  • accdad5b1a TESTS: Rename the tests and strip off the redundant prefix for the individual tests Ronnie Sahlberg 2013-07-05 16:37:04 -07:00
  • 6a65874dd9 TESTS: Add helper function for READ10 that returns a task* Ronnie Sahlberg 2013-07-05 16:14:21 -07:00
  • d8d10c0a44 TESTS: Sanitize check that after block erase all blocks are unmapped Ronnie Sahlberg 2013-07-05 16:04:29 -07:00
  • e3a29c0fed TESTS:SANITIZE verify that if BLOCK_ERASE is available we have LBPME==1 Ronnie Sahlberg 2013-07-05 14:52:51 -07:00
  • 3edd40953e TESTS: SANITIZE, Add tests for WABEREQ/WACEREQ Ronnie Sahlberg 2013-07-05 14:25:43 -07:00
  • cee82ad135 TESTS: Add tests for the reserved bits/bytes in SANITIZE Ronnie Sahlberg 2013-07-05 13:32:49 -07:00
  • 3e2729bcfa Merge pull request #66 from bonzini/master Ronnie Sahlberg 2013-07-01 12:42:17 -07:00
  • 0a7c084603 scsi-lowlevel: do not use unsafe pointer casts Paolo Bonzini 2013-07-01 15:57:44 +02:00
  • 1ead8d9d28 TESTS: Some targets just discard a command with "unexpected" r/w flags Ronnie Sahlberg 2013-06-29 13:49:13 -07:00
  • dcb223badc Use PRIu64 for format string Ronnie Sahlberg 2013-06-29 12:23:55 -07:00
  • ff8226a9af README Update readme and indicate solaris 11 needs gmake, not make Ronnie Sahlberg 2013-06-29 12:17:22 -07:00
  • 027ff2fdca Solaris: older versions of solaris needs to link with nsl/socket Ronnie Sahlberg 2013-06-29 12:16:16 -07:00
  • b73e91c89a Don't use -Wwrite-strings on Solaris Ronnie Sahlberg 2013-06-29 12:10:43 -07:00
  • 8140c5b726 Flag another argument as _U_ Ronnie Sahlberg 2013-06-29 11:20:23 -07:00
  • bc7b1dc600 Add _U_ to some variables that might be unused Ronnie Sahlberg 2013-06-29 11:14:46 -07:00
  • b555bbebdd Add a cast to ssize_t Ronnie Sahlberg 2013-06-29 11:12:41 -07:00
  • 9f88ea2e9a Change a u_int32_t to uint32_t Ronnie Sahlberg 2013-06-25 20:23:21 -07:00
  • 21a6a08814 Update libiscsi.def/.syms for iscsi_set_bind_interfaces Ronnie Sahlberg 2013-06-25 20:15:35 -07:00
  • e061cba1b9 URL encoded Targetnames Ronnie Sahlberg 2013-06-16 11:35:14 -07:00
  • 12f93b60c7 Retry RESERVE6/RELEASE6 upon BUS RESET UA Bart Van Assche 2013-06-07 16:20:55 +02:00
  • 49d1145a10 Next to BUS RESET, also accept NEXUS LOSS unit attention after login Bart Van Assche 2013-06-07 16:20:17 +02:00
  • 8cc2915a17 Merge pull request #63 from cardoe/werror Ronnie Sahlberg 2013-06-05 20:17:47 -07:00
  • 2d43a056a9 Allow users to disable -Werror at configure time Doug Goldstein 2013-06-05 14:28:48 -05:00
  • 12a7d2f60d TEST: update SANITIZE test output Ronnie Sahlberg 2013-06-02 16:37:56 -07:00
  • dd44a62994 typo Ronnie Sahlberg 2013-06-01 09:02:04 -07:00
  • 44e64fb8cf TESTS: SANITIZE. Produce warnings if WABEREQ does not match BLOCK ERASE support status Ronnie Sahlberg 2013-06-01 08:59:37 -07:00
  • 804ab643a3 TESTS: SANITIZE tests. Print additional warnings. Ronnie Sahlberg 2013-06-01 08:53:54 -07:00
  • 7d413da22c TESTS: Print NORMAL log level by default Ronnie Sahlberg 2013-06-01 08:47:05 -07:00
  • cb793f01f3 TESTS: Fix typo. s/allow_sanitize/allow-sanitize/g Ronnie Sahlberg 2013-06-01 08:40:43 -07:00
  • 595b7043b7 TESTS: fix test for modesense6 residuals. We never get overflow but we get underflow if less than EDTL was returned Ronnie Sahlberg 2013-06-01 07:57:31 -07:00
  • a16dd132db TESTS: Add a test and verify we dont get residuals for MODE SENSE 6 Ronnie Sahlberg 2013-05-30 22:01:25 -07:00
  • 3766067328 TESTS: Add a simple test for MODESENSE6 that we can read it and we get at least 3 bydet of mode data (minimum size, header only) Ronnie Sahlberg 2013-05-30 21:40:52 -07:00
  • dcb9504ec0 READ6, make the truncation from a potantial 9-bit value (0-256) to 8 bits explicit by masking it with 0xff instead of relying on obscure truncation rules. Ronnie Sahlberg 2013-05-30 19:29:53 -07:00
  • 5494580b4a TEST: READ6 add a test to verify that READ6 with transferlength gets 256 blocks of data back from the target. Ronnie Sahlberg 2013-05-30 19:16:57 -07:00
  • 5713c2d363 TESTS: Initialize is_usb or else it will be very seldom that is_usb==0 and thus we dont truncate the transferlengths Ronnie Sahlberg 2013-05-30 19:04:58 -07:00
  • b95f44a4ff Type: print correct sizes we test for for std inquiry page Ronnie Sahlberg 2013-05-29 19:26:11 -07:00