28 Aug, 2018

1 commit


29 May, 2018

2 commits


22 Mar, 2018

1 commit


20 Mar, 2018

2 commits


15 Mar, 2018

2 commits


02 Mar, 2018

1 commit


02 Dec, 2017

1 commit


23 Oct, 2017

2 commits


07 Apr, 2017

2 commits

  • There hasn't been any reports for HBAs where asynchronous abort
    would not work, so we should make it mandatory and remove
    the fallback.

    Signed-off-by: Hannes Reinecke
    Reviewed-by: Johannes Thumshirn
    Reviewed-by: Bart Van Assche
    Reviewed-by: Christoph Hellwig
    Signed-off-by: Martin K. Petersen

    Hannes Reinecke
     
  • If a failed command is retried and fails again we need
    to enter SCSI EH, otherwise we will never be able to
    recover the command.
    To detect this situation we must not clear scmd->eh_eflags
    when EH finishes but rather make it persistent throughout
    the lifetime of the command.

    Signed-off-by: Hannes Reinecke
    Reviewed-by: Benjamin Block
    Reviewed-by: Bart Van Assche
    Reviewed-by: Johannes Thumshirn
    Reviewed-by: Christoph Hellwig
    Signed-off-by: Martin K. Petersen

    Hannes Reinecke
     

28 Feb, 2017

1 commit

  • Fix typos and add the following to the scripts/spelling.txt:

    varible||variable

    While we are here, tidy up the comment blocks that fit in a single line
    for drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c and
    net/sctp/transport.c.

    Link: http://lkml.kernel.org/r/1481573103-11329-11-git-send-email-yamada.masahiro@socionext.com
    Signed-off-by: Masahiro Yamada
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masahiro Yamada
     

23 Dec, 2016

1 commit


09 Dec, 2016

1 commit

  • Automatically probe the board irq when no irq parameter is provided, to
    simulate PnP. The old default behaviour was to disable the irq.

    Update driver documentation accordingly and add some printk messages to
    make this behaviour visible.

    Signed-off-by: Finn Thain
    Tested-by: Ondrej Zary
    Signed-off-by: Martin K. Petersen

    Finn Thain
     

24 Oct, 2016

1 commit


30 Sep, 2016

2 commits

  • Convert g_NCR5380 to use scsi_add_host instead of scsi_module.c Use
    pnp_driver and isa_driver to manage cards.

    In order to support multiple cards, new module parameter format is
    introduced. The old parameters are kept for compatibility.

    Signed-off-by: Ondrej Zary
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Ondrej Zary
     
  • Remove deprecated __setup for parsing command line parameters.
    g_NCR5380.* parameters could be used instead.

    This might break existing setups with g_NCR5380 built-in (if there are
    any). But it has to go in order to remove the overrides[] array.

    Signed-off-by: Ondrej Zary
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Ondrej Zary
     

27 Sep, 2016

6 commits

  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Acked-by: Finn Thain
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     
  • The driver has not seen any maintainer activity or other work that
    wasn't tree wide conversion or clenaups in the entire history of
    the git tree.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Hannes Reinicke
    Signed-off-by: Martin K. Petersen

    Christoph Hellwig
     

03 Sep, 2016

1 commit

  • added Documentation/scsi/smartpqi.txt

    [mkp: applied by hand]

    Reviewed-by: Kevin Barnett
    Reviewed-by: Scott Benesh
    Reviewed-by: Johannes Thumshirn
    Signed-off-by: Don Brace
    Reviewed-by: Tomas Henzl
    Signed-off-by: Martin K. Petersen

    Don Brace
     

31 Aug, 2016

