1. 12 Mar, 2023 8 commits
  2. 09 Mar, 2023 1 commit
  3. 06 Mar, 2023 3 commits
  4. 21 Feb, 2023 1 commit
  5. 19 Feb, 2023 1 commit
  6. 14 Feb, 2023 1 commit
    • Brian Meagher's avatar
      scst_sysfs: Add support for cluster_name · 00f31004
      Brian Meagher authored
      When dlm_new_lockspace is called with a NULL cluster_name the
      kernel will emit an error message "dlm cluster name '%s' is being
      used without an application provided cluster name".
      
      Therefore, provide a mechanism to set a cluster_name and use it
      when calling dlm_new_lockspace.
      00f31004
  7. 12 Feb, 2023 1 commit
  8. 30 Jan, 2023 1 commit
  9. 29 Jan, 2023 1 commit
  10. 28 Jan, 2023 1 commit
  11. 27 Jan, 2023 1 commit
  12. 20 Jan, 2023 3 commits
    • Gleb Chesnokov's avatar
      scst_disk: Fix use of uninitialized variable · ae6c0bf9
      Gleb Chesnokov authored
      This patch fixes the following Coverity complaint:
      
          CID 307352 (#1 of 1): Uninitialized pointer read (UNINIT)
          uninit_use_in_call: Using uninitialized value arg when calling
          kfree.
      
      Fixes: 7ba5b11f ("scst_disk: Add cluster SCSI sync state mode
      support to dev_disk")
      ae6c0bf9
    • Brian Meagher's avatar
      scst_disk: Add cluster SCSI sync state mode support to dev_disk · 7ba5b11f
      Brian Meagher authored
      Extend the cluster mode support that was first introduced in 9d61dc4b to
      include dev_disk.  This will facilitate the situation where the underlying
      disk is another SCST target.
      
      Add the cluster_mode control to the sysfs subtree for the dev_disk to permit
      entering or exiting cluster mode.
      
      In disk_attach issue a INQUIRY (Unit Serial Number VPD) to obtain the serial
      number of the underlying disk.  This is used when entering or exiting
      cluster mode as the cl_dev_id parameter, which ultimately is used as part of
      the DLM lockspace.
      7ba5b11f
    • Samy Mahmoudi's avatar
      scst/README: Correct description of 'opt_trans_len' · fbe5316f
      Samy Mahmoudi authored
      1. Correct a sentence where 'optimal transfer length' should read 'block size'.
      2. Use '4194304' instead of '4 MB' when referring to a value of the parameter.
      fbe5316f
  13. 13 Jan, 2023 3 commits
    • Gleb Chesnokov's avatar
      qla2x00t-32gbit: Use better sense data for transport error · 8e8670d4
      Gleb Chesnokov authored
      
      After a transport error, return "aborted command" sense data rather than
      "medium error / write error" (which is more appropriate for a problem
      writing to the disk / tape / physical medium).
      Signed-off-by: default avatarTony Battersby <tonyb@cybernetics.com>
      8e8670d4
    • Gleb Chesnokov's avatar
      qla2x00t-32gbit: Fix LUN parsing for ABORT_TASK_SET · 0bfb746e
      Gleb Chesnokov authored
      
      When processing ABORT_TASK_SET, qla2xxx_scst passes the wrong LUN to
      SCST, resulting in errors like:
      
      sqatgt(7/0): Received task management cmd: lun=29, type=2, tag=0
      sqatgt(7/0) ABORT_TS received.
      [161]: scst: TM fn ABORT_TASK_SET/1 (mcmd 00000000d42b66dd, initiator c0:50:76:0b:e9:52:00:a2, target 21:00:00:24:ff:82:96:a5)
      [10400]: scst: ***ERROR***: Corresponding device for LUN 7424 not found
      
      (where 29 is the correct LUN and 7424 is bogus)
      
      Fix by making LUN parsing for ABORT_TASK_SET the same as all the other
      TMR cases.
      Signed-off-by: default avatarTony Battersby <tonyb@cybernetics.com>
      0bfb746e
    • Gleb Chesnokov's avatar
      github: Update actions/checkout to v3 · 3ba2549a
      Gleb Chesnokov authored
      This patch should fix the following github warning:
      
          Node.js 12 actions are deprecated. Please update the following
          actions to use Node.js 16: actions/checkout@v2
      3ba2549a
  14. 10 Jan, 2023 4 commits
  15. 09 Jan, 2023 3 commits
  16. 05 Jan, 2023 1 commit
    • Brian Meagher's avatar
      scst/include/backport.h: Do not set rq->end_io to NULL · cbc8d5ee
      Brian Meagher authored
      Fix a regression introduced during d989aa91 ("scst_lib: Port to
      Linux kernel v5.19") that breaks dev_disk operation.
      
      The kernel function blk_execute_rq_nowait will set rq->end_io to the
      done parameter, so pass in the existing rq->end_io rather than NULL
      to prevent zeroing it.
      
      Fixes: d989aa91 ("scst_lib: Port to Linux kernel v5.19")
      [ glebchesn: added patch description ]
      cbc8d5ee
  17. 28 Dec, 2022 3 commits
  18. 27 Dec, 2022 3 commits