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
