[btrfs-devel][patch]fix for btrfs_truncate_in_trans

Chris Mason chris.mason at oracle.com
Tue Sep 18 07:24:56 PDT 2007


On Tue, 18 Sep 2007 16:22:33 +0200
Christoph Hellwig <hch at lst.de> wrote:

> On Tue, Sep 18, 2007 at 10:13:13AM -0400, Chris Mason wrote:
> > try_release_extent_mapping should also be changed not to drop things
> > from the extent mapping tree if they are EXTENT_MAP_DELALLOC.
> 
> What XFS does here and what I plan to port over to the extent_map
> code is that ->releasepage will start the delalloc conversion so that
> the page is a simple dirty page and we can drop it, but not actually
> start I/O.
> 

Shouldn't this have already been kicked off by writepage?

-chris



More information about the Btrfs-devel mailing list