Commit Graph

  • 5dea6c0aa6 Minor addition recommended by Daniel Fernandes <dfernandes1978@hotmail.com> Vladislav Bolkhovitin 2011-12-13 02:13:56 +00:00
  • 741e29e16b Correct merge information for r3960 (svn merge -c3960 https://scst.svn.sourceforge.net/svnroot/scst/trunk) Bart Van Assche 2011-12-10 14:13:14 +00:00
  • 926b0a6159 Add files necessary to run the regression tests against the 3.0 kernel (svn merge -c3783 https://scst.svn.sourceforge.net/svnroot/scst/trunk) Bart Van Assche 2011-12-10 14:11:50 +00:00
  • 7812ed3f52 qla2x_tgt: Remove trailing whitespace (svn merge -c3960 https://scst.svn.sourceforge.net/svnroot/scst/trunk/scripts) Bart Van Assche 2011-12-10 14:01:23 +00:00
  • 2e1347db27 Undo merging r3736 (svn merge -r3736:3735 https://scst.svn.sourceforge.net/svnroot/scst/trunk/scripts) Bart Van Assche 2011-12-10 13:56:43 +00:00
  • 9ca8fb0ba7 svn merge -r3389:3974 https://scst.svn.sourceforge.net/svnroot/scst/trunk/scripts Bart Van Assche 2011-12-10 13:52:02 +00:00
  • 26c783ac56 Merged revisions 3950,3958 via svnmerge from https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk Vladislav Bolkhovitin 2011-12-10 04:28:03 +00:00
  • cc5159a340 Merged revisions 3937-3940 via svnmerge from https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk Vladislav Bolkhovitin 2011-12-10 04:26:46 +00:00
  • dadceece11 Merged revisions 3929 via svnmerge from https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk Vladislav Bolkhovitin 2011-12-10 04:24:21 +00:00
  • 4023e12c40 Merged revisions 3909,3917,3923,3935 via svnmerge from https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk Vladislav Bolkhovitin 2011-12-10 04:22:53 +00:00
  • 7dab47749e Merged revisions 3926 via svnmerge from https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk Vladislav Bolkhovitin 2011-12-10 04:20:11 +00:00
  • c9d1fbde31 Merged revisions 3902 via svnmerge from https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk Vladislav Bolkhovitin 2011-12-10 04:18:58 +00:00
  • 114f8e8f5e Merged revisions 3888 via svnmerge from https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk Vladislav Bolkhovitin 2011-12-10 04:14:06 +00:00
  • a19b494f4b Blocked revisions 3930-3934,3936,3941-3949,3951-3957,3959-3966 via svnmerge Vladislav Bolkhovitin 2011-12-10 04:11:43 +00:00
  • e0138684a4 QLA HOWTO update from Bart Van Assche <bvanassche@acm.org> Vladislav Bolkhovitin 2011-12-10 03:54:47 +00:00
  • 7872837b6b Replace list_entry((a)->next, b, c) by list_first_entry(a, b, c). Vladislav Bolkhovitin 2011-12-10 03:50:24 +00:00
  • fda3b6b327 Minor logging improvement Vladislav Bolkhovitin 2011-12-08 23:49:52 +00:00
  • f173a9133c Micro-optimize the page count computations in scst_mem.c by rewriting these computations such that branch instructions are avoided. Vladislav Bolkhovitin 2011-12-08 00:06:24 +00:00
  • cd2d549a0b Avoid converting back and forth between int and enum Vladislav Bolkhovitin 2011-12-08 00:00:06 +00:00
  • 882d414719 Makes scst_vdisk build again on RHEL 5.x. Vladislav Bolkhovitin 2011-12-07 23:58:59 +00:00
  • 4250cf9446 qla2x_tgt: Remove trailing whitespace Bart Van Assche 2011-12-07 17:31:08 +00:00
  • 331cc5d28d Web updates Vladislav Bolkhovitin 2011-12-07 03:07:45 +00:00
  • 9ea7b8b4c9 We try to build FC SAN on Sun T2 server, FC HBA cards used are QLE2560 and QLE2562, the OS is RHEL6.0 with kernel linux-2.6.32, scst code version from svn is 3952. Vladislav Bolkhovitin 2011-12-07 02:56:31 +00:00
  • 63a6094cad Eliminate the blockio / fileio / nullio if-statements in vdisk_do_job() and the READ/WRITE functions called from that function. Convert the opcode switch in vdisk_*do_job() to an array with function pointers. Vladislav Bolkhovitin 2011-12-07 02:29:14 +00:00
  • c866c6f4b1 - Small directory check in _issueLip(). Not sure why this is needed. Mark Buechler 2011-12-06 19:41:33 +00:00
  • 3630f4ba6c ib_srpt: Send a reject message with non-zero reason code if session creation fails Bart Van Assche 2011-12-06 19:30:21 +00:00
  • f9f163fd3e Kernel version updates Bart Van Assche 2011-12-06 19:11:50 +00:00
  • c9f9f6d9b8 ib_srpt: Avoid that session registration failure causes trouble / send a reject if the transition to RTR fails. Bart Van Assche 2011-12-06 19:08:14 +00:00
  • 69d8c2fbd7 Change __attribute__((packed)) into __packed and __attribute__((aligned(x))) into __aligned(x) in kernel code since checkpatch complains about the former. Vladislav Bolkhovitin 2011-12-06 03:02:13 +00:00
  • 1bbf50a530 - Warn only in issueLip() when -issue_lip is an argument. Mark Buechler 2011-12-05 19:39:59 +00:00
  • 5cc78efff5 According to SPC-4 in the PERSISTENT RESERVE IN full status descriptor the format of byte 13 is defined as follows: - The most significant four bits are SCOPE field. - The least significant four bits are the TYPE field. Make sure that that byte is filled in according to the specification. Vladislav Bolkhovitin 2011-12-02 02:46:33 +00:00
  • ae55aa9e36 The only two values passed into the last two arguments of blockio_exec_rw() are 0 and 1. Change their argument type from int to bool. Vladislav Bolkhovitin 2011-12-02 02:42:21 +00:00
  • 0af423256f Micro-optimize the code for CDB parsing in several device handlers. Vladislav Bolkhovitin 2011-12-02 02:41:15 +00:00
  • 4a3988e274 Use get_unaligned_be16() for reading the two bytes specifying the buffer length to allow the compiler to generate better code for reading these two bytes. Vladislav Bolkhovitin 2011-12-02 02:39:43 +00:00
  • 2dd1d93762 Remove a superfluous pair of braces since checkpatch complains about these. Vladislav Bolkhovitin 2011-12-02 02:26:29 +00:00
  • f8c3b26620 disk_work.result is set by disk_cmd_done() and read by disk_exec(). Since there is a complete_all() / wait_for_completion() pair between both accesses the volatile keyword is not necessary here. Vladislav Bolkhovitin 2011-12-02 02:24:41 +00:00
  • 152a2ad8c1 Avoid that the checkpatch.pl script as included in Linux kernel 3.1 complains about min((int)(a), (int)(b)) that should be changed into min_t(int, (a), (b)). Vladislav Bolkhovitin 2011-12-02 02:14:59 +00:00
  • 59019ae405 Use get/put_unaligned() instead of open coding these such that the compiler can generate better code. Vladislav Bolkhovitin 2011-12-01 03:36:15 +00:00
  • 33891c34fa In the function scst_mgmt_translate_lun() the variable tgt_dev is used as a loop variable and is used inside that loop only. Hence it is not necessary to initialize it to NULL. Vladislav Bolkhovitin 2011-12-01 03:31:30 +00:00
  • 295adebc0f Use get/put_unaligned_be<n>(...) instead of get/put_unaligned(cpu_to_be<n>(...)). Vladislav Bolkhovitin 2011-12-01 03:28:39 +00:00
  • a2dcbab715 Fixes problem reported by Lev Vainblat <lev@zadarastorage.com>: Vladislav Bolkhovitin 2011-11-29 22:00:23 +00:00
  • a309a526f0 Check error code of path_lookup() on pre-39 kernels. Suggested by Lev Vainblat <lev@zadarastorage.com> Vladislav Bolkhovitin 2011-11-23 02:53:09 +00:00
  • 2ff0f44c4c Avoid that a warning like the one below is triggered when adding a nullio, fileio or blockio device with a name that already exists: Vladislav Bolkhovitin 2011-11-23 02:35:44 +00:00
  • b579b06531 Instead of repeating the same name lookup several times, use vdev_find() where appropriate. Vladislav Bolkhovitin 2011-11-23 02:34:09 +00:00
  • b3b4702bcb From Bart Van Assche <bvanassche@acm.org>: Vladislav Bolkhovitin 2011-11-23 02:32:25 +00:00
  • 55e2ab6c6d Report target name when session assigned to security group Vladislav Bolkhovitin 2011-11-23 02:14:38 +00:00
  • 9076e2a107 - Fix -issue_lip as reported by Iain Paton. Mark Buechler 2011-11-18 20:32:01 +00:00
  • 50a3bb6e48 regtests: Use correct kernel.org longterm directory Bart Van Assche 2011-11-17 17:55:22 +00:00
  • 3581251728 regtests: Do not complain if a patch has not been found Bart Van Assche 2011-11-17 17:54:41 +00:00
  • 3749844c5f scst initialization: Remove kernel module parameters from /etc/default/scst Bart Van Assche 2011-11-17 17:52:29 +00:00
  • 20f64c4e7e regtests: Fix a copy/paste bug in the #if ... partial evaluation code Bart Van Assche 2011-11-17 10:36:03 +00:00
  • baf5c259bc regtests: Add files necessary for Linux kernel 3.1 Bart Van Assche 2011-11-17 09:24:12 +00:00
  • da67ebf3b8 Blocked revisions 3844,3847,3850,3853-3859,3863,3866-3867,3869-3870,3872,3875-3877,3879,3882-3892,3894-3901,3903-3907,3910-3911,3914-3916,3918-3922,3924-3925,3927 via svnmerge Vladislav Bolkhovitin 2011-11-17 03:46:28 +00:00
  • 1deb603ee6 regtest: Another update because of the kernel.org directory structure changes Bart Van Assche 2011-11-16 19:49:44 +00:00
  • 57193ecabc Those patches were mistakenly generated for patch -p0. Fix it. Thanks Bart Van Assche for reporting it. Vladislav Bolkhovitin 2011-11-16 19:21:30 +00:00
  • 50ce1830b9 regtests: Update kernel versions now that kernel.org has been restored. Bart Van Assche 2011-11-16 19:05:45 +00:00
  • dd2d8271dd regtests: Reflect kernel.org directory tree changes Bart Van Assche 2011-11-16 18:50:24 +00:00
  • 95f29de215 Fix incorrect attach_tgt() errors processing in the sysfs build reported by David Pineau <dav.pineau@gmail.com> Vladislav Bolkhovitin 2011-11-16 01:53:27 +00:00
  • 6523575472 Fixes reporting to BLOCKIO devices fsync() errors, noticed by Bart Van Assche Vladislav Bolkhovitin 2011-11-16 00:04:57 +00:00
  • 1e547f1aae Fixes possible NULL cmd dereference in vdisk_fsync() noticed by Bart Van Assche + possible calls of VERIFY commands for BLOCKIO devices Vladislav Bolkhovitin 2011-11-16 00:00:40 +00:00
  • 7ac9532359 ib_srpt: Reduce the I/O overhead slightly Bart Van Assche 2011-11-15 19:06:36 +00:00
  • 622d3145f7 ib_srpt: Increase default value of srp_max_req_size from 2116 to 4148 bytes. Bart Van Assche 2011-11-13 10:04:55 +00:00
  • 58bd090c3e Fixed minor config file bug pointed out by Bart Van Assche. Mark Buechler 2011-11-11 17:50:08 +00:00
  • 851d6c2008 task_mgmt_fn() callback now called under lock and IRQs disabled, so we need to reschedule to thread during commands unjamming Vladislav Bolkhovitin 2011-11-09 02:47:23 +00:00
  • cd563e1fb7 ib_srpt: Change one occurrence of WARN_ON() into __WARN(). Bart Van Assche 2011-11-08 19:50:31 +00:00
  • 016798ef64 ib_srpt: Make srpt_srq_size writable Bart Van Assche 2011-11-07 20:09:42 +00:00
  • d393914d3d ib_srpt: Make max_rsp_size writable Bart Van Assche 2011-11-07 20:04:26 +00:00
  • e0c8c1b249 ib_srpt: Remove an unused struct member (merged r3903 from trunk). Bart Van Assche 2011-11-06 10:46:57 +00:00
  • 65c0b7ea2e ib_srpt: Avoid delay when unloading during I/O (merged r3899 and r3900 from trunk) Bart Van Assche 2011-11-06 10:45:25 +00:00
  • aad2d7cb80 ib_srpt: Simplify last WQE processing Bart Van Assche 2011-11-06 10:35:24 +00:00
  • cf04c8541a Implement building qla2xxx out of the kernel tree. For that BUILD_2X_MODULE=y should be passed to make. New module named qla2xxx_scst. Obviously, to have it working, the original qla2xxx should be either blacklisted, or removed from the target system. Vladislav Bolkhovitin 2011-11-04 22:03:56 +00:00
  • 2733acada4 Fix build without CONFIG_SCSI_QLA2XXX_TARGET Vladislav Bolkhovitin 2011-11-04 21:34:10 +00:00
  • fe6c9a0a32 ib_srpt: Make srpt_alloc_ioctx_ring() return NULL instead of a dangling pointer if allocation fails. Reported by Dan Carpenter <dan.carpenter@oracle.com> on the linux-rdma@vger.kernel.org mailing list. Bart Van Assche 2011-11-04 18:38:01 +00:00
  • 3f9451bab8 ib_srpt: Make srpt_alloc_ioctx_ring() return NULL instead of a dangling pointer if allocation fails. Reported by Dan Carpenter <dan.carpenter@oracle.com> on the linux-rdma@vger.kernel.org mailing list. Bart Van Assche 2011-11-04 18:35:37 +00:00
  • 137fbb6779 Remove dead target Vladislav Bolkhovitin 2011-11-04 02:24:35 +00:00
  • d79d58e467 ib_srpt: Further reduce number of kmalloc() calls per I/O Bart Van Assche 2011-10-30 13:41:46 +00:00
  • 75fa117690 ib_srpt: Reduce number of kmalloc() calls per I/O Bart Van Assche 2011-10-30 12:33:42 +00:00
  • 4847e48523 ib_srpt: Remove an unused struct member Bart Van Assche 2011-10-30 12:29:45 +00:00
  • c95ef014d7 Update for kernel 3.1 Vladislav Bolkhovitin 2011-10-27 19:11:40 +00:00
  • 6fccbdfd9a Fix incorrect handling of jiffies wrap around as pointed out by Bart Van Assche. Vladislav Bolkhovitin 2011-10-26 19:32:58 +00:00
  • 05caa249b5 ib_srpt: Avoid a sporadic 160s delay when a session is unregistered or when removing the ib_srpt kernel module during I/O Bart Van Assche 2011-10-26 17:42:37 +00:00
  • 9ea2e26aaa ib_srpt: Avoid stopping polling too early for IB completions. Bart Van Assche 2011-10-25 18:05:57 +00:00
  • 64fad2e6d2 Make usage of scst_suspend_activity() more flexible by making its timeout be explicit Vladislav Bolkhovitin 2011-10-24 22:16:42 +00:00
  • aa12492349 ib_srpt: Make the error message about rejected login more clear Bart Van Assche 2011-10-20 16:59:15 +00:00
  • c8392145fa Reverse r3894, because it is incorrect. There is no order dependency between CPUs here, so there's no need in the corresponding fence command. Vladislav Bolkhovitin 2011-10-11 03:13:18 +00:00
  • 75bfcdfdbe scst_vdisk, blockio: Add write-through (FUA) support. Bart Van Assche 2011-10-10 09:23:32 +00:00
  • 16d26a8ba1 scst_vdisk, vdev_sysfs_process_get_filename(): Make sure that dev->dev_unregistering is reread from memory in each loop iteration. Note: the now removed "(volatile bool)" cast did not have any effect. Bart Van Assche 2011-10-10 08:27:27 +00:00
  • f407c425c0 Reran performance measurements Bart Van Assche 2011-10-08 11:17:37 +00:00
  • d9658fcda4 Reran performance measurements Bart Van Assche 2011-10-08 11:08:55 +00:00
  • 58a2b2ece8 Set executable property Bart Van Assche 2011-10-05 17:15:39 +00:00
  • 74264389cd scst: Add script for rebuilding RHEL / CentOS / Scientific Linux kernel RPMs Bart Van Assche 2011-10-05 17:14:23 +00:00
  • 29530f6bf5 srpt/README: Add note about DEVICE.threads_num Bart Van Assche 2011-10-05 16:34:09 +00:00
  • 74e293d282 scst/README: Add a note about how ESX works with t10_dev_id Bart Van Assche 2011-10-05 16:27:25 +00:00
  • 3c54b0c18c Prevent reverse order of management commands Vladislav Bolkhovitin 2011-10-05 02:11:19 +00:00
  • fdce259c4f Limit max unmap LBA count to device size Vladislav Bolkhovitin 2011-10-05 02:08:51 +00:00
  • 9118d7c71f Nightly build: include the latency measuring code Bart Van Assche 2011-09-28 17:42:50 +00:00
  • 3f97e4c696 scst, latency statistics: - Use 64 bits instead of 32 for each "processed commands" counter. - Make sure there is at least one space between adjacent columns. Bart Van Assche 2011-09-28 16:38:27 +00:00
  • 4ec4d341eb Micro-optimize scst_unpack_lun(): avoid comparing "len" twice with the constant "2". Vladislav Bolkhovitin 2011-09-28 02:18:44 +00:00
  • 32991d0fd4 Change reporting processed_cmds to unsigned as suggested by ido benda <idombd@gmail.com> Vladislav Bolkhovitin 2011-09-28 02:07:50 +00:00
  • 0ddfd33bda ib_srpt: Avoid that the cleanup code invoked after rejecting a new initiator connection triggers a race condition (Merge r3877 from trunk). Bart Van Assche 2011-09-27 18:29:20 +00:00