Thread (4 messages) 4 messages, 3 authors, 2012-06-01

Re: [PATCH] ext4: let getattr report the right blocks in delalloc+bigalloc.

From: Ted Ts'o <tytso@mit.edu>
Date: 2012-06-01 00:43:54

On Thu, May 31, 2012 at 12:08:50PM -0500, Eric Sandeen wrote:
On 1/31/12 9:58 AM, Tao Ma wrote:
quoted
From: Tao Ma <redacted>

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@mit.edu>
Reported-by: Eric Sandeen <redacted>
Signed-off-by: Tao Ma <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help