lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 15 Sep 2014 17:44:41 -0400 From: Milosz Tanski <milosz@...in.com> To: Christoph Hellwig <hch@...radead.org> Cc: Al Viro <viro@...iv.linux.org.uk>, LKML <linux-kernel@...r.kernel.org>, "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>, linux-aio@...ck.org, Mel Gorman <mgorman@...e.de>, Volker Lendecke <Volker.Lendecke@...net.de>, Tejun Heo <tj@...nel.org>, Jeff Moyer <jmoyer@...hat.com> Subject: Re: [PATCH 1/7] Prepare for adding a new readv/writev with user flags. I'll redo with the flag inside of kiocb for the next submission. On Mon, Sep 15, 2014 at 5:15 PM, Christoph Hellwig <hch@...radead.org> wrote: > On Mon, Sep 15, 2014 at 09:28:28PM +0100, Al Viro wrote: >> On Mon, Sep 15, 2014 at 04:20:17PM -0400, Milosz Tanski wrote: >> > Plumbing the flags argument through the vfs code so they can be passed down to >> > __generic_file_(read/write)_iter function that do the acctual work. >> >> NAK. Put these flags into iocb, it'll be less noisy that way. > > Fine with me. My initial prototype had it in the iov_iter type field > which is another possibility. > > But if we get rid of the explicit flags field and make it more invisible > I'd really like to add a features field struct file_operations where > instances can advertize that they support it (and other things like > actual AIO support in the future) so that we won't have a situation > like with AIO where we can submit I/O but it might actually still block > anyway because lots of operations don't support it. -- Milosz Tanski CTO 16 East 34th Street, 15th floor New York, NY 10016 p: 646-253-9055 e: milosz@...in.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists