Re: [PATCH 7/7] sg_ring: convert core ATA code to sg_ring.

From: Rusty Russell
Date: Wed Dec 26 2007 - 19:25:19 EST


On Wednesday 26 December 2007 19:36:36 Tejun Heo wrote:
> It would be better to build upon sg chaining as we already have it. I
> think it can be made much easier with a bit more safe guards,
> generalization and some helpers.

Hi Tejun,

I did this work to replace sg chaining. The current chaining code gives
us longer sgs, and (if used carefully) the ability to append in some
circumstances. But it's clumsy, and we can do better. This is my attempt.

I understand that people are experiencing whiplash from the idea of
another change just after the sg chaining changes which have already gone in.

At the very least, I think I'll have to come up with a better transition
plan for SCSI drivers, rather than trying to convert them all at once... In
theory, sg chaining can be done through the sg ring arrays, but that's pretty
horrible.

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/