Re: efivarfs and writev() support

2015-03-17 Thread Marcel Holtmann
Hi Matt, >> I say we should support writev() on efivarfs. Not supporting it seems >> odd especially since that is not documented anywhere. So yes, I am for >> adding .write_iter() support and be done with that. > > Well, as Al has explained it's not that writev() isn't supported, it's > that havi

Re: efivarfs and writev() support

2015-03-17 Thread Matt Fleming
On Sat, 14 Mar, at 09:33:00AM, Marcel Holtmann wrote: > > I say we should support writev() on efivarfs. Not supporting it seems > odd especially since that is not documented anywhere. So yes, I am for > adding .write_iter() support and be done with that. Well, as Al has explained it's not that wr

Re: efivarfs and writev() support

2015-03-14 Thread Marcel Holtmann
Hi Al, >> I do not know about the specific semantics of efivarfs and frankly I have >> not tried every single combination. However it sounds to me that currently >> it requires that the whole file content is provided with a single write(). I >> have no idea if this is true or not. I do not know

Re: efivarfs and writev() support

2015-03-12 Thread Al Viro
On Thu, Mar 12, 2015 at 07:58:35AM -0700, Marcel Holtmann wrote: > I do not know about the specific semantics of efivarfs and frankly I have not > tried every single combination. However it sounds to me that currently it > requires that the whole file content is provided with a single write(). I

Re: efivarfs and writev() support

2015-03-12 Thread Marcel Holtmann
Hi Al, it seems that efivarfs only supports readv(), but when it comes to writev(), I am getting an error. Is there any reason to not support vectored write on this filesystem? Especially with the uint32 header for each file, I think it would make perfect sense to support it. >

Re: efivarfs and writev() support

2015-03-11 Thread Al Viro
On Wed, Mar 11, 2015 at 08:12:52AM -0700, Marcel Holtmann wrote: > Hi Matt, > > >> it seems that efivarfs only supports readv(), but when it comes to > >> writev(), I am getting an error. Is there any reason to not support > >> vectored write on this filesystem? Especially with the uint32 header >

Re: efivarfs and writev() support

2015-03-11 Thread Marcel Holtmann
Hi Matt, >> it seems that efivarfs only supports readv(), but when it comes to >> writev(), I am getting an error. Is there any reason to not support >> vectored write on this filesystem? Especially with the uint32 header >> for each file, I think it would make perfect sense to support it. > > Wh

Re: efivarfs and writev() support

2015-03-11 Thread Matt Fleming
On Sun, 08 Mar, at 03:24:09PM, Marcel Holtmann wrote: > Hi, > > it seems that efivarfs only supports readv(), but when it comes to > writev(), I am getting an error. Is there any reason to not support > vectored write on this filesystem? Especially with the uint32 header > for each file, I think i