summaryrefslogtreecommitdiff
path: root/numpy/doc/misc.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2015-11-16 23:09:57 +0100
committerCharles Harris <charlesr.harris@gmail.com>2015-12-17 13:18:41 -0700
commit1350b46714ac8f6f04646ae637b84ef23c2ac917 (patch)
treee5d5bfd6ac6b6d84978b8a6f67fb1b5788d44382 /numpy/doc/misc.py
parent316c19836aa86e3fe26a041877aabbce432ec554 (diff)
downloadnumpy-1350b46714ac8f6f04646ae637b84ef23c2ac917.tar.gz
ENH: use linux fallocate to reserve diskspace in array.tofile
fallocate allows the filesystem to make smarter decisions about space allocation and gives a fast failure path for insufficient space. This is very important for filesystems that suffer a lot from fragmentation like btrfs. Restricted to linux only as that is the only system I know the behavior of. Other systems might also have this system call but we don't want to accidentally trigger explicit zeroing behavior as e.g. posix_fallocate would when there is no support for a real fallocate.
Diffstat (limited to 'numpy/doc/misc.py')
0 files changed, 0 insertions, 0 deletions