diff options
author | Jean-Yves VET <jyvet@users.noreply.github.com> | 2020-03-13 20:02:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-13 19:02:41 +0000 |
commit | 3b17db6f7417d5396230bfd56a64cae4e1e2a47c (patch) | |
tree | dac49bb632084bbdb329eb196aa545210fc0f290 /meson.build | |
parent | b70c73082d35726f4b8697116a100cb1c9e6874a (diff) | |
download | libfuse-3b17db6f7417d5396230bfd56a64cae4e1e2a47c.tar.gz |
Fix issue preventing using splice with reads (#505)
Context: SPLICE_WRITE is not used with regular buffers
(i.e. when they are not file-descriptor backed buffers).
There is a bug which assumes file descriptors are used.
If the amount of data associated with those FD is lower
than twice the page size, SPLICE_WRITE is not utilized.
With regular buffers the aggregated size was always 0.
Because vmsplice (splice user pages to/from a pipe) is
called before splice in fuse_lowlevel.c, regular buffers
would also work with splice.
This patch prevents to fallback to non-splice enabled
copies when itheir is no FD involved.
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions