commit | 9a3938918545b831b215b2befc2454f7b1a2dd84 | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Thu Jan 02 13:05:37 2014 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jan 05 22:55:10 2014 -0500 |
tree | a43bdacfb590b034db3cafd2ee51b3b5ce7f1501 | |
parent | 603fc2cb4b0f04f7c4e9c75bfea1b91fe000e47a [diff] |
e4defrag: choose the best available posix_fadvise variant Use posix_fadvise64() when available. This allows 64bit offsets on 32bit systems. [ Modified by tytso to try to use fadvise64() as well, and to remove the attempt to call the syscall directly, since because and complexities caused by required dummy arguments on some architectures, it's not worth the hair. ] Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Theodore Ts'o <tytso@mit.edu>