All of lore.kernel.org
 help / color / mirror / Atom feed
* [Virtio-fs] [PATCH 0/2] virtiofs: remove dmap when truncating inode
@ 2019-05-10 10:29 Peng Tao
  2019-05-10 10:29 ` [Virtio-fs] [PATCH 1/2] fuse: remove unnecessary allocated_ranges Peng Tao
  0 siblings, 1 reply; 8+ messages in thread
From: Peng Tao @ 2019-05-10 10:29 UTC (permalink / raw)
  To: virtio-fs; +Cc: Peng Tao

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-05-11 15:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-10 10:29 [Virtio-fs] [PATCH 0/2] virtiofs: remove dmap when truncating inode Peng Tao
2019-05-10 10:29 ` [Virtio-fs] [PATCH 1/2] fuse: remove unnecessary allocated_ranges Peng Tao
2019-05-10 10:29   ` [Virtio-fs] [PATCH 2/2] fuse: remove dmap when truncating inode Peng Tao
2019-05-10 15:23     ` Vivek Goyal
2019-05-10 16:16       ` Tao Peng
2019-05-10 17:31         ` Vivek Goyal
2019-05-11 15:24           ` Tao Peng
2019-05-10 15:24   ` [Virtio-fs] [PATCH 1/2] fuse: remove unnecessary allocated_ranges Vivek Goyal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.