aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorJean-Yves VET <jyvet@users.noreply.github.com>2020-03-13 20:02:41 +0100
committerGitHub <noreply@github.com>2020-03-13 19:02:41 +0000
commit3b17db6f7417d5396230bfd56a64cae4e1e2a47c (patch)
treedac49bb632084bbdb329eb196aa545210fc0f290 /meson.build
parentb70c73082d35726f4b8697116a100cb1c9e6874a (diff)
downloadlibfuse-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