Commit Graph

  • 6df6692708 scst: Remove a superfluous cast Vladislav Bolkhovitin 2012-08-27 20:40:05 +00:00
  • fda632ae0b iscsi-scst: Eliminate a cast Vladislav Bolkhovitin 2012-08-27 20:38:37 +00:00
  • 62b0629e6f scst: Spelling fix - inquery -> inquiry Vladislav Bolkhovitin 2012-08-27 20:36:54 +00:00
  • 113524a39d nightly build: Update kernel versions Bart Van Assche 2012-08-27 17:27:27 +00:00
  • 160e3aa799 nightly build: Update kernel versions Bart Van Assche 2012-08-27 17:25:53 +00:00
  • 6635cfe307 list-source-files: Process subdirectories correctly Bart Van Assche 2012-08-27 17:24:53 +00:00
  • 03f3be2ccb - Add -no_lip option to prevent automatically issueing a LIP after a configuration change. Mark Buechler 2012-08-27 14:38:54 +00:00
  • 10c0bc4f65 Retried commands should go to the local exec stage + small logging improvements Vladislav Bolkhovitin 2012-08-24 21:15:38 +00:00
  • 7b77e66b07 Workaround (leftover?) events after disable iSNS server Vladislav Bolkhovitin 2012-08-24 18:54:35 +00:00
  • 19153e3a65 Ensure that generated USN is unique Vladislav Bolkhovitin 2012-08-24 02:15:04 +00:00
  • 5b26b06791 We need to abort internal commands as well. Vladislav Bolkhovitin 2012-08-16 19:52:32 +00:00
  • 5305d716ea Web updates Vladislav Bolkhovitin 2012-08-16 01:36:10 +00:00
  • 628cbf0ddd Fix crash on attach an initiator to an empty vcdrom device, then add a "disk" to it via sysfs and then try to read from it from the initiator. Vladislav Bolkhovitin 2012-08-14 19:15:57 +00:00
  • b08cee14bd Cleanup and minor sysfs entry creation fix Vladislav Bolkhovitin 2012-08-13 22:01:25 +00:00
  • f090f59a48 nightly build: Reduce noice in smatch output diffs Bart Van Assche 2012-08-12 08:44:59 +00:00
  • f0df328198 Microoptimization Vladislav Bolkhovitin 2012-08-11 01:37:07 +00:00
  • 0327e15440 Currently there is a possibility that a session name is reused and passed to scst_sess_sysfs_create() before scst_sess_sysfs_del() has finished removing a kobject that is using the same session name. This patch fixes that. It works by maintaining yet another session list, namely a list of sessions registered in sysfs, and by using that list to check for duplicate session names. Vladislav Bolkhovitin 2012-08-10 02:02:35 +00:00
  • 1b68210cce Fix possible commands hangs with lockless queuecommand() in scst_local Vladislav Bolkhovitin 2012-08-10 01:48:35 +00:00
  • a95528fb5c Let's have disk timeouts in sync with most OSes (30 seconds) Vladislav Bolkhovitin 2012-08-09 20:56:11 +00:00
  • 56a6d92109 nightly build: Add kernel version 3.5 Bart Van Assche 2012-08-09 08:08:15 +00:00
  • e0f7025708 nightly build: Add kernel 3.5 build infrastructure Bart Van Assche 2012-08-09 08:07:26 +00:00
  • c0e4470677 nightly build: Update kernel versions Bart Van Assche 2012-08-09 08:06:53 +00:00
  • 5f662059a7 Update for 3.5 kernel Vladislav Bolkhovitin 2012-08-09 02:19:31 +00:00
  • 74713a49d2 ha->tgt must be used here instead of sess->tgt Vladislav Bolkhovitin 2012-08-08 18:29:10 +00:00
  • cdb13cfc5f Cleanups Vladislav Bolkhovitin 2012-08-08 18:00:51 +00:00
  • b958a82132 scst: Fix a recently introduced checkpatch complaint Bart Van Assche 2012-08-08 07:02:36 +00:00
  • 46a3540873 scst: Make sure that scst_get_unique_sess_name() is called under scst_mutex such that session names are again guaranteed to be unique (follow-up for r4452). Bart Van Assche 2012-08-07 18:06:37 +00:00
  • 239d6243ec scst: Fix race between closing a session and adding a LUN Bart Van Assche 2012-08-07 17:29:58 +00:00
  • 736b99485d scst: Move the code for computing a unique session name Bart Van Assche 2012-08-07 17:28:34 +00:00
  • 23390aca64 scst: sysfs session creation error path fix Bart Van Assche 2012-08-07 13:01:19 +00:00
  • e81d1b552b nightly build: Factor out shared code into a new function Bart Van Assche 2012-08-07 12:00:41 +00:00
  • 8df49947fa nightly build: Move shell code for listing files under source control into a separate file Bart Van Assche 2012-08-07 11:40:09 +00:00
  • 2df95bda26 ib_srpt: Document an additional test Bart Van Assche 2012-08-05 09:26:24 +00:00
  • 123911a2c3 ib_srpt: Document impact of interrupt assignment on fairness Bart Van Assche 2012-08-04 14:36:27 +00:00
  • 36a77c3708 ib_srpt: Avoid that module unloading races with closing sessions Bart Van Assche 2012-08-04 08:36:57 +00:00
  • 0a1bb6e997 nightly build: Report smatch informational messages too Bart Van Assche 2012-08-01 09:45:40 +00:00
  • fc8b2d910b scripts/rebuild-rhel-kernel-rpm: Add RHEL 6.3 support (merge from trunk) Bart Van Assche 2012-07-29 16:54:53 +00:00
  • fe9902a67a scripts/rebuild-rhel-kernel-rpm: Add RHEL 6.3 support Bart Van Assche 2012-07-29 16:50:00 +00:00
  • c4c2555dc9 qla2x00t: Port to RHEL 6.1/6.2/6.3 (merge r4303 and r4419 from trunk) Bart Van Assche 2012-07-29 16:46:58 +00:00
  • 5f7668e80a Merge directories scripts and nightly from trunk Bart Van Assche 2012-07-29 16:28:23 +00:00
  • 59294a39f8 qla2x00t: Make out-of-tree build possible (backport r3910 from trunk) Bart Van Assche 2012-07-29 16:26:28 +00:00
  • 4f57176241 qla2x00t: IRQ handlers can be called without IRQs disabled and IRQF_DISABLED doesn't work with IRQF_SHARED on modern kernels (merge r4100 from trunk). Bart Van Assche 2012-07-29 14:28:39 +00:00
  • 6ecb9f2aff qla2x00t: Fix a deadlock crash Bart Van Assche 2012-07-29 14:23:58 +00:00
  • d7b35cc58f qla2x00t: Add a comment (merge r4418 from trunk) Bart Van Assche 2012-07-29 14:21:14 +00:00
  • e28b0f09bc qla2x00t: Remove a wrong check because it could lead to skipping unlocking (merge r4380 from trunk) Bart Van Assche 2012-07-29 14:19:54 +00:00
  • c245707ec5 qla2x00t: With NPIV initiators being destroyed and recreated, the loop_id and/or the d_id of a virtual initiator may change. The current implementation not always catches these changes, which leads to wrong virtual devices being presented to the initiators. This can lead to i.e. corruption of LUN content and multiple initiators writing to the same LUN, although the LUN's access group only contains a single port. Bart Van Assche 2012-07-29 14:15:30 +00:00
  • e207090233 Fix race between q2t_del_sess_work_fn() and q2t_clear_tgt_db() (merge r4101 from trunk) Bart Van Assche 2012-07-29 14:09:42 +00:00
  • 78024c12a8 qla2x00t: Fix compilation for the SLES 2.6.32.46 kernel (merge r4099 from trunk) Bart Van Assche 2012-07-29 14:02:45 +00:00
  • f4d3dc67cc qla2x00t: Fix delay calculation (merge r4311 from trunk) Bart Van Assche 2012-07-29 13:58:07 +00:00
  • ad8aea579b nightly build: Kernel version update Bart Van Assche 2012-07-29 09:51:16 +00:00
  • 5e12b3e480 scripts/run-regression-tests: Run smatch too Bart Van Assche 2012-07-29 08:28:56 +00:00
  • 5fee8af956 Merged /trunk/nightly:r4356-4405 Bart Van Assche 2012-07-27 16:31:50 +00:00
  • 5caf5bdd99 Merged /trunk/scripts:r4356-4405 Bart Van Assche 2012-07-27 16:30:27 +00:00
  • 2f527c350c scst_local: Avoid that removing vdisk_cdrom devices can trigger a deadlock Bart Van Assche 2012-07-27 16:29:05 +00:00
  • afa7467c99 scst: make scst_cmd_threads_list more fine grained Bart Van Assche 2012-07-27 16:26:50 +00:00
  • fabf9fceda Avoid that removing the scst_local kernel module triggers a deadlock when one of its LUNs is a CD-ROM device. sr_block_release() invokes scst_local_release_adapter() indirectly with sr_mutex held. So if scst_local_release_adapter() blocks until the scst_local session has been freed a deadlock may be triggered if another CD-ROM device has to be closed in order to free that session. Fix this by changing scst_local_release_adapter() such that it does not wait until the session unregistration has finished. Vladislav Bolkhovitin 2012-07-27 01:14:55 +00:00
  • b1e0e7ef19 Web updates Vladislav Bolkhovitin 2012-07-26 01:45:57 +00:00
  • 0601427337 scst_sess_get() should be done in scst_pre_rx_mgmt_cmd() instead of scst_post_rx_mgmt_cmd() Vladislav Bolkhovitin 2012-07-25 18:48:06 +00:00
  • 55fc545848 Docs updates Vladislav Bolkhovitin 2012-07-24 19:35:04 +00:00
  • 1cb6932eb4 Web updates Vladislav Bolkhovitin 2012-07-24 19:33:23 +00:00
  • 3d2959d5bf Fix for qla2x00t deadlock crash Vladislav Bolkhovitin 2012-07-24 19:01:47 +00:00
  • 94fbc49091 Fix qla2x00t compilation warnings on RHEL 6.1 Vladislav Bolkhovitin 2012-07-24 18:50:59 +00:00
  • bb4e5eec24 Add q2t_pre_xmit_response comment Vladislav Bolkhovitin 2012-07-24 18:48:03 +00:00
  • e70b729707 Skip waiting for internal commands after abort. Waiting for their parent commands is required and sufficient. Vladislav Bolkhovitin 2012-07-23 19:39:33 +00:00
  • aa57dbd8e8 nightly build: Update kernel versions Bart Van Assche 2012-07-21 03:28:57 +00:00
  • e8612a432c More cleanups Vladislav Bolkhovitin 2012-07-20 23:53:22 +00:00
  • 04040543ce Cleanup Vladislav Bolkhovitin 2012-07-20 23:41:05 +00:00
  • 159c54c67e Improve handling of zero len unmap descriptors Vladislav Bolkhovitin 2012-07-20 22:05:22 +00:00
  • 45e50e12b0 Zero size descriptor are possible, so we have to add cmd_data_descriptors_cnt to track their count. Vladislav Bolkhovitin 2012-07-20 21:58:45 +00:00
  • b19227e809 scst: Remove a trailing whitespace because checkpatch complains about it Bart Van Assche 2012-07-20 02:51:23 +00:00
  • 6d13026f05 Default logging improvements Vladislav Bolkhovitin 2012-07-19 19:13:28 +00:00
  • a3c5648b29 Introduce scst_get_buf_full_sense() instead of open coded scst_get_buf_full() + setting sense on errors Vladislav Bolkhovitin 2012-07-19 02:36:32 +00:00
  • 955113f493 Sense handling improvements Vladislav Bolkhovitin 2012-07-18 21:28:57 +00:00
  • 408b67c80f Make invalid LUN message more comprehensive Vladislav Bolkhovitin 2012-07-17 20:09:37 +00:00
  • 6cfe427617 nightly build: Update kernel versions Bart Van Assche 2012-07-14 15:03:21 +00:00
  • 7cde5841a8 Cleanup Vladislav Bolkhovitin 2012-07-13 21:53:44 +00:00
  • 260c6cb1f8 Fix incorrect completion function dereference. Vladislav Bolkhovitin 2012-07-13 21:39:30 +00:00
  • bbc726fdea nightly build: Update Linux kernel versions Bart Van Assche 2012-07-12 05:54:27 +00:00
  • d0745d1a16 scst: Fix WRITE FILEMARKS parsing Bart Van Assche 2012-07-09 06:22:48 +00:00
  • bcc952a765 scst: Add support for SECURITY PROTOCOL IN and OUT Bart Van Assche 2012-07-09 06:19:38 +00:00
  • 95246ee9d7 scstadmin: Make _syswrite() translate EBUSY into "writing failed" Bart Van Assche 2012-07-09 06:12:47 +00:00
  • 39e304dc76 scst: Don't suspend activity during removal of a SCSI device Vladislav Bolkhovitin 2012-07-09 00:24:51 +00:00
  • 68662e9fbd Fix data direction of RECEIVE COPY RESULT command Vladislav Bolkhovitin 2012-07-09 00:21:40 +00:00
  • ac2a3aad90 scst: Remove spaces in front of tabs because checkpatch complains about these. This is a whitespace-only change. Bart Van Assche 2012-07-07 06:33:46 +00:00
  • d89d3fae83 Follow-up for r4395: Make SCST build again on pre-2.6.38 kernels Bart Van Assche 2012-07-07 06:30:50 +00:00
  • df4d0f9dad Fix ALLOW COMMANDS field of PERSISTENT RESERVE IN REPORT CAPABILITIES handling according to SPC-4 suggestions Vladislav Bolkhovitin 2012-07-06 19:57:48 +00:00
  • 64be93db95 scst: Fix sysfs code for parsing parameters when adding or replacing a LUN Vladislav Bolkhovitin 2012-07-06 03:02:42 +00:00
  • a17349c566 scst: Parse REQUEST VOLUME ELEMENT ADDRESS correctly Vladislav Bolkhovitin 2012-07-06 02:44:53 +00:00
  • 16d0b30bc8 Cleanup: let's have a dedicate CDB flag to mark CDBs without LBA instead of relying on lba_off = 0. Vladislav Bolkhovitin 2012-06-29 22:31:13 +00:00
  • db5b92274a scstadmin: Allow hash signs to be escaped Bart Van Assche 2012-06-29 13:43:36 +00:00
  • d811c1374c nightly build: Disable x86_32 mode in kernel config Bart Van Assche 2012-06-29 06:25:16 +00:00
  • a7a24d6dab scst: Remove a superfluous goto statement and a superfluous label Vladislav Bolkhovitin 2012-06-28 23:31:07 +00:00
  • c531f06b32 scst: sysfs session creation error path fix Vladislav Bolkhovitin 2012-06-28 22:43:19 +00:00
  • e80a15bfd3 scst_assign_dev_handler(): detach if attach only succeeded partially Vladislav Bolkhovitin 2012-06-28 22:35:49 +00:00
  • 2fc379e221 scst: Make extra_tgt_dev_list_entry users hold scst_mutex Vladislav Bolkhovitin 2012-06-28 22:32:03 +00:00
  • b25cb2a7e5 scst: Fix MAINTENANCE IN parsing Vladislav Bolkhovitin 2012-06-28 22:27:51 +00:00
  • 85b11f9ced nightly build: Invoke all scripts from the same directory Bart Van Assche 2012-06-28 11:32:48 +00:00
  • 971c23a4dd scst: Remove a superfluous test from the REPORT TARGET PORT GROUPS implementation Bart Van Assche 2012-06-28 11:31:13 +00:00
  • 95bc9b68ff scst: Simplify REPORT TARGET PORT GROUPS implementation Bart Van Assche 2012-06-28 11:28:18 +00:00
  • 26a74cebe8 fcst: Build fix Bart Van Assche 2012-06-28 06:28:37 +00:00