xfs
[Top] [All Lists]

Re: [PATCH 34/71] xfs: support bmapping delalloc extents in the CoW fork

To: "Darrick J. Wong" <darrick.wong@xxxxxxxxxx>
Subject: Re: [PATCH 34/71] xfs: support bmapping delalloc extents in the CoW fork
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Sun, 11 Sep 2016 05:59:31 -0700
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, david@xxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20160906163413.GC16696@xxxxxxxxxxxxxxxx>
References: <147216791538.867.12413509832420924168.stgit@xxxxxxxxxxxxxxxx> <147216814006.867.6404376654574855233.stgit@xxxxxxxxxxxxxxxx> <20160906152553.GA9760@xxxxxxxxxxxxx> <20160906163413.GC16696@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.6.1 (2016-04-27)
On Tue, Sep 06, 2016 at 09:34:13AM -0700, Darrick J. Wong wrote:
> While we're combining patches, I think it makes sense to modify
> _iomap_write_allocate so that when it's converting a data fork
> delalloc reservation into a real extent that it should look for an
> adjacent (file offset-wise) real extent in the CoW fork and feed that
> to the allocator in the hopes of allocating all the blocks in the same
> part of the disk.  Or better yet as one big(ger) extent record.

That would be nice.  Not sure it's worth doing that for the initial
submission, though.

<Prev in Thread] Current Thread [Next in Thread>