Re: Status of AIO

From: Benjamin LaHaise
Date: Mon Mar 06 2006 - 21:10:21 EST


On Tue, Mar 07, 2006 at 04:04:11AM +0200, Dan Aloni wrote:
> This somehow resembles the scatter-gatter lists already used in some
> subsystems such as the SCSI sg driver.

None of the iovecs are particularly special. What's special here is that
particulars of the container make the fast path *cheap*.

> BTW you have to make these pages Copy-On-Write before this procedure
> starts because you wouldn't want it to accidently fill the zero page,
> i.e. the VM will have to supply a unique set of pages otherwise it
> messes up.

No, that would be insanely expensive. There's no way this would be done
transparently to the user unless we know that we're blocking until the
transmit is complete.

-ben
--
"Time is of no importance, Mr. President, only life is important."
Don't Email: <dont@xxxxxxxxx>.
-
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/