[SCSI] mptfusion: Added MPI_SCSIIO_CONTROL_HEADOFQ priority
authorKashyap, Desai <kashyap.desai@lsi.com>
Wed, 16 Dec 2009 13:31:13 +0000 (19:01 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 18 Jan 2010 16:48:10 +0000 (10:48 -0600)
commit65f89c2396aa113a06fe7e2f6ba46f0712cb4806
treed5b17f982a8071d7b757f140e20bb7d878d9479e
parent02507a80b35edd720480540d917e9f92cc371009
[SCSI] mptfusion: Added MPI_SCSIIO_CONTROL_HEADOFQ priority

There is a 'ioprio' field in the BIO and the Request structure.
check this priority field and set MPI_SCSIIO_CONTROL_HEADOFQ
to pass down I/O priority.
An enhancement to the LSI Disk Array Controller firmware is being
developed to look at the Head Of Queue bit to allow I/Os with the HOQ bit
set to be processed before I/Os which do not have the HOQ bit set.
In order to set the HOQ bit, the mpt fusion driver  needs to look at the
'ioprio' field in the request structure associated with the scsi command.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/message/fusion/mptscsih.c