[osv-dev] [PATCH 4/4] virtio-fs: implement readdir

2020-07-19 Thread Fotis Xenakis
Signed-off-by: Fotis Xenakis --- fs/virtiofs/virtiofs_vnops.cc | 76 ++- 1 file changed, 74 insertions(+), 2 deletions(-) diff --git a/fs/virtiofs/virtiofs_vnops.cc b/fs/virtiofs/virtiofs_vnops.cc index 4bea964e..66eb6fb3 100644 --- a/fs/virtiofs/virtiofs_vnops.cc

[osv-dev] [PATCH 3/4] virtio-fs: use FUSE_OPENDIR and FUSE_RELEASEDIR

2020-07-19 Thread Fotis Xenakis
When the file being open()ed or close()d is a directory, use FUSE_OPENDIR and FUSE_RELEASEDIR instead of FUSE_OPEN and FUSE_RELEASE respectively. Signed-off-by: Fotis Xenakis --- fs/virtiofs/virtiofs_vnops.cc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/virtiofs/v

[osv-dev] [PATCH 2/4] virtio-fs: expose FUSE reply length

2020-07-19 Thread Fotis Xenakis
Signed-off-by: Fotis Xenakis --- fs/virtiofs/virtiofs_dax.cc| 4 ++-- fs/virtiofs/virtiofs_i.hh | 8 +--- fs/virtiofs/virtiofs_vfsops.cc | 16 ++-- fs/virtiofs/virtiofs_vnops.cc | 11 ++- 4 files changed, 23 insertions(+), 16 deletions(-) diff --git a/fs/virti

[osv-dev] [PATCH 1/4] virtio-fs: fix allocation failure condition

2020-07-19 Thread Fotis Xenakis
Signed-off-by: Fotis Xenakis --- fs/virtiofs/virtiofs_vnops.cc | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/virtiofs/virtiofs_vnops.cc b/fs/virtiofs/virtiofs_vnops.cc index 51be3ee4..10571a8d 100644 --- a/fs/virtiofs/virtiofs_vnops.cc +++ b/fs/virtiofs/virtiof

[osv-dev] [PATCH 0/4] virtio-fs: add readdir support

2020-07-19 Thread Fotis Xenakis
This set of patches adds readdir() support for virtio-fs: the first patch contains minor fixes, while the second and third lay the ground work for the fourth which actually implements the readdir functionality. While working on this, I noticed that the readdir implementations for other OSv filesys

[osv-dev] [COMMIT osv master] aarch64: fix memmove bug

2020-07-19 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master aarch64: fix memmove bug This patch replaces arch/aarch/string.S with the newest copies of memcpy.S, memset.S and memmove.S from the newlib library to fix the memmove bug. It seems that the original string.S was a merge of memset.S

[osv-dev] [COMMIT osv master] licenses: add newlib license

2020-07-19 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master licenses: add newlib license Signed-off-by: Waldemar Kozaczuk Message-Id: <20200719152759.37423-1-jwkozac...@gmail.com> --- diff --git a/licenses/newlib.txt b/licenses/newlib.txt --- a/licenses/newlib.txt +++ b/licenses/newlib.txt

[osv-dev] [PATCH] licenses: add newlib license

2020-07-19 Thread Waldemar Kozaczuk
Signed-off-by: Waldemar Kozaczuk --- licenses/newlib.txt | 55 + 1 file changed, 55 insertions(+) create mode 100644 licenses/newlib.txt diff --git a/licenses/newlib.txt b/licenses/newlib.txt new file mode 100644 index ..5d78cc16 --- /dev/null

[osv-dev] [PATCH] aarch64: fix memmove bug

2020-07-19 Thread Waldemar Kozaczuk
This patch replaces arch/aarch/string.S with the newest copies of memcpy.S, memset.S and memmove.S from the newlib library to fix the memmove bug. It seems that the original string.S was a merge of memset.S, memcpy.S and memmove.S from newlib as of circa beginning of 2015. Based of comparison wit