[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y+pNY691LAgqBbyy@infradead.org>
Date: Mon, 13 Feb 2023 06:46:59 -0800
From: Christoph Hellwig <hch@...radead.org>
To: David Howells <dhowells@...hat.com>
Cc: Jens Axboe <axboe@...nel.dk>, Al Viro <viro@...iv.linux.org.uk>,
Christoph Hellwig <hch@...radead.org>,
Matthew Wilcox <willy@...radead.org>, Jan Kara <jack@...e.cz>,
Jeff Layton <jlayton@...nel.org>,
David Hildenbrand <david@...hat.com>,
Jason Gunthorpe <jgg@...dia.com>,
Logan Gunthorpe <logang@...tatee.com>,
Hillf Danton <hdanton@...a.com>, linux-fsdevel@...r.kernel.org,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, Christoph Hellwig <hch@....de>,
John Hubbard <jhubbard@...dia.com>
Subject: Re: [PATCH 3/4] splice: Use init_sync_kiocb() in
filemap_splice_read()
On Mon, Feb 13, 2023 at 01:46:18PM +0000, David Howells wrote:
> + init_sync_kiocb(&iocb, in);
> + iocb.ki_pos = *ppos;
> + iocb.ki_flags &= IOCB_NOWAIT;
This clears everything but IOCB_NOWAIT. But even IOCB_NOWAIT should
not be cleared here as far as I can tell.
Powered by blists - more mailing lists