diff options
author | Omar Rizwan <omar@omar.website> | 2021-04-06 13:48:48 -0700 |
---|---|---|
committer | Omar Rizwan <omar@omar.website> | 2021-04-06 13:48:48 -0700 |
commit | b948c235b83e43441faeed257cfdffa2008326d9 (patch) | |
tree | d98da8af43b0a5a41bf04fb968a705b91fa410aa /tabfs.md | |
parent | 8fbfa9a7c96b1de1e3e8416cb0bfc2b27c0b235d (diff) | |
download | TabFS-b948c235b83e43441faeed257cfdffa2008326d9.tar.gz TabFS-b948c235b83e43441faeed257cfdffa2008326d9.zip |
fs,extension: Make truncate work on cached file content.
We now remember the path of each cached file, so when someone
truncates that path, we can truncate all open instances of it in
cache. Important when someone pipes to stomp a file / opens with
O_TRUNC (which FUSE disaggregates into an open() and then a truncate()
call). Gets rid of the need for FUSE_CAP_ATOMIC_O_TRUNC, which never
worked on macOS anyway.
Fixes #40.
Diffstat (limited to 'tabfs.md')
0 files changed, 0 insertions, 0 deletions