[btrfs-devel][patch]remove warning when file size is 1

Chris Mason chris.mason at oracle.com
Tue Sep 18 06:01:59 PDT 2007


On Tue, 18 Sep 2007 15:18:24 +0800
"Yan Zheng" <yanzheng at 21cn.com> wrote:

> Hello
> 
> When file size is 1,  both the 'start' and 'end' of a extent_state are
> set to 0 by set_extent_uptodate.

I saw this one too last night, but ended up fixing it a little
differently.  I changed btrfs_get_extent to insert things into the
extent maps at a block granularity.  This is more in line with how the
rest of the code works.  I'm running fsx-linux on it now (an important
test for these kinds of changes).

-chris



More information about the Btrfs-devel mailing list