Re: Request-queue not getting process even after calling unplug

From: Vivek Satpute
Date: Mon Dec 31 2012 - 04:03:37 EST


Kindly let me know if I am posting query in wrong Forum. If yes, then
could anyone point me to the appropriate forum ?


Thanks in advance,
Vivek Satpute

On Sun, Dec 30, 2012 at 5:02 PM, Vivek Satpute <vivekonline86@xxxxxxxxx> wrote:
> Hi All,
>
> I am working on RHEL5.8 (kernel-2.6.18-308) and facing weird behavior
> with the IO subsystem.
>
> My testcase requires to form the SCSI request manually and send it
> down to the underlying HBA
> for further IO processing. To achieve this I have formed the SCSI
> request, packed it inside the
> new request. Later on I am queuing the request to device's
> request-queue using function - elv_add_request( ).
> Request is getting queued correctly in a queue. Further I called
> unplug on a queue, still it is not getting
> processed further by IO scheduler. Request remains stuck in queue itself !
>
> Strange part is, same code is working successfully on other kernel versions,
> but I am facing the issue only on kernel-2.6.18-308.
>
> Can anyone help me to understand why request is being stuck in a queue
> ? How can I debug this further ?
>
>
> Thanks in advance!
> Vivek Satpute
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/