Re: [PATCH] ata_sg_setup_one vs ata_sg_setup?

From: Rusty Russell
Date: Thu Nov 15 2007 - 07:36:46 EST


On Thursday 15 November 2007 15:08:00 Tejun Heo wrote:
> Rusty Russell wrote:
> > Hi Jeff,
> >
> > Was looking through libata, and it seems to me that ata_sg_setup is a
> > superset of ata_sg_setup_one. Am I missing something? Seems like it
> > could be simplified.
> >
> > My machine never seems to do an ata_sg_setup_one, so this patch isn't
> > really tested...
>
> I have about the same patch queued here which also kills
> ata_sg_init_one() completely and replaces
> ATA_QCFLAG_SG/ATA_QCFLAG_SINGLE with ATA_QCFLAG_DMAMAP (now a single
> flag). I'll compare your version and mine and see if mine is missing
> something.
>
> Thanks.

Great, thanks for the feedback. I'd guess mine is more likely missing
something than yours though...

Cheers,
Rusty.
-
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/