diff options
author | 2021-05-20 20:55:38 +0530 | |
---|---|---|
committer | 2021-06-02 00:56:17 -0400 | |
commit | 463429f8dd5c94aae4b0948c56e67eb21cb6964e (patch) | |
tree | 18eafe7005302ff720737e0e37a7fd1f1b542738 /drivers/scsi/mpi3mr/mpi3mr_os.c | |
parent | scsi: mpi3mr: Hardware workaround for UNMAP commands to NVMe drives (diff) | |
download | linux-dev-463429f8dd5c94aae4b0948c56e67eb21cb6964e.tar.xz linux-dev-463429f8dd5c94aae4b0948c56e67eb21cb6964e.zip |
scsi: mpi3mr: Add support for threaded ISR
Register driver for threaded interrupts.
By default the driver will attempt I/O completion from interrupt context
(primary handler). Since the driver tracks per reply queue outstanding
I/Os, it will schedule threaded ISR if there are any outstanding I/Os
expected on that particular reply queue.
Threaded ISR (secondary handler) will loop for I/O completion as long as
there are outstanding I/Os (speculative method using same per reply queue
outstanding counter) or it has completed some X amount of commands
(something like budget).
Link: https://lore.kernel.org/r/20210520152545.2710479-18-kashyap.desai@broadcom.com
Cc: sathya.prakash@broadcom.com
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpi3mr/mpi3mr_os.c')
0 files changed, 0 insertions, 0 deletions