28 Aug, 2018
1 commit
-
Kernel line argument scsi_mod.use_blk_mq is missing from file
Documentation/scsi/scsi-parameters.txt. Add this option, providing
mention of config setting and format.[mkp: clarified where to look]
Signed-off-by: John Pittman
Signed-off-by: Martin K. Petersen
29 May, 2018
2 commits
-
Signed-off-by: Christoph Hellwig
Reviewed-by: Hannes Reinecke
Reviewed-by: Johannes Thumshirn
Signed-off-by: Jens Axboe -
The BLK_EH_NOT_HANDLED implies nothing happen, but very often that
is not what is happening - instead the driver already completed the
command. Fix the symbolic name to reflect that a little better.Signed-off-by: Christoph Hellwig
Reviewed-by: Hannes Reinecke
Reviewed-by: Johannes Thumshirn
Signed-off-by: Jens Axboe
22 Mar, 2018
1 commit
-
Remove references to fdomain, ncr53c400a, tmscsim, and DAC960 from
Documentation/scsi.Signed-off-by: Martin K. Petersen
20 Mar, 2018
2 commits
-
After more than 15 years all users of this legacy interface are finally
gone. Rest in peace!Signed-off-by: Christoph Hellwig
Signed-off-by: Martin K. Petersen -
This driver hasn't seen any recent bug fixing and is one of the last
drivers using the scsi_module.c infrastruture that has been deprecated
15 years ago.Signed-off-by: Christoph Hellwig
Signed-off-by: Martin K. Petersen
15 Mar, 2018
2 commits
-
This 20+ year old changelog has no useful information for kernel
development or users, so remove it.Signed-off-by: Christoph Hellwig
Signed-off-by: Martin K. Petersen -
These two drivers do not appear to be in active use. Deprecate them.
Suggested-by: Christoph Hellwig
Signed-off-by: Martin K. Petersen
02 Mar, 2018
1 commit
-
Add a file for documenting SCSI sd module parameters and describe the
cache_type setting.[mkp: tweaked text a bit]
Signed-off-by: Weiping Zhang
Signed-off-by: Martin K. Petersen
02 Dec, 2017
1 commit
-
In scsi_mid_low_api.txt a the scsi_device structure is mentioned
several times, but the leading 's' is uppercase (Scsi_device)
and should be lowercase (scsi_device). Fixed by this commit.Signed-off-by: John Pittman
Signed-off-by: Jonathan Corbet
23 Oct, 2017
2 commits
-
Correct spelling error.
Signed-off-by: Kevin Barnett
Signed-off-by: Don Brace
Signed-off-by: Martin K. Petersen -
Ever since it became possible to compile the SCSI core code as a module,
the documentation describing the module parameters has been incorrect.
Update the documentation to add a "scsi_mod." prefix to the relevant
options.Reported-by: Laurence Oberman
Signed-off-by: Martin K. Petersen
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 -
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
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
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
24 Oct, 2016
1 commit
-
The previous patch renamed several files that are cross-referenced
along the Kernel documentation. Adjust the links to point to
the right places.Signed-off-by: Mauro Carvalho Chehab
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 -
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
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 -
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 -
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 -
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 -
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 -
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
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
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
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
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
...
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
...
10 May, 2016
1 commit
-
This patch introduces support for TCM_QLA2XXX_DEBUG and
associated tcm_qla2xxx_tpg->tpg_attrib.jam_host checking
used to test dropped packets to FC host environments.Tested by: Laurence Oberman
Signed-off-by: Laurence Oberman
Acked-by: Himanshu Madhani
Signed-off-by: Nicholas Bellinger
28 Apr, 2016
2 commits
-
This fixes several spelling mistakes in the Documentation/ tree, which
are caught by checkpatch.pl's spell checking.Signed-off-by: Kees Cook
Reviewed-by: Paul E. McKenney
Acked-by: Randy Dunlap
Signed-off-by: Jonathan Corbet -
Signed-off-by: Eric Engestrom
[jc: fixed trailing whitespace errors]
Signed-off-by: Jonathan Corbet
12 Apr, 2016
1 commit
-
Update kernel parameter documentation for atari_scsi, mac_scsi and
g_NCR5380 drivers. Remove duplication.Signed-off-by: Finn Thain
Reviewed-by: Hannes Reinecke
Signed-off-by: Martin K. Petersen
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
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
26 Jun, 2015
1 commit
-
Pull asm/scatterlist.h removal from Jens Axboe:
"We don't have any specific arch scatterlist anymore, since parisc
finally switched over. Kill the include"* 'for-4.2/sg' of git://git.kernel.dk/linux-block:
remove scatterlist.h generation from arch Kbuild files
remove
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