Re: btrfs fallocate woes

Paul Komkoff
2010-01-14T18:25:58Z

2010/1/14 i <i@stingr.net>:
> Nowhere there it is said that size is ceil()'d to a blocksize. Moreover, I never saw an app that does fallocate() and then ftruncate() - every single app out there assumes that posix_fallocate (and fallocate, fwiw), while may allocate more space, will set the file size to something different than offset+len.

Err, of course it's to just offset+len. I may need more sleep (this
won't purge away the fallocate problem though).