2 ms·
stat() is a dumpster. It causes serious performance problems for things like Lustre. It should get replaced with a system call that takes a set of metadata it
by cryptonector 2y ago
stat() is a dumpster. It causes serious performance problems for things like Lustre. It should get replaced with a system call that takes a set of metadata items you want and returns just those items. Of course, that's easy to say, but it will take forever and a day to make sure all things are using it that should.
- nolist_policy 2y agoLinux has statx() since 8 years. > The mask argument to statx() is used to tell the kernel which fields the caller is interested in. https://manpages.debian.org/bookworm/manpages-dev/statx.2.en.html https://manpages.debian.org/bookworm/manpages-dev/statx.2.en...
- cryptonector 2y agoAh, interesting, TIL. Thanks!