Re: [patch 6/6] ide: improve handling of Power Management requests
From: Bartlomiej Zolnierkiewicz
Date: Tue Jun 23 2009 - 21:49:41 EST
On Wednesday 24 June 2009 01:24:02 David Miller wrote:
> From: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
> Date: Tue, 23 Jun 2009 23:35:56 +0200
>
> > From: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
> > Subject: [PATCH] ide: improve handling of Power Management requests
> >
> > Make hwif->rq point to PM request during PM sequence and do not allow
> > any other types of requests to slip in (the old comment was never correct
> > as there should be no such requests generated during PM sequence).
> >
> > Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
> > ---
> > This was tested in the past (with an additional testing from Borislav)
> > however there were block layer changes in the meantime so you may want
> > to give it some more testing time just to be sure.
>
> In looking at this change, it occurs to me that this queue blocking
> facility could also be used to solve the user SET_XFER race.
>
> Couldn't it?
Probably. This is software, almost everything is possible.. ;)
--
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/