[PATCH] scsi: smartpqi: create module parameters for LUN reset

2021-04-19 Thread Enzo Matsumiya
ill online for PQI_LUN_RESET_RETRIES * PQI_LUN_RESET_RETRY_INTERVAL_MSECS miliseconds. This commit makes those values configurable via module parameters. Changing the bail out condition on rc in _pqi_device_reset() might be possible, but could also break the original purpose of commit c2922f174fa0. Signed-of

Re: [RFC PATCH] scsi: smartpqi: create module parameters for LUN reset

2021-02-23 Thread Enzo Matsumiya
Hi, On 01/21, Enzo Matsumiya wrote: Commit c2922f174fa0 ("scsi: smartpqi: fix LUN reset when fw bkgnd thread is hung") added support for a timeout on LUN resets. However, when there are 2 or more devices connected to the same controller and you hot-remove one of them, I/O

[RFC PATCH] scsi: smartpqi: create module parameters for LUN reset

2021-01-21 Thread Enzo Matsumiya
ill online for PQI_LUN_RESET_RETRIES * PQI_LUN_RESET_RETRY_INTERVAL_MSECS miliseconds. This commit makes those values configurable via module parameters. Changing the bail out condition on rc in _pqi_device_reset() might be possible, but could also break the original purpose of commit c2922f174fa0. Signed-of

[PATCH] scsi: qla2xxx: fix description for parameter ql2xenforce_iocb_limit

2021-01-18 Thread Enzo Matsumiya
Parameter ql2xenforce_iocb_limit is enabled by default. Fixes: 89c72f4245a8 ("scsi: qla2xxx: Add IOCB resource tracking") Signed-off-by: Enzo Matsumiya --- drivers/scsi/qla2xxx/qla_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_os.c

Re: [PATCH] nvme: hwmon: fix crash on device teardown

2021-01-04 Thread Enzo Matsumiya
Thank you all for the feedback. I'll re-evaluate my patch and resubmit it soon. The problem clearly exists as I can easily reproduce it on my test setup, but the strategy to fix it needs some rework apparently. @Daniel maybe try tweaking your tests to use a smaller controller loss timeout (-l

[PATCH] nvme: hwmon: fix crash on device teardown

2020-12-09 Thread Enzo Matsumiya
Fix a possible NULL pointer dereference when trying to read hwmon sysfs entries associated to NVMe-oF devices that were hot-removed or disconnected. Unregister the NVMe hwmon device upon controller teardown (nvme_stop_ctrl()). Signed-off-by: Enzo Matsumiya --- drivers/nvme/host/core.c | 1