Write-stream IDs
Write-stream IDs
Posted Apr 10, 2015 10:16 UTC (Fri) by amonnet (guest, #54852)Parent article: Write-stream IDs
or
Assume that programmers have already made their homework, putting different kind of files in different directory (think log, cache, data, run files ...). If they have not, they will not do it now for you with this obscure feature.
Dirname is your stream id !
+++
Posted Apr 10, 2015 15:23 UTC (Fri)
by flussence (guest, #85566)
[Link]
I don't like the idea of automatic heuristics based on assumed filesystem usage, but I *would* use a way to declare usage patterns per directory; for example, marking /var/tmp or /home/*/.cache/ as expendable, and then having those behave like a disk-backed tmpfs where only memory pressure or unmounting can trigger writeback.
Write-stream IDs
