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 8481498; Mon, 11 Dec 2023 08:46:22 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id EB27F68B05; Mon, 11 Dec 2023 17:46:19 +0100 (CET) Date: Mon, 11 Dec 2023 17:46:19 +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 , Alexander Viro , Christian Brauner Subject: Re: [PATCH v5 05/17] fs: Restore kiocb.ki_hint Message-ID: <20231211164619.GC25306@lst.de> References: <20231130013322.175290-1-bvanassche@acm.org> <20231130013322.175290-6-bvanassche@acm.org> <20231207174633.GE31184@lst.de> <1e71a6bf-ac2f-41bc-8931-8b4fb7371118@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: <1e71a6bf-ac2f-41bc-8931-8b4fb7371118@acm.org> User-Agent: Mutt/1.5.17 (2007-11-01) On Thu, Dec 07, 2023 at 01:40:29PM -1000, Bart Van Assche wrote: >> Same comment as for the previous one. > > If kiocb.ki_hint is not restored, the kiocb users will have to use the > kiocb ki_filp member to obtain the write hint information. In other > words, iocb->ki_hint will have to be changed into > file_inode(iocb->ki_filp)->i_write_hint. Is that what you want me to do? Yes.