[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFwte=U_YCeV8u+5+7VrJs-mz6ieqM8zu2j7Ox-7+F3C0Q@mail.gmail.com>
Date: Thu, 28 Sep 2017 08:51:30 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Matthew Wilcox <willy@...radead.org>
Cc: Mimi Zohar <zohar@...ux.vnet.ibm.com>,
LSM List <linux-security-module@...r.kernel.org>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
linux-integrity@...r.kernel.org,
Christoph Hellwig <hch@...radead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Jan Kara <jack@...e.cz>, "Theodore Ts'o" <tytso@....edu>
Subject: Re: [RFC PATCH 1/3] fs: define new read_iter rwf flag
On Thu, Sep 28, 2017 at 6:54 AM, Matthew Wilcox <willy@...radead.org> wrote:
>
> I don't like adding a bool parameter everywhere. Why not add a flag
> to the kiocb ki_flags?
>
> #define IOCB_RWSEM_HELD (1 << 8)
Yeah, I think that would be a nicer approach, with filesystems that
don't care being able to just ignore it entirely.
Linus
Powered by blists - more mailing lists