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

2020-04-30 Thread Fotis Xenakis
Τη Τετάρτη, 29 Απριλίου 2020 - 9:21:13 μ.μ. UTC+3, ο χρήστης Waldek Kozaczuk έγραψε: > > I think your patch looks good and I like your simplifications. > > Couple of things to make sure we have covered all bases. > > 1) Are we sure none of these changes break any thread-safety? > I had checked

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

2020-04-30 Thread Fotis Xenakis
Τη Παρασκευή, 1 Μαΐου 2020 - 1:31:00 π.μ. UTC+3, ο χρήστης Waldek Kozaczuk έγραψε: > > > > On Thu, Apr 30, 2020 at 6:19 PM Fotis Xenakis > wrote: > >> Indeed, QEMU 5.0 does not support DAX and the virtiofsd in QEMU 5.0 won't >> accept any version other than 7.31 as I see here >>

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

2020-04-30 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Revert "virtio-fs: update fuse protocol header" This reverts commit bfe114878a194a9230686a8c1c38122f55d9524c. --- diff --git a/fs/virtiofs/fuse_kernel.h b/fs/virtiofs/fuse_kernel.h --- a/fs/virtiofs/fuse_kernel.h +++

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

2020-04-30 Thread Waldek Kozaczuk
On Thu, Apr 30, 2020 at 6:40 PM Fotis Xenakis wrote: > Stock QEMU still does not have DAX support so I used one from >> https://gitlab.com/virtio-fs/qemu/-/commits/virtio-dev (shall I be using >> this?) to test the DAX logic. >> > The branch you mention is under active development and will *not*

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

2020-04-30 Thread Fotis Xenakis
> > Stock QEMU still does not have DAX support so I used one from > https://gitlab.com/virtio-fs/qemu/-/commits/virtio-dev (shall I be using > this?) to test the DAX logic. > The branch you mention is under active development and will *not* work with my current patches. Those are based upon

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

2020-04-30 Thread Waldek Kozaczuk
On Thu, Apr 30, 2020 at 6:19 PM Fotis Xenakis wrote: > Indeed, QEMU 5.0 does not support DAX and the virtiofsd in QEMU 5.0 won't > accept any version other than 7.31 as I see here >

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

2020-04-30 Thread Fotis Xenakis
Indeed, QEMU 5.0 does not support DAX and the virtiofsd in QEMU 5.0 won't accept any version other than 7.31 as I see here , thus the mount fails. Both on the QEMU and the Linux

[osv-dev] [COMMIT osv master] docker: refine build docker files

2020-04-30 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master docker: refine build docker files Based on the original patch sent by Fotis Xenakis: "Changes since v1: - Don't create redundant /osv directory in builder dockerfiles. - Remove dependency on wget in runner dockerfiles."

[osv-dev] [COMMIT osv master] travis: fix the build

2020-04-30 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master travis: fix the build Signed-off-by: Waldemar Kozaczuk --- diff --git a/.travis.yml b/.travis.yml --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ jobs: - cp /tmp/osv-version "$ARTIFACTS_DIR" - docker

Re: [osv-dev] [COMMIT osv master] docker: update default distros

2020-04-30 Thread Waldek Kozaczuk
Applied wrong patch-:) For whatever reason rolling back and applying V2 does not work. Will have to manually "cherry-pick". On Thu, Apr 30, 2020 at 2:34 PM Commit Bot wrote: > From: Fotis Xenakis > Committer: Waldemar Kozaczuk > Branch: master > > docker: update default distros > >

[osv-dev] [COMMIT osv master] docker: update default distros

2020-04-30 Thread Commit Bot
From: Fotis Xenakis Committer: Waldemar Kozaczuk Branch: master docker: update default distros Signed-off-by: Fotis Xenakis Message-Id: --- diff --git a/docker/Dockerfile.builder b/docker/Dockerfile.builder --- a/docker/Dockerfile.builder +++ b/docker/Dockerfile.builder @@ -8,7 +8,7 @@ #

[osv-dev] [COMMIT osv master] travis: simplify CIRP publishing and add new artifacts

2020-04-30 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master travis: simplify CIRP publishing and add new artifacts This patch simplifies travis CIRP publishing by collapsing 2 stages into one. It also adds kernel.elf and httpserver monitoring MPM to the list of published artifacts.

[osv-dev] [COMMIT osv master] rofs: optimize memory utilization by integrating with page cache

2020-04-30 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master rofs: optimize memory utilization by integrating with page cache 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

[osv-dev] [COMMIT osv master] pagecache: refactor to allow integration with non-ZFS filesystems

2020-04-30 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master pagecache: refactor to allow integration with non-ZFS filesystems 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

[osv-dev] [COMMIT osv master] sysfs: add new pseudo-files free_page_ranges and pools to help monitor memory utilization

2020-04-30 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master sysfs: add new pseudo-files free_page_ranges and pools to help monitor memory utilization This patch enhances sysfs by adding two new pseudo-files aimed to help monitor memory utilization over HTTP api. One of the new files

[osv-dev] Running apps from Linux host in disk-less mode with virtio-fs

2020-04-30 Thread Waldek Kozaczuk
Traditionally, in order to run an app on OSv one would have to build a ZFS or ROFS image with a kernel in it and have it exposed as virtio-blk or similar block device. With virtio-fs, new host filesystem sharing virtualization mechanism (