document portal: Disable spice_read as it seems broken

We're getting "fuse: copy from pipe: short read" from
libfuse and a broken filesystem with this. See
https://github.com/flatpak/flatpak/issues/570

I've tried to look into if this is fixable, but I can't
really find any way we could do things differently that
may help, so the fix is to disable spice_read.
tingping/wmclass
Alexander Larsson 2017-02-23 16:53:58 +01:00
parent d0b5b51076
commit 4fdac9e5d4
1 changed files with 1 additions and 1 deletions

View File

@ -2307,7 +2307,7 @@ xdp_fuse_mainloop (gpointer data)
gboolean
xdp_fuse_init (GError **error)
{
char *argv[] = { "xdp-fuse", "-osplice_write,splice_move,splice_read" };
char *argv[] = { "xdp-fuse", "-osplice_write,splice_move", "-d" };
struct fuse_args args = FUSE_ARGS_INIT (G_N_ELEMENTS (argv), argv);
struct stat st;
const char *path;