[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yhv39J4+FwD/B2aJ@zeniv-ca.linux.org.uk>
Date: Sun, 27 Feb 2022 22:15:16 +0000
From: Al Viro <viro@...iv.linux.org.uk>
To: jhubbard.send.patches@...il.com
Cc: Jens Axboe <axboe@...nel.dk>, Jan Kara <jack@...e.cz>,
Christoph Hellwig <hch@...radead.org>,
Dave Chinner <dchinner@...hat.com>,
"Darrick J . Wong" <djwong@...nel.org>,
Theodore Ts'o <tytso@....edu>,
Miklos Szeredi <miklos@...redi.hu>,
Andrew Morton <akpm@...ux-foundation.org>,
Chaitanya Kulkarni <kch@...dia.com>,
linux-block@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-xfs@...r.kernel.org, linux-mm@...ck.org,
LKML <linux-kernel@...r.kernel.org>,
John Hubbard <jhubbard@...dia.com>
Subject: Re: [PATCH 3/6] block, fs: assert that key paths use iovecs, and
nothing else
On Sun, Feb 27, 2022 at 01:34:31AM -0800, jhubbard.send.patches@...il.com wrote:
> From: John Hubbard <jhubbard@...dia.com>
>
> Upcoming changes to Direct IO will change it from acquiring pages via
> get_user_pages_fast(), to calling pin_user_pages_fast() instead.
>
> Place a few assertions at key points, that the pages are IOVEC (user
> pages), to enforce the assumptions that there are no kernel or pipe or
> other odd variations being passed.
Umm... And what should happen when O_DIRECT file gets passed to splice()?
Powered by blists - more mailing lists