From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC36E8E; Mon, 11 Dec 2023 08:45:59 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id 6AD7968BFE; Mon, 11 Dec 2023 17:45:56 +0100 (CET) Date: Mon, 11 Dec 2023 17:45:55 +0100 From: Christoph Hellwig To: Bart Van Assche Cc: Christoph Hellwig , "Martin K . Petersen" , linux-scsi@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, Jens Axboe , Daejun Park , Kanchan Joshi , Jeff Layton , Chuck Lever , Dave Chinner , Chaitanya Kulkarni Subject: Re: [PATCH v5 04/17] fs: Restore F_[GS]ET_FILE_RW_HINT support Message-ID: <20231211164555.GB25306@lst.de> References: <20231130013322.175290-1-bvanassche@acm.org> <20231130013322.175290-5-bvanassche@acm.org> <20231207174617.GD31184@lst.de> <3c08f127-45ff-458c-9ae7-75a1870781d8@acm.org> Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3c08f127-45ff-458c-9ae7-75a1870781d8@acm.org> User-Agent: Mutt/1.5.17 (2007-11-01) On Thu, Dec 07, 2023 at 09:37:44AM -1000, Bart Van Assche wrote: > I have submitted a pull request for fio such that my tests can be run > even if F_SET_FILE_RW_HINT is not supported (see also > https://github.com/axboe/fio/pull/1682). > > The only other application that I found that uses F_SET_FILE_RW_HINT is > Ceph. Do we want to make the Ceph code work again that uses > F_SET_FILE_RW_HINT? I think this code cannot be converted to > F_SET_RW_HINT. Well, let's pull a few folks in. I'd personally prefer not carrying this around in the file and supporting different write hints in the same inode, which also makes things a mess for file systems.