aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl/crypto/rsa/rsa_pk1.c
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2017-11-02 13:49:08 +0000
committerAndriy Gapon <avg@FreeBSD.org>2017-11-02 13:49:08 +0000
commit96ed2690dfb300033e48384704da6ec45737abee (patch)
tree68e867f5299e5e1100d5f8e3cd107406c75d860e /crypto/openssl/crypto/rsa/rsa_pk1.c
parent21330e293552cd9199164a4a8e39a9e97207015d (diff)
downloadsrc-96ed2690dfb300033e48384704da6ec45737abee.tar.gz
src-96ed2690dfb300033e48384704da6ec45737abee.zip
Disable posix_fallocate(2) for ZFS
The generic (naive) implementation of posix_fallocate cannot provide the standard mandated guarantee that overwrites would never fail due to the lack of free space. The fundamental reason is the copy-on-write architecture of ZFS. Other features like compression and deduplication can also increase the size difference between the (pre-)allocated dummy content and the future content. So, until ZFS can properly implement the feature it's better to report that it is unsupported rather than providing an ersatz implementation. Please note that EINVAL is used to report that the underlying file system does not support the operation (POSIX.1-2008). illumos and ZoL seem to do the same. MFC after: 3 weeks Sponsored by: Panzura
Notes
Notes: svn path=/head/; revision=325320
Diffstat (limited to 'crypto/openssl/crypto/rsa/rsa_pk1.c')
0 files changed, 0 insertions, 0 deletions