1 commit

  • The driver that used the 'nodisconnect' parameter was removed in commit
    565bae6a4a8f ("[SCSI] 53c7xx: kill driver"). Related documentation was
    cleaned up in commit f37a7238d379 ("[SCSI] 53c7xx: fix removal
    fallout"), except for the remaining two mentions that are removed here.

    Signed-off-by: Finn Thain
    Reviewed-by: Geert Uytterhoeven
    Signed-off-by: Martin K. Petersen

    Finn Thain
     

19 Jun, 2016

1 commit


09 Jun, 2016

1 commit

  • sas_ata_strategy_handler() adds the works of the ata error handler to
    system_unbound_wq. This workqueue asynchronously runs work items, so the
    ata error handler will be performed concurrently on different CPUs. In
    this case, ->host_failed will be decreased simultaneously in
    scsi_eh_finish_cmd() on different CPUs, and become abnormal.

    It will lead to permanently inequality between ->host_failed and
    ->host_busy, and scsi error handler thread won't start running. IO
    errors after that won't be handled.

    Since all scmds must have been handled in the strategy handler, just
    remove the decrement in scsi_eh_finish_cmd() and zero ->host_busy after
    the strategy handler to fix this race.

    Fixes: 50824d6c5657 ("[SCSI] libsas: async ata-eh")
    Cc: stable@vger.kernel.org
    Signed-off-by: Wei Fang
    Reviewed-by: James Bottomley
    Signed-off-by: Martin K. Petersen

    Wei Fang
     

29 May, 2016

1 commit

  • Pull SCSI target updates from Nicholas Bellinger:
    "Here are the outstanding target pending updates for v4.7-rc1.

    The highlights this round include:

    - Allow external PR/ALUA metadata path be defined at runtime via top
    level configfs attribute (Lee)
    - Fix target session shutdown bug for ib_srpt multi-channel (hch)
    - Make TFO close_session() and shutdown_session() optional (hch)
    - Drop se_sess->sess_kref + convert tcm_qla2xxx to internal kref
    (hch)
    - Add tcm_qla2xxx endpoint attribute for basic FC jammer (Laurence)
    - Refactor iscsi-target RX/TX PDU encode/decode into common code
    (Varun)
    - Extend iscsit_transport with xmit_pdu, release_cmd, get_rx_pdu,
    validate_parameters, and get_r2t_ttt for generic ISO offload
    (Varun)
    - Initial merge of cxgb iscsi-segment offload target driver (Varun)

    The bulk of the changes are Chelsio's new driver, along with a number
    of iscsi-target common code improvements made by Varun + Co along the
    way"

    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending: (29 commits)
    iscsi-target: Fix early sk_data_ready LOGIN_FLAGS_READY race
    cxgbit: Use type ISCSI_CXGBIT + cxgbit tpg_np attribute
    iscsi-target: Convert transport drivers to signal rdma_shutdown
    iscsi-target: Make iscsi_tpg_np driver show/store use generic code
    tcm_qla2xxx Add SCSI command jammer/discard capability
    iscsi-target: graceful disconnect on invalid mapping to iovec
    target: need_to_release is always false, remove redundant check and kfree
    target: remove sess_kref and ->shutdown_session
    iscsi-target: remove usage of ->shutdown_session
    tcm_qla2xxx: introduce a private sess_kref
    target: make close_session optional
    target: make ->shutdown_session optional
    target: remove acl_stop
    target: consolidate and fix session shutdown
    cxgbit: add files for cxgbit.ko
    iscsi-target: export symbols
    iscsi-target: call complete on conn_logout_comp
    iscsi-target: clear tx_thread_active
    iscsi-target: add new offload transport type
    iscsi-target: use conn_transport->transport_type in text rsp
    ...

    Linus Torvalds
     

20 May, 2016

1 commit

  • Pull Documentation updates from Jon Corbet:
    "A bit busier this time around.

    The most interesting thing (IMO) this time around is some beginning
    infrastructural work to allow documents to be written using
    restructured text. Maybe someday, in a galaxy far far away, we'll be
    able to eliminate the DocBook dependency and have a much better
    integrated set of kernel docs. Someday.

    Beyond that, there's a new document on security hardening from Kees,
    the movement of some sample code over to samples/, a number of
    improvements to the serial docs from Geert, and the usual collection
    of corrections, typo fixes, etc"

    * tag 'docs-for-linus' of git://git.lwn.net/linux: (55 commits)
    doc: self-protection: provide initial details
    serial: doc: Use port->state instead of info
    serial: doc: Always refer to tty_port->mutex
    Documentation: vm: Spelling s/paltform/platform/g
    Documentation/memcg: update kmem limit doc as codes behavior
    docproc: print a comment about autogeneration for rst output
    docproc: add support for reStructuredText format via --rst option
    docproc: abstract terminating lines at first space
    docproc: abstract docproc directive detection
    docproc: reduce unnecessary indentation
    docproc: add variables for subcommand and filename
    kernel-doc: use rst C domain directives and references for types
    kernel-doc: produce RestructuredText output
    kernel-doc: rewrite usage description, remove duplicated comments
    Doc: correct the location of sysrq.c
    Documentation: fix common spelling mistakes
    samples: v4l: from Documentation to samples directory
    samples: connector: from Documentation to samples directory
    Documentation: xillybus: fix spelling mistake
    Documentation: x86: fix spelling mistakes
    ...

    Linus Torvalds
     

10 May, 2016

1 commit


28 Apr, 2016

2 commits


12 Apr, 2016

1 commit


24 Feb, 2016

1 commit

  • Change the MTMKPART operation of the MTIOCTOP ioctl so that it works
    also with current drives (LTO-5/6, etc.). Send a separate FORMAT MEDIUM
    command if the partition mode page indicates that this is required. Use
    LOAD to position the tape at the beginning of tape.

    The operation is extended so that if the argument is negative, its
    absolute value specifies the size of partition 0, which is the
    physically first partition of the tape.

    Signed-off-by: Kai Mäkisara
    Tested-by: Shane M Seymour
    Tested-by: Laurence Oberman
    Tested-by: Douglas Gilbert
    Signed-off-by: Martin K. Petersen

    Kai Makisara
     

10 Nov, 2015

1 commit

  • Change st driver to allow enabling or disabling debug output
    via sysfs file /sys/bus/scsi/drivers/st/debug_flag.

    Previously the only way to enable debug output was:

    1. loading the driver with the module parameter debug_flag=1
    2. an ioctl call (this method was also the only way to dynamically
    disable debug output).

    To use the ioctl you need a second tape drive (if you are
    actively testing the first tape drive) since a second process
    cannot open the first tape drive if it is in use.

    The this change is only functional if the value of the macro
    DEBUG in st.c is a non-zero value (which it is by default).

    Signed-off-by: Shane Seymour
    Reviewed-by: Laurence Oberman
    Acked-by: Kai Mäkisara
    Signed-off-by: James Bottomley

    Seymour, Shane M
     

26 Jun, 2015

1 commit


02 Jun, 2015

1 commit

  • This patch implements tape statistics in the st module via
    sysfs. Current no statistics are available for tape I/O and there
    is no easy way to reuse the block layer statistics for tape
    as tape is a character device and does not have perform I/O in
    sector sized chunks (the size of the data written to tape
    can change). For tapes we also need extra stats related to
    things like tape movement (via other I/O).

    There have been multiple end users requesting statistics
    including AT&T (and some HP customers who have not given
    permission to be named). It is impossible for them
    to investigate any issues related to tape performance
    in a non-invasive way.

    [jejb: eliminate PRId64]
    Signed-off-by: Shane Seymour
    Tested-by: Shane Seymour
    Reviewed-by: Christoph Hellwig
    Signed-off-by: James Bottomley

    Seymour, Shane M