History log of /external/fio/helpers.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4b20c6814d4742e27a68f8a740a955283869fbcd 22-May-2013 Jens Axboe <axboe@kernel.dk> helpers: fixup bad fadvise check

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/helpers.c
67bf982340d95ca98098ea050b54b4c7adb116c0 10-Jan-2013 Jens Axboe <axboe@kernel.dk> Add configure script

Get rid of all the fragile guessing and checking of features,
and roll a configure script instead.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/helpers.c
09164e5a3b3820a9ab7aaf2abc3be2579ae06a1c 29-Nov-2012 Jens Axboe <axboe@kernel.dk> Wire up _weak posix_fadvise()

The commit adding Android support included a botched
variant of posix_fadvise().

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/helpers.c
bcb01f840c244851f760e5ea3bb0fe9aa1c03188 01-Aug-2012 Wade Cline <wcline@us.ibm.com> Fix fallocate erroneously returning ENOSYS on Linux systems

Currently, the helpers.c file provides a function defintion for Linux
fallocate that sets errno to ENOSYS and returns failure; this is useful
for a non-Linux OS. However, this definition will override the Linux
implementation of fallocate when 'fallocate=keep' is set. Adding a
preprocessor macro to check if Linux fallocate is defined fixes this
issue.

Signed-off-by: Wade Cline <wcline@us.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/helpers.c
804bb9a18bb747c8c7c481c9d8dca86a29837ecd 12-Jul-2011 Jens Axboe <jaxboe@fusionio.com> Fix compile on older systems that don't have fallocate() on Linux

Commit a596f047 broke build en eg CentOS 5:

filesetup.c:17:26: error: linux/falloc.h: No such file or directory
filesetup.c: In function 'extend_file':
filesetup.c:95: warning: implicit declaration of function 'fallocate'
filesetup.c:95: error: 'FALLOC_FL_KEEP_SIZE' undeclared (first use in this function)
filesetup.c:95: error: (Each undeclared identifier is reported only once
filesetup.c:95: error: for each function it appears in.)
make: *** [filesetup.o] Error 1

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/helpers.c
c3d3178b0e14dc1612b397f115d7853200b62146 10-Jul-2011 Bruce Cran <BCran@fusionio.com> Take __weak out of the compiler namespace

With Xcode 4 on OS X shipping LLVM by default, I tried building fio with
clang and found that the definition of __weak conflicts with something
clang defines. I've attached a patch which replaces the double
underscores with a single underscore, removing it from the
compiler-dependant namespace.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/helpers.c
6fe1c1dc473a43a19a0b03a067ff6c1d3fee6bd5 30-Sep-2010 Joss Grossman <jgrossman@fusionio.com> Fix compile on RHEL4/SLES10

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/helpers.c
285d451f5c3e034463ea49a5ba99e8e0eb1b83a2 15-Mar-2010 Jens Axboe <jens.axboe@oracle.com> Check for syscall definitions, before declaring __weak helper

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/helpers.c
a54cf03496c0e181974a63c2b60b2dc522e4b8a9 13-Mar-2010 Jens Axboe <jens.axboe@oracle.com> Add __weak sync_file_range()

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/helpers.c
d09913c248f04ab33a7e7bbfb2227e9db8b9f4a2 16-Dec-2009 Jens Axboe <jens.axboe@oracle.com> Include juggling

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/helpers.c
f8ed6d895233a874ce4e119f24d759445dff254d 16-Dec-2009 Jens Axboe <jens.axboe@oracle.com> Make weak posix_memalign() private to Solaris

OSX has posix_memalign() but no memalign() and no malloc.h
standard include. So until we have a autoconf based build
system, move this weak helper to the private Solaris header.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/helpers.c
3b2e1464ae58caf42c74ab4bdeaa5eae7c38a23f 15-Dec-2009 Jens Axboe <jens.axboe@oracle.com> Fix some issues with the OSX port

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/helpers.c
2afd826bf6cd19900aee70ae14ede92d91b6f4c0 14-Dec-2009 Jens Axboe <jens.axboe@oracle.com> Support for Mac OS 10.6.2

Contributed by Small Tree, adopted to newer fio version by me.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/helpers.c
c5c8bd5c9b265df2c7feb386b5c1fba0a5a34eec 24-Nov-2009 Jens Axboe <jens.axboe@oracle.com> Add helpers include file

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/helpers.c
f166280e4cb2b3939a66359117798e46caf49591 24-Nov-2009 Jens Axboe <jens.axboe@oracle.com> Fix compile error due to missing ENOMEM on some platforms

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/helpers.c
7d289b2a318b3412ffbc33b0e3e4061bba922b90 23-Nov-2009 Jens Axboe <jens.axboe@oracle.com> Fix posix_memalign() return value in case of error

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/helpers.c
ed80ddf66943dc2654a92eb77b57c3d68613e9d6 23-Nov-2009 Jens Axboe <jens.axboe@oracle.com> Add posix_* weak helpers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/helpers.c