[Numpy-svn] [numpy/numpy] 1350b4: ENH: use linux fallocate to reserve diskspace in a...

GitHub noreply at github.com
Thu Dec 17 15:49:53 EST 2015


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 1350b46714ac8f6f04646ae637b84ef23c2ac917
      https://github.com/numpy/numpy/commit/1350b46714ac8f6f04646ae637b84ef23c2ac917
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2015-12-17 (Thu, 17 Dec 2015)

  Changed paths:
    M numpy/core/setup_common.py
    M numpy/core/src/multiarray/convert.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  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.


  Commit: 68355274ed556a7d6867ffb00d86fbcc2cfc1f15
      https://github.com/numpy/numpy/commit/68355274ed556a7d6867ffb00d86fbcc2cfc1f15
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2015-12-17 (Thu, 17 Dec 2015)

  Changed paths:
    M doc/release/1.11.0-notes.rst

  Log Message:
  -----------
  DOC: add fallocate use to release notes


  Commit: 0757b34754aa7543576737d07ecdd9a14b7a23ca
      https://github.com/numpy/numpy/commit/0757b34754aa7543576737d07ecdd9a14b7a23ca
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-12-17 (Thu, 17 Dec 2015)

  Changed paths:
    M numpy/core/src/multiarray/convert.c

  Log Message:
  -----------
  STY: Minor C style fixups for convert.c.


  Commit: eaad7e8f3d9ebd0c85106e12b88f36f286941e1a
      https://github.com/numpy/numpy/commit/eaad7e8f3d9ebd0c85106e12b88f36f286941e1a
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-12-17 (Thu, 17 Dec 2015)

  Changed paths:
    M doc/release/1.11.0-notes.rst
    M numpy/core/setup_common.py
    M numpy/core/src/multiarray/convert.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  Merge pull request #6851 from charris/rebase-gh-6692

Rebase gh 6692, ENH: use linux fallocate to reserve diskspace in array.tofile


Compare: https://github.com/numpy/numpy/compare/6e4e60140025...eaad7e8f3d9e


More information about the Numpy-svn mailing list