[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120601004348.GB7897@thunk.org>
Date: Thu, 31 May 2012 20:43:48 -0400
From: Ted Ts'o <tytso@....edu>
To: Eric Sandeen <sandeen@...hat.com>
Cc: Tao Ma <tm@....ma>, linux-ext4@...r.kernel.org
Subject: Re: [PATCH] ext4: let getattr report the right blocks in
delalloc+bigalloc.
On Thu, May 31, 2012 at 12:08:50PM -0500, Eric Sandeen wrote:
> On 1/31/12 9:58 AM, Tao Ma wrote:
> > From: Tao Ma <boyu.mt@...bao.com>
> >
> > In delayed allocation, i_reserved_data_blocks now indicates
> > clusters, not blocks. So report it in the right number.
> >
> > This can be easily exposed by the following command:
> > echo foo > blah; du -hc blah; sync; du -hc blah
> >
> > Cc: "Theodore Ts'o" <tytso@....edu>
> > Reported-by: Eric Sandeen <sandeen@...hat.com>
> > Signed-off-by: Tao Ma <boyu.mt@...bao.com>
>
> Reviewed-by: Eric Sandeen <sandeen2redhat.com>
>
> It'd be great to get this one merged.
I'll merge this, but delalloc and bigalloc is still pretty badly
busted. But this will make stat return something that is closer to
being correct...
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists