[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <464A94F9.5030300@garzik.org>
Date: Wed, 16 May 2007 01:22:01 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Tejun Heo <htejun@...il.com>
CC: linux-kernel <linux-kernel@...r.kernel.org>,
IDE/ATA development list <linux-ide@...r.kernel.org>,
James Bottomley <James.Bottomley@...elEye.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] libata: fix shutdown warning message printing
Tejun Heo wrote:
> Unlocking ap->lock and ssleeping don't work because SCSI commands can
> be issued from completion path without context. Reimplement delayed
> completion by allowing translation functions to override
> qc->scsidone(), storing the original completion function to
> scmd->scsi_done() and overriding qc->scsidone() with a function which
> schedules delayed invocation of scmd->scsi_done().
>
> This isn't pretty at all but all the ugly parts are thankfully
> contained in the stop translation path where the compat feature is
> implemented.
>
> Signed-off-by: Tejun Heo <htejun@...il.com>
applied to #upstream-fixes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists