[Pvfs2-developers] readv/writev gone in 2.6.19-rc4

Robert Latham robl at mcs.anl.gov
Wed Nov 8 11:09:40 EST 2006


On Wed, Nov 08, 2006 at 08:12:54AM -0600, Rob Ross wrote:
> the good news is that the new structure that they've added:
> struct niovec
>     {
>         void __user *iov_base;
> 	__kernel_size_t iov_len;
> 	__kernel_loff_t iov_off; /* NEW */
>     };
> 
> allows one to do a very limited version of list I/O through the kernel. 
> minor step in the right direction.

Turns out that lwn article (from December 2005) is out of date.  This
article http://lwn.net/Articles/202449/ (from October 2nd 2006)
appears to have a more accurate description of the api change. 

    struct iovec
    {
	void __user *iov_base;
	__kernel_size_t iov_len;
    };

This article http://lwn.net/Articles/170954/ (from Feb 7th 2006) has a
bit more background, and a promise of future API changes.  

==rob

-- 
Rob Latham
Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA                 B29D F333 664A 4280 315B


More information about the Pvfs2-developers mailing list