3 ms·
This document is from 2019 and contains a number of questions posed to the kernel hackers/filesystem developers, for example: >Pages are sorted so that they ar
by trevyn 6y ago
This document is from 2019 and contains a number of questions posed to the kernel hackers/filesystem developers, for example:
>Pages are sorted so that they are written in increasing order. → Is this helpful on Linux? Or can we just as well skip the sort and write the pages in any arbitrary order?
Does anyone know if there are responses to these questions available anywhere?
Edit: The recorded talk is available here: https://www.youtube.com/watch?v=-oP2BOsMpdo&t=5541 https://www.youtube.com/watch?v=-oP2BOsMpdo&t=5541 but it's a lightning talk and the discussion was very brief.
- deleted 6y ago[deleted]
- pastage 6y agoThey must have gotten answers because to many of the questions the only good answer is it depends, e.g. "can I tell the os that a section of the file is unused" sure fcntl(F_FREESP) and you have a sparse file, but it is not obvious it works nor help with performance.
- Jasper_ 6y agofcntl(F_FREESP) only works on old UNIXen. The Linux API equivalent is fallocate(FALLOC_FL_PUNCH_HOLE)