diff options
author | 2015-05-13 14:35:14 -0700 | |
---|---|---|
committer | 2015-06-01 16:20:54 -0700 | |
commit | 06e1bc05cad8d06860b52c79d4669483c7e39a4f (patch) | |
tree | 0f2477b99923f231c45205d5d444baa122a1b8fb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | f2fs: cleanup a confusing indent (diff) | |
download | wireguard-linux-06e1bc05cad8d06860b52c79d4669483c7e39a4f.tar.xz wireguard-linux-06e1bc05cad8d06860b52c79d4669483c7e39a4f.zip |
f2fs: truncate data blocks for orphan inode
As Hu reported, F2FS has a space leak problem, when conducting:
1) format a 4GB f2fs partition
2) dd a 3G file,
3) unlink it.
So, when doing f2fs_drop_inode(), we need to truncate data blocks
before skipping it.
We can also drop unused caches assigned to each inode.
Reported-by: hujianyang <hujianyang@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions