On Mon, Jun 22, 2015 at 08:09:55PM +0800, Ming Lei wrote:
> For the general async interface, it is a bit complicated than sync interfaces:
> 
> -  iocb need to be one parameter, because it often depends on callers, such
> as loop can preallocate it
> - direct I/O need to be another parameter(in loop we can use the same helper
> to handle sync request)
> - bvec and the segment number are another two parameters
> - not mention the common parameters(file, offset, pos, complete...)

We only really need iocb + iov_iter, they carry everything we need.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to