linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RFC: handle queue_depth adjustments because of QUEUE_FULLs in scsi_error.c
@ 2009-05-19  5:52 michaelc
  2009-05-19  5:52 ` michaelc
  0 siblings, 1 reply; 10+ messages in thread
From: michaelc @ 2009-05-19  5:52 UTC (permalink / raw)
  To: linux-scsi

These patches were made over scsi-rc-fixes. They are only a RFC.

This is the first step to moving the QUEUE_FULL and then the
ramp up code from drivers like qla2xxx and lpfc to scsi-ml.
In the patches I am using the change_queue_depth callback
to allow the drivers to adjust the queue depth, so LLDs do
not have to worry about parsing the sense.

If these patches are ok, then we can move the ramp up code
from qla2xxx and lpfc to scsi-ml. I was planning on using
the change_queue_depth callback for this by calling it
with the SCSI_QDEPTH_RAMP_UP reason.


Note:

I did not convert the non fc drivers that were only calling
scsi_track_queue_full and did not have a change_queue_depth callback.
I think the behavior would be slightly different so I did not want to
mess with them. The patches I am sending will work fine if we
leave these drivers a long and only convert newer drivers.

mpt2sas was an exception where it is a newer driver and had
a change_queue_depth callback but I did not convert it. I wll
work on this one some more if this patchset is ok.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-06-16 13:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19  5:52 RFC: handle queue_depth adjustments because of QUEUE_FULLs in scsi_error.c michaelc
2009-05-19  5:52 ` michaelc
2009-05-19  5:52   ` [RFC PATCH 1/4] scsi-ml: modify change_queue_depth to take in reason why it is being called michaelc
2009-05-19  5:52     ` [RFC PATCH 2/4] scsi error: have scsi-ml call change_queue_depth to handle QUEUE_FULL michaelc
2009-05-19  5:52       ` [RFC PATCH 3/4] drivers: convert drivers setting the change_queue_depth callback michaelc
2009-05-19  5:52         ` [RFC PATCH 4/4] drivers: convert fc drivers calling scsi_track_queue_full michaelc
2009-06-12 12:57           ` Christof Schmitt
2009-06-12 12:48       ` [RFC PATCH 2/4] scsi error: have scsi-ml call change_queue_depth to handle QUEUE_FULL Christof Schmitt
2009-06-15 17:34         ` Mike Christie
2009-06-16 13:16           ` James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).