Hi Guillem, Guillem Jover wrote:
> Hmm, ok so what about posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED) > instead, skimming over the kernel source seems to indicate it might > end up doing more or less the same thing but in a portable way? > > Could someone with ext4/btrfs/xfs/etc test w/ and w/o the attached patch > against dpkg? ext4: yes, this brings the running time down from 34sec to 10.5sec, just like sync_file_range with SYNC_FILE_RANGE_WRITE does. Regards, Jonathan -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20101129070141.ga6...@burratino