From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH] add a FMODE flag to make XFS invisible I/O less hacky Date: Fri, 28 Nov 2008 11:30:52 +0000 Message-ID: <20081128113052.GS28946@ZenIV.linux.org.uk> References: <20081128112402.GA32740@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org To: Christoph Hellwig Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:54944 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752161AbYK1Lax (ORCPT ); Fri, 28 Nov 2008 06:30:53 -0500 Content-Disposition: inline In-Reply-To: <20081128112402.GA32740@lst.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Nov 28, 2008 at 12:24:02PM +0100, Christoph Hellwig wrote: > XFS has a mode called invisble I/O that doesn't update any of the > timestamps. It's used for HSM-style applications and exposed through > the nasty open by handle ioctl. > > Instead of doing directly assignment of file operations that set an > internal flag for it add a new FMODE_INVISIBLE flag that we can check > in the normal file operations. Seeing that it's similar to O_NOATIME, why not do it in O_... space?