URL:
https://github.com/SSSD/sssd/pull/5370
Title: #5370: nss: Use posix_fallocate() to alloc memcache file
alexey-tikhonov commented:
"""
> Another thing to consider is that posix_fallocate will fail for
some file systems, for example NFS.
My understanding is that `posix_fallocate` will fallback to an emulated mode if the
filesystem doesn't support `fallocate`.
Right, indeed.
Btw, `posix_fallocate` can return `EINTR` but perhaps handling this would be too nitpicky
:)
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5370#issuecomment-709476096