From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [RFC][PATCH v2] readahead: introduce O_RANDOM_READ for POSIX_FADV_RANDOM Date: Fri, 8 Jan 2010 08:08:28 -0500 Message-ID: <20100108130828.GA30480@infradead.org> References: <20091225000717.GA26949@yahoo-inc.com> <87aax18xms.fsf@basil.nowhere.org> <20091230051540.GA16308@localhost> <20091230052402.GB26364@localhost> <873a2s8hmp.fsf@basil.nowhere.org> <20091231043116.GA19397@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andi Kleen , Andrew Morton , Quentin Barnes , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , Nick Piggin , Steven Whitehouse , David Howells , Al Viro , Jonathan Corbet , Christoph Hellwig To: Wu Fengguang Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:60346 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750876Ab0AHNIf (ORCPT ); Fri, 8 Jan 2010 08:08:35 -0500 Content-Disposition: inline In-Reply-To: <20091231043116.GA19397@localhost> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Just thinking about this again, why don't you put the flag into file->f_mode and the FMODE_* namespace given that we don't want it to be settable from open?