virtiofsd: Add passthrough_ll
commit7c6b66027241f41720240fc6ee1021cdbd975b2e
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 28 Nov 2019 12:22:49 +0000 (28 12:22 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 23 Jan 2020 16:41:36 +0000 (23 16:41 +0000)
tree7e57bb14dc63960daab57de89e9f8547be5d301b
parent2de121f01e37e2fe98a4362f4abf7c0848697f76
virtiofsd: Add passthrough_ll

passthrough_ll is one of the examples in the upstream fuse project
and is the main part of our daemon here.  It passes through requests
from fuse to the underlying filesystem, using syscalls as directly
as possible.

From libfuse fuse-3.8.0

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  Fixed up 'GPL' to 'GPLv2' as per Dan's comments and consistent
  with the 'LICENSE' file in libfuse;  patch sent to libfuse to fix
  it upstream.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/passthrough_ll.c [new file with mode: 0644]