[lkml]   [2020]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Problems with determining data presence by examining extents?
Andreas Dilger <> wrote:

> I think what is needed here is an fadvise/ioctl that tells the filesystem
> "don't allocate blocks unless actually written" for that file.

Yeah - and it would probably need to find its way onto disk so that its effect
is persistent and visible to out-of-kernel tools.

It would also have to say that blocks of zeros shouldn't be optimised away.


 \ /
  Last update: 2020-01-15 21:56    [W:0.141 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site