[SCSI] megaraid_sas: support for poll_mode_io (reduced interrupt)
commitad84db2e2e1817bb8a29e7c9108eb66bf023d99f
authorbo yang <bo.yang@lsi.com>
Fri, 9 Nov 2007 09:40:16 +0000 (9 04:40 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:22:44 +0000 (11 18:22 -0600)
tree3dad9cd19c3bc2c9c6e98612c050a9e8343c3f65
parent7343eb6570ae3b299e7b5185b139d8335ef60e9b
[SCSI] megaraid_sas: support for poll_mode_io (reduced interrupt)

Added module parameter "poll_mode_io" to support for "polling"
(reduced interrupt operation).  In this mode, IO completion interrupts
are delayed. At the end of initiating IOs, the driver schedules for
cmd completion if there are pending cmds.  A timer-based interrupt has
also been added to prevent IO completion from being delayed
indefinitely in the case that no new IOs are initiated.  Some
formatting issues in resume, suspend comment block also corrected

Signed-off-by: Bo Yang <bo.yang@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/megaraid/megaraid_sas.c
drivers/scsi/megaraid/megaraid_sas.h