[Virtio-fs] [PATCH 0/2] virtiofs: remove dmap when truncating inode
Peng Tao
tao.peng at linux.alibaba.com
Fri May 10 10:29:55 UTC 2019
Hi,
The first patch is a simple cleanup. The second patch removes
dmaps when truncating a file since they are no longer valid
and we can return them to free pool directly. Otherwise they are
cleaned up by the reclaim code that might try to reclaim valid
dmaps first.
Peng Tao (2):
fuse: remove unnecessary allocated_ranges
fuse: remove dmap when truncating inode
fs/fuse/dir.c | 5 ++++
fs/fuse/file.c | 69 +++++++++++++++++++++++++++++++++++++++---------
fs/fuse/fuse_i.h | 2 ++
fs/fuse/inode.c | 7 +++--
4 files changed, 66 insertions(+), 17 deletions(-)
--
2.17.1
More information about the Virtio-fs
mailing list