From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 20 Jun 2017 05:43:55 -0700 From: Christoph Hellwig To: Jens Axboe Cc: Christoph Hellwig , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, adilger@dilger.ca, martin.petersen@oracle.com Subject: Re: [PATCH 04/11] fs: add support for allowing applications to pass in write life time hints Message-ID: <20170620124355.GA6199@infradead.org> References: <1497729594-4707-5-git-send-email-axboe@kernel.dk> <20170619062706.GC2311@infradead.org> <8db675e7-b868-bae1-784a-33cba67d0874@kernel.dk> <20170619185805.GC32047@infradead.org> <5259a1ba-1c5f-2d89-3b47-3a81cd0a3e4e@kernel.dk> <0c3c6a33-77c5-337e-66e0-49fe22d3cc4e@kernel.dk> <3e6f7b97-8372-b268-f55a-cc88812c1a68@kernel.dk> <20170620085739.GB31386@infradead.org> <6f1be22c-b172-3645-f0ab-8124188756df@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <6f1be22c-b172-3645-f0ab-8124188756df@kernel.dk> List-ID: On Tue, Jun 20, 2017 at 06:43:10AM -0600, Jens Axboe wrote: > > Question: IFF we can get the per-file hints to propagate to the > > writeback code (which I think is pretty easy for ext4/xfs/bdev, not > > sure about btrfs) do we even need the per-inode ones at all? > > How is that possible, the file could be long gone by the time > the writeback kicks in? each time a page/buffer is dirtied we can propagate the hint.