diff options
author | Jakob Unterwurzacher | 2016-07-01 23:29:31 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-07-01 23:32:27 +0200 |
commit | f2b4d57068d13b6dc3de2ccc6550675d11d34cfa (patch) | |
tree | b90d31b0375e41318f2ce879df14f36bff4e3b5e /tests/example_filesystems/v0.6 | |
parent | ae77d1852793c4dd43c8ddd69de574223aecce5e (diff) |
fusefrontend: coalesce grows in Truncate()
We were growing the file block-by-block which was pretty
inefficient. We now coalesce all the grows into a single
Ftruncate. Also simplifies the code!
Simplistic benchmark: Before:
$ time truncate -s 1000M foo
real 0m0.568s
After:
$ time truncate -s 1000M foo
real 0m0.205s
Diffstat (limited to 'tests/example_filesystems/v0.6')
0 files changed, 0 insertions, 0 deletions