All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET] libata: various fixes related to EH, take #3
@ 2006-02-01 15:56 Tejun Heo
  2006-02-01 15:56 ` [PATCH 4/4] libata: kill NULL qc handling from ->eng_timeout callbacks Tejun Heo
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Tejun Heo @ 2006-02-01 15:56 UTC (permalink / raw)
  To: jgarzik, linux-ide, albertcc; +Cc: htejun


Hello, Jeff.

This patchset is what's left of the previous take [1].  From the
previous take, patch #9 and #10 were rejected and #11 and #13 were
accepted but failed to apply due to the earlier rejection.  I still
think patch #9 and #10 are correct and gave my rationale in the
original thread [2].

This patchset contains those same patches - #9, #10, #11 and #13, but
they have been reordered to ease integration.  #11 and #13 are now at
the head.

Thanks.

--
tejun

[1] http://marc.theaimsgroup.com/?l=linux-ide&m=113798939526779&w=2
[2] http://marc.theaimsgroup.com/?l=linux-ide&m=113880834210485&w=2


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCHSET] libata: various fixes related to EH, take #4
@ 2006-02-10  6:10 Tejun Heo
  2006-02-10  6:10 ` [PATCH 4/4] libata: kill NULL qc handling from ->eng_timeout callbacks Tejun Heo
  0 siblings, 1 reply; 10+ messages in thread
From: Tejun Heo @ 2006-02-10  6:10 UTC (permalink / raw)
  To: jgarzik, albertcc, linux-ide; +Cc: htejun


Hello, Jeff.

This patchset is the fourth take of 'various fixes related to EH'
patchset.  From the previous take[1], %01 and %02 made into the tree
and %03 got nacked and #04 acked but didn't make into the tree due to
dependency to %03.  (% denotes patch numbers in the previous take, #
in this take)

Changes from the last take.

* %03 reimplemented using sht->eh_timed_out() callback as Jeff
  suggested[2].

* assert(ata_qc_from_tag(ap, ap->active_tag)) is added to
  ata_scsi_error() in patch %04.

This patchset contains the following patches.

#01-03	: implement and use ata_scsi_timed_out()
#04	: kill NULL qc handling and add above described assertion

I used ATA_QCFLAG_EH_SCHEDULED instead of ATA_QCFLAG_TIMEOUT because
the same flag will be used later by EH patchset in the same manner.

Simulated the following three cases and all work fine.

* normal time out
* timeout wins, but qc completion kicks in before EH
* timeout loses (ata_scsi_timed_out() returns EH_HANDLED)

Thanks.

--
tejun

[1] http://article.gmane.org/gmane.linux.ide/7788
[2] http://article.gmane.org/gmane.linux.ide/7890


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

end of thread, other threads:[~2006-02-10  6:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-01 15:56 [PATCHSET] libata: various fixes related to EH, take #3 Tejun Heo
2006-02-01 15:56 ` [PATCH 4/4] libata: kill NULL qc handling from ->eng_timeout callbacks Tejun Heo
2006-02-09  6:33   ` Jeff Garzik
2006-02-01 15:56 ` [PATCH 1/4] libata: implement ATA_FLAG_IN_EH port flag Tejun Heo
2006-02-09  6:18   ` Jeff Garzik
2006-02-01 15:56 ` [PATCH 2/4] libata: EH / pio tasks synchronization Tejun Heo
2006-02-01 15:56 ` [PATCH 3/4] libata: fix handling of race between timeout and completion Tejun Heo
2006-02-09  6:33   ` Jeff Garzik
2006-02-09  9:08     ` Tejun
  -- strict thread matches above, loose matches on Subject: below --
2006-02-10  6:10 [PATCHSET] libata: various fixes related to EH, take #4 Tejun Heo
2006-02-10  6:10 ` [PATCH 4/4] libata: kill NULL qc handling from ->eng_timeout callbacks Tejun Heo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.