]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] megaraid_sas: support for poll_mode_io (reduced interrupt)
authorbo yang <bo.yang@lsi.com>
Fri, 9 Nov 2007 09:40:16 +0000 (04:40 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:22:44 +0000 (18:22 -0600)
commit20394c84c575290324210f3e63dccfce1bb0d7df
tree3dad9cd19c3bc2c9c6e98612c050a9e8343c3f65
parenta7b2ed05e11c7c46d5dc204ef59f88a9eb10e43f
[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