[PATCH] aacraid: add SCSI SYNCHONIZE_CACHE range checking (take 2)

2007-06-20 Thread Salyzyn, Mark
There was some overlap with another patch (?) this one has not shown in
scsi-pending-2.6. Modernized to apply cleanly and did some extra
cleanup.

This attached patch is against current scsi-misc-2.6

ObligatoryDisclaimer: Please accept my condolences regarding Outlook's
handling of patch attachments.

Signed-off-by: Mark Salyzyn [EMAIL PROTECTED]

 drivers/scsi/aacraid/aachba.c |   63
--
 1 file changed, 55 insertions(+), 8 deletions(-)

Sincerely -- Mark Salyzyn

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Salyzyn, Mark
 Sent: Thursday, June 07, 2007 1:21 PM
 To: linux-scsi@vger.kernel.org
 Subject: [PATCH] aacraid: add SCSI SYNCHONIZE_CACHE range checking. 
 
 
 Customer running an application that issues SYNCHRONIZE_CACHE calls
 directly noticed the broad stroke of the current implementation in the
 aacraid driver resulting in multiple applications feeding I/O to the
 storage causing the issuing application to stall for long periods of
 time. By only waiting for the current WRITE commands, rather than all
 commands, to complete; and those that are in range of the
 SYNCHRONIZE_CACHE call that would associate more tightly with the
 issuing application before telling the Firmware to flush it's dirty
 cache, we managed to reduce the stalling. The Firmware itself still
 flushes all the dirty cache associated with the array ignoring the
 range, it just does so in a more timely manner.
 
 This attached patch is against current scsi-misc-2.6
 
 ObligatoryDisclaimer: Please accept my condolences regarding Outlook's
 handling of patch attachments.
 
 Signed-off-by: Mark Salyzyn [EMAIL PROTECTED]
 
 Sincerely -- Mark Salyzyn
 


aacraid_synch_range2.patch
Description: aacraid_synch_range2.patch


[PATCH] aacraid: add SCSI SYNCHONIZE_CACHE range checking.

2007-06-07 Thread Salyzyn, Mark
Customer running an application that issues SYNCHRONIZE_CACHE calls
directly noticed the broad stroke of the current implementation in the
aacraid driver resulting in multiple applications feeding I/O to the
storage causing the issuing application to stall for long periods of
time. By only waiting for the current WRITE commands, rather than all
commands, to complete; and those that are in range of the
SYNCHRONIZE_CACHE call that would associate more tightly with the
issuing application before telling the Firmware to flush it's dirty
cache, we managed to reduce the stalling. The Firmware itself still
flushes all the dirty cache associated with the array ignoring the
range, it just does so in a more timely manner.

This attached patch is against current scsi-misc-2.6

ObligatoryDisclaimer: Please accept my condolences regarding Outlook's
handling of patch attachments.

Signed-off-by: Mark Salyzyn [EMAIL PROTECTED]

Sincerely -- Mark Salyzyn


aacraid_synch_range.patch
Description: aacraid_synch_range.patch