[osv-dev] [PATCH 5/6] virtio-fs: add basic read using the DAX window

2020-04-20 Thread Fotis Xenakis
When the DAX window is available from the device, the filesystem prefers to use it instead of the regular FUSE_READ request. If that fails, FUSE_READ is used as a fallback. To use the DAX window, a part of the file is mapped to it with FUSE_SETUPMAPPING, the contents are copied from it to the

[osv-dev] [PATCH 1/6] virtio-fs: minor code improvements in driver

2020-04-20 Thread Fotis Xenakis
These include: - Checking memory allocations - Using static_cast instead of reinterpret_cast where possible - Formatting and consistency Signed-off-by: Fotis Xenakis --- drivers/virtio-fs.cc | 82 drivers/virtio-fs.hh | 13 +++ 2 files changed,

[osv-dev] [PATCH 0/6] virtio-fs: initial support for DAX window

2020-04-20 Thread Fotis Xenakis
This adds initial support for utilizing the DAX window of a virtio-fs device, building on top of the low-level support for shared memory regions in PCI virtio devices. The focus for this patch series is on getting the implementation right and not on optimizing performance (which is the motive

[osv-dev] [PATCH 1/6] virtio-fs: minor code improvements in driver

2020-04-20 Thread Fotis Xenakis
These include: - Checking memory allocations - Using static_cast instead of reinterpret_cast where possible - Formatting and consistency Signed-off-by: Fotis Xenakis --- drivers/virtio-fs.cc | 82 drivers/virtio-fs.hh | 13 +++ 2 files changed,

[osv-dev] [PATCH 2/6] virtio-fs: minor code improvements in filesystem

2020-04-20 Thread Fotis Xenakis
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 consistency Signed-off-by: Fotis Xenakis --- fs/virtiofs/virtiofs.hh| 2 +- fs/virtiofs/virtiofs_i.hh

[osv-dev] [PATCH 3/6] virtio-fs: update fuse protocol header

2020-04-20 Thread Fotis Xenakis
Copy from virtiofsd @ 32006c66f2578af4121d7effaccae4aa4fa12e46. This includes the definitions for FUSE_SETUPMAPPING AND FUSE_REMOVEMAPPING. Signed-off-by: Fotis Xenakis --- fs/virtiofs/fuse_kernel.h | 82 ++- 1 file changed, 38 insertions(+), 44 deletions(-)

[osv-dev] [PATCH 4/6] virtio-fs: add driver support for the DAX window

2020-04-20 Thread Fotis Xenakis
Signed-off-by: Fotis Xenakis --- drivers/virtio-fs.cc | 12 drivers/virtio-fs.hh | 10 ++ 2 files changed, 22 insertions(+) diff --git a/drivers/virtio-fs.cc b/drivers/virtio-fs.cc index d95f7740..b7363040 100644 --- a/drivers/virtio-fs.cc +++ b/drivers/virtio-fs.cc @@

[osv-dev] [PATCH 6/6] virtio-fs: refactor driver / fs

2020-04-20 Thread Fotis Xenakis
Since in virtio-fs the filesystem is very tightly coupled with the driver, this tries to make clear the dependence of the first on the second, as well as simplify. This includes: - The definition of fuse_request is moved from the fs to the driver, since it is part of the interface it provides.

[osv-dev] [COMMIT osv master] apps: update to the latest apps

2020-04-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master apps: update to the latest apps Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit 24577fb069269eb3c3fa269e2b2459a24cfe5d14 +Subproject commit

[osv-dev] [COMMIT osv master] tests: allow building ZFS and ROFS versions of test mps

2020-04-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master tests: allow building ZFS and ROFS versions of test mps This patch modifies tests makefile to generate manifest files for both common and file system (ZFS, ROFS) specific sets of tests. This allows creating capstan mpm

[osv-dev] [COMMIT osv master] certs: make certificates work with apps running on firecracker

2020-04-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master certs: make certificates work with apps running on firecracker This patch adds 172.16.0.2 to the list of valid addresses to make the apps running on firecracker and communicating over https function properly. This patch also

[osv-dev] [COMMIT osv master] httpserver-api: add --kernel_path parameter to allow running tests with specific kernel

2020-04-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master httpserver-api: add --kernel_path parameter to allow running tests with specific kernel Signed-off-by: Waldemar Kozaczuk --- diff --git a/modules/httpserver-api/tests/basetest.py b/modules/httpserver-api/tests/basetest.py

[osv-dev] [COMMIT osv master] capstan: add kernel.elf and httpserver monitoring module to the list of generated artifacts

2020-04-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master capstan: add kernel.elf and httpserver monitoring module to the list of generated artifacts This patch also enhances the build-capstan-mpm-packages script to build common, rofs and zfs test mpm packages. Signed-off-by:

[osv-dev] [COMMIT osv master] travis: fix build to take into account renamed unit tests artifacts

2020-04-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master travis: fix build to take into account renamed unit tests artifacts Signed-off-by: Waldemar Kozaczuk --- diff --git a/.travis.yml b/.travis.yml --- a/.travis.yml +++ b/.travis.yml @@ -30,9 +30,12 @@ jobs: - docker

[osv-dev] Re: [PATCH 0/6] virtio-fs: initial support for DAX window

2020-04-20 Thread Waldek Kozaczuk
Fotis, Great work! Unfortunately, I will not have time to review these patches until next week. Unless somebody else has time and wants to jump in. Waldek On Monday, April 20, 2020 at 4:48:07 PM UTC-4, Fotis Xenakis wrote: > > This adds initial support for utilizing the DAX window of a