Re: Bigalloc ENOSPC woes
From: Ted Ts'o <tytso@mit.edu>
Date: 2012-01-30 22:31:15
From: Ted Ts'o <tytso@mit.edu>
Date: 2012-01-30 22:31:15
On Mon, Jan 30, 2012 at 03:19:05PM -0600, Eric Sandeen wrote:
I got nervous when I tried this on an -O bigalloc -C 65536 fs: # echo foo > blah; du -hc blah; sync; du -hc blah 4.0K blah 4.0K total 64K blah 64K total Seems that du should never report less than the cluster size, should it?
Yes, that seems like a bug.
And that made me wonder about ENOSPC handling - are we tracing delalloc allocations correctly? From running xfstest 204 on a similarly-created fs, it really seems that we are not.... Ted, are you aware of those issues in bigalloc?
No, this is news to me. I'll have to take a closer look at this; thanks for bring this up. - Ted