Skip to content

smartpqi: fixes and updates for 2.1.42-011

David Strahan linux-scsi 1 version Applied

Status from this message: Applied to 7.3/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4smartpqi: Fix AIO retry marker cleared by SCSI core between dispatches.drivers/scsi/smartpqi/smartpqi_init.c+18 -00 replies
2/4smartpqi: add support for CCISS_BIG_PASSTHRU ioctldrivers/scsi/smartpqi/smartpqi_init.c include/uapi/linux/cciss_ioctl.h+145 -01 reply
3/4smartpqi: add new pci device-idsdrivers/scsi/smartpqi/smartpqi_init.c+36 -00 replies
4/4smartpqi: update version to 2.1.42-011drivers/scsi/smartpqi/smartpqi_init.c+3 -30 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDon Brace
1/4A-b
2/4A-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/4] smartpqi: fixes and updates for 2.1.42-011

From: David Strahan <[email protected]>

These patches are based on Martin Petersen's 7.2/scsi-queue tree
https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git
7.2/scsi-queue

This patch series includes four patches, with two main functional changes:

1. smartpqi-Fix-AIO-retry-marker-cleared-by-SCSI-core-between-dispatches

On recent Linux kernels the driver can enter a retry loop on the AIO fast path when a request is retried, looping until timeout, and a diagnostic path that takes a physical drive offline on AIO-bypass failure is never entered.

Registers a per-command initialization callback with the SCSI core so its presence causes the core to skip the per-dispatch clear of the retry marker, letting it survive the requeue so the AIO-to-RAID fallback proceeds as intended.

2. smartpqi-add-support-for-CCISS_BIG_PASSTHRU-ioctl

Adds pqi_big_passthru_ioctl() to handle CCISS_BIG_PASSTHRU ioctl requests. The existing passthru ioctl uses a 16-bit integer for the I/O buffer size, limiting transfers to 64KB. The big passthru ioctl uses BIG_IOCTL_Command_struct, which stores the buffer size as a 32-bit integer, allowing the larger transfers required by some management utilities.

The other two patches:
3. smartpqi-add-new-pci-device-ids
Adds PCI IDs for new Hurray Data, ZTE, and Ramaxel controllers. No functional changes.
4. smartpqi-update-driver-version-to-2.1.42-011
Updates the driver version string.
No functional changes.