[osv-dev] [COMMIT osv master] virtio-fs: add driver support for the DAX window

2020-04-28 Thread Commit Bot
From: Fotis Xenakis Committer: Waldemar Kozaczuk Branch: master virtio-fs: add driver support for the DAX window Signed-off-by: Fotis Xenakis Message-Id: --- diff --git a/drivers/virtio-fs.cc b/drivers/virtio-fs.cc --- a/drivers/virtio-fs.cc +++ b/drivers/virtio-fs.cc @@ -180,6 +180,18 @@ v

[osv-dev] [COMMIT osv master] virtio-fs: minor code improvements in filesystem

2020-04-28 Thread Commit Bot
From: Fotis Xenakis Committer: Waldemar Kozaczuk Branch: master virtio-fs: minor code improvements in filesystem These include: - Checking memory allocations - Using smart pointers where possible - Using static_cast instead of reinterpret_cast or C-style cast where possible - Formatting and c

[osv-dev] [COMMIT osv master] virtio-fs: update fuse protocol header

2020-04-28 Thread Commit Bot
From: Fotis Xenakis Committer: Waldemar Kozaczuk Branch: master virtio-fs: update fuse protocol header Copy from virtiofsd @ 32006c66f2578af4121d7effaccae4aa4fa12e46. This includes the definitions for FUSE_SETUPMAPPING AND FUSE_REMOVEMAPPING. Signed-off-by: Fotis Xenakis Message-Id: --- di

[osv-dev] [COMMIT osv master] virtio-fs: minor code improvements in driver

2020-04-28 Thread Commit Bot
From: Fotis Xenakis Committer: Waldemar Kozaczuk Branch: master virtio-fs: minor code improvements in driver These include: - Checking memory allocations - Using static_cast instead of reinterpret_cast where possible - Formatting and consistency Signed-off-by: Fotis Xenakis Message-Id: ---

[osv-dev] [PATCH V3 1/2] pagecache: refactor to allow integration with non-ZFS filesystems

2020-04-28 Thread Waldemar Kozaczuk
So far the pagecache layer has been pretty tightly integrated with ZFS and more specifically with its ARC cache layer. This patch refactors the pagecache implementation to make it support other filesystems than zfs. In essence we modify all necessary places like retrieving and releasing cached fil

[osv-dev] [PATCH V3 2/2] rofs: optimize memory utilization by integrating with page cache

2020-04-28 Thread Waldemar Kozaczuk
This patch optimizes memory utilization by integrating with page cache. In essence it eliminates second copy of file data in memory when mapping files using mmap(). For example simple java example need 9MB less to run. The crux of the changes involves adding new vnops function of type VOP_CACHE -

[osv-dev] [COMMIT osv master] rofs: report fsid (filesystem ID) properly

2020-04-28 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master rofs: report fsid (filesystem ID) properly This patch slightly enhances ROFS to report non-zero unique fsid which is important to later integrate it with pagecache laye that relies on unique combination of inode and st_dev that