diff options
author | 2013-12-26 19:51:11 +0400 | |
---|---|---|
committer | 2014-04-02 15:38:48 +0200 | |
commit | b0aa760652179072119582375f8dc896ed5b5dfd (patch) | |
tree | cbc990b308b9894eba032101db994b05e75ad444 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fuse: Trust kernel i_size only (diff) | |
download | linux-dev-b0aa760652179072119582375f8dc896ed5b5dfd.tar.xz linux-dev-b0aa760652179072119582375f8dc896ed5b5dfd.zip |
fuse: Trust kernel i_mtime only
Let the kernel maintain i_mtime locally:
- clear S_NOCMTIME
- implement i_op->update_time()
- flush mtime on fsync and last close
- update i_mtime explicitly on truncate and fallocate
Fuse inode flag FUSE_I_MTIME_DIRTY serves as indication that local i_mtime
should be flushed to the server eventually.
Signed-off-by: Maxim Patlasov <MPatlasov@parallels.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions