lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 7 Apr 2015 11:18:34 -0600
From:	Jens Axboe <axboe@...com>
To:	<axboe@...nel.dk>, <linux-kernel@...r.kernel.org>,
	<linux-scsi@...r.kernel.org>
CC:	<hch@....de>
Subject: [PATCH RFC v2] mpt2/mpt3sas lock reduction for scsi-mq

Hi,

This is v2 of the series. Generally addressed Christoph's review comments,
but more specifically, changes since v1:

- Kill the MPI2_FUNCTION_SCSI_TASK_MGMT support, which in turn
  enabled me to drop the SCSI/blk iter patches and the smid work-around
  for scsi-mq in mpt2/3 for bumping to hpr for NULL command.
- Made init/exit_command() work (sort of) on non scsi-mq. Drivers
  will have to set request_index related information separately
  still for non scsi-mq, since we don't have a reliable one
- Use scsi_cmd_priv() instead of adding a new helper.
- Make scsi_find_tag() only return in-progress IO for scsi-mq. This is
  simiar to the ->special check for non-mq.
- Ensure that mpt3sas is in sync with the mpt2sas changes.

 drivers/scsi/mpt2sas/mpt2sas_base.c  |  187 ++++++++++++++++++++++++-----------
 drivers/scsi/mpt2sas/mpt2sas_base.h  |    3 
 drivers/scsi/mpt2sas/mpt2sas_ctl.c   |  126 +----------------------
 drivers/scsi/mpt2sas/mpt2sas_scsih.c |   87 ++++++++++++----
 drivers/scsi/mpt3sas/mpt3sas_base.c  |  173 +++++++++++++++++++++++---------
 drivers/scsi/mpt3sas/mpt3sas_base.h  |    2 
 drivers/scsi/mpt3sas/mpt3sas_ctl.c   |  130 +-----------------------
 drivers/scsi/mpt3sas/mpt3sas_scsih.c |   69 ++++++++++--
 drivers/scsi/scsi.c                  |    9 +
 drivers/scsi/scsi_lib.c              |   16 ++
 include/scsi/scsi_host.h             |    6 -
 include/scsi/scsi_tcq.h              |   11 +-
 12 files changed, 448 insertions(+), 371 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