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
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,
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
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,
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
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(-)
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
@@
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.
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
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
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
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
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:
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
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
15 matches
Mail list logo