Bug#899027: Calling sendfile(2) on sparse files on tmpfs allocates space for them

2018-05-20 Thread Ben Hutchings
Control: tag -1 upstream Please report this upstream. I would suggest sending to Alexander Viro and . Ben. -- Ben Hutchings Horngren's Observation: Among economists, the real world is often a special case. signature.asc Description: This is a digitally signed message part

Processed: Re: Bug#899027: Calling sendfile(2) on sparse files on tmpfs allocates space for them

2018-05-20 Thread Debian Bug Tracking System
Processing control commands: > tag -1 upstream Bug #899027 [src:linux] Calling sendfile(2) on sparse files on tmpfs allocates space for them Added tag(s) upstream. -- 899027: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899027 Debian Bug Tracking System Contact ow...@bugs.debian.org with p

Bug#899027: Calling sendfile(2) on sparse files on tmpfs allocates space for them

2018-05-18 Thread Enrico Zini
Package: src:linux Version: 4.16.5-1 Severity: normal Hello, the code below, if run on a normal file system prints: After creation: 0/1048576 After read: 0/1048576 but if run on a tmpfs it prints: After creation: 0/1048576 After read: 1048576/1048576 This unexpected allocation happens only wh