History log of /external/fio/os/os.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ec58c747242805551f25d90803fec67620424cc3 05-Nov-2014 Jens Axboe <axboe@fb.com> Add basic DragonFly support

Saw the build failing in their logs, and it hurt my feelings.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os.h
6cac1b6dc872933f823c696360d7b1b21a39559e 01-Jul-2014 Jens Axboe <axboe@fb.com> Add a typecheck for the endianness conversions

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os.h
0bbe46e7051d1ff9469ff9d021656793c6f3c4c2 01-May-2014 Daniel Gollub <daniel.gollub@gmail.com> Avoid double declaration of leXX_to_cpu

for external ioengines. leXX_to_cpu is a very common
declaration - e.g. Ceph is using this as well.

Signed-off-by: Daniel Gollub <daniel.gollub@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os.h
7221da3796145cf778ded56024c5e1efa00a3901 01-May-2014 Daniel Gollub <daniel.gollub@gmail.com> Replace CONFIG_CPU_COUNT with plain CPU_COUNT

Fixes double-declartion issue of CPU_COUNT when fio.h is included by
third-party projects.

Checking for a define of CPU_COUNT seems to be a common approach
to deal with different versions of sched.h

Signed-off-by: Daniel Gollub <daniel.gollub@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os.h
c46fda904f38a66f5f68a4b766438c09ef8cddcc 11-Mar-2014 Sébastien Bouchex Bellomié <sbouchex@infovista.com> Fix pointer alignment bug causing SIGBUS on Sparc64

OK, the issue was related to the alignment issue between the
thread_options structure and its "packed" version : The lexxx_to_cpu
macros are incorrectly casting the pointers and that causes an bus
error. I have fixed the issue by avoid casting the pointers and calling
directly the "swap" method.

I have also included a fixed on the thread_options structure regarding
the ddir_seq_add variable : Its length was incorrect.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os.h
6cf71c249abd60f2d2f6878ae436d4bab00aacbd 05-Mar-2014 Jens Axboe <axboe@fb.com> Fix compile on CentOS/RHEL5

They don't have CPU_COUNT(), so add a helper for that.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os.h
c2acfbac7e9eb8ac5407ac024c0fd000614c77e2 28-Feb-2014 Jens Axboe <axboe@fb.com> Add support for cpus_allowed_policy

Two policies are supported:

shared cpumask is shared between all threads. This is the original
behavior.

split cpumask is split between threads, each thread gets a unique
CPU.

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os.h
3cd4c66f35fad0df64e4e6dfeddc5bdfd5206e0c 30-Dec-2013 John <j@bitminer.ca> Add OpenBSD support

I managed to make a clean compile and a few test runs using the
attached patches.

These work on OpenBSD 5.4 at least. I used the 2.1.4 release of
fio as a basis.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
d95b34a61ec3fc305fe53c0132bfe82e2e5fcc04 21-Nov-2013 Jens Axboe <axboe@kernel.dk> blktrace: add support for non-native endian format

The blktrace format is stored in the native endianness of
the machine it is run on. So to reply traces on a machine
with a different endianness, we need to swap the trace
fields. Detect and do this automatically.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
d01612f3ae2515eb035d0c4ce954d8cb167a0a61 15-Nov-2013 Chris Mason <chris.mason@fusionio.com> Add support for O_ATOMIC

O_ATOMIC makes writes atomic, meaning that they are fully stable
on media (in the event of a power cut) when acknowledged by the
device and OS.

This only truly works on Linux with the pending patches to
add O_ATOMIC.

Updated by Jens to:

- Add man page and HOWTO description of the option
- Make O_ATOMIC imply O_DIRECT, so that it actually works if you
don't set O_DIRECT manually.
- Add the option to the conversion list so it works for
client/server.
- Error handling so that if atomic=1 is set and the OS does not
support it, error out instead of just pretending it works.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
90b7a96d9573a14f20470af2aa0dd4e60611a477 04-Feb-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
fio.h
parse.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
86e53416e5758d56e950af6cfbe407065ef36879 02-Feb-2013 Bruce Cran <bruce@cran.org.uk> Default to CS_GTOD if CONFIG_CLOCK_GETTIME isn't defined.

Defaulting the clock source to CS_CGETTIME broke on OS X because it
doesn't have clock_gettime. Use CS_GTOD if CONFIG_CLOCK_GETTIME isn't
defined.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
135be493d843d4cae2966a35cbd22a3058ec8e4b 29-Jan-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
configure
options.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
4feafb1e7864b736e1bfe83fe185fbba933b1c60 25-Jan-2013 Jens Axboe <axboe@kernel.dk> configure: auto-generate a config-host.h

Don't have all these special cases to convert a .mak to a .h define,
just generate it from the configure script instead.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
836fcc0fceb233ebcc41ee63b4ea5cae20b678a4 24-Jan-2013 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
backend.c
client.c
fio.c
fio.h
ioengine.h
options.c
os/os-linux.h
server.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
1f81991ed356dd7257aef2c715ba9a24d9af93a5 24-Jan-2013 Jens Axboe <axboe@kernel.dk> Fix compile warnings on Windows

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
0dcebdf4a70ef0d8144b8fcba763ae87e7fc74b5 23-Jan-2013 Jens Axboe <axboe@kernel.dk> configure: add endian check

Will remove guesswork and manual hacking in the OS headers.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
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/os/os.h
49758e11f3658686ccd1c61724a5eba142f3ee4f 03-Dec-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio

Conflicts:
Makefile
fio.h
io_u.c
ioengine.h
memory.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
a7f5831f1feafbaa41a558028226b517734c54a0 01-Dec-2012 Jens Axboe <axboe@kernel.dk> Revert "Change preferred default clocksource to gettimeofday()"

This reverts commit f7161017b75f5d3526147d42d3b583973922c444.

clock_gettime() is monotonic, so a superior clock source even
if it is slower.
/external/fio/os/os.h
f7161017b75f5d3526147d42d3b583973922c444 30-Nov-2012 Jens Axboe <axboe@kernel.dk> Change preferred default clocksource to gettimeofday()

It's faster than clock_gettime()

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
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/os/os.h
39b9356872f27c1a48a2ab09a5252dffd1de22d2 27-Nov-2012 Jens Axboe <axboe@kernel.dk> Fix compile for older Linux without mmap MAP_HUGETLB

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
ec5c6b125c1eab992882602158bab54957aa733d 21-Nov-2012 Aaron Carroll <aaronc@cse.unsw.edu.au> Add support for Android

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
d6dc02fbe47fa6b4752df7a2ed52447506d68b45 20-Nov-2012 Jens Axboe <axboe@kernel.dk> memory: wire up mmap huge page support

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
f681d0bac9c42e5d6bcb3601d2f3cfaa1c2cefb4 11-Oct-2012 Jens Axboe <axboe@kernel.dk> Merge branch 'master' into gfio
45054cbec0e624de3b79a795d7dfe1c64cdea934 09-Oct-2012 Saurabh De <SDe@fusionio.com> solaris: fix compile error on ctime_r()

On Solaris, it takes a 3rd length argument.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
28727df79348d4ebbd8fd4b0dd89bbca035f68d0 29-Mar-2012 Jens Axboe <axboe@kernel.dk> options: move ioprio/ioprio_class into thread_options space

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
93bcfd20e37cef8cec350fe06d3a086724c9f257 20-Feb-2012 Bruce Cran <bruce@cran.org.uk> Move Windows port to MinGW

- Add calls to WSAStartup in the network code as required by
Winsock.
- Add Windows-specific init_random_state function which uses the
Crypto API.
- Move Windows port to MinGW and update build system to create a
64-bit binary by default.
- Install text files as .rtf so they won't open in Notepad by default
(Wordpad understands Unix line endings; Notepad doesn't).
- Simplify WiX installer code.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
16de1bf91ca80e62ce257a24cae471fab140bbe0 20-Feb-2012 Bruce Cran <bruce@cran.org.uk> Add FIO_PREFERRED_CLOCK_SOURCE to allow selection of clock source on a per-platform basis.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
b9fd788f0e8adacc33316107594e9eb0463743d7 20-Feb-2012 Bruce Cran <bruce@cran.org.uk> Add OS_PATH_SEPARATOR for platforms which have different path separator characters (e.g. Windows and 'classic' MacOS).

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
203913ea773a19dce4a885204e9d7681b89429fe 18-Oct-2011 Bruce Cran <bruce@cran.org.uk> Fix OSX build

os.h needs to include sys/socket.h.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
cca84643cc10cd72b0b453ff92ccb8643ba51493 07-Oct-2011 Jens Axboe <axboe@kernel.dk> Pass arch/os in probe

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
8111092fd5dfc2fbdfc9b5b30094b74de982bddb 05-Oct-2011 Jens Axboe <axboe@kernel.dk> Move endian support out of server.h

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
5ba13ea6968cf2773f10d34376afe28ef81aeee5 04-Oct-2011 Jens Axboe <axboe@kernel.dk> Add fio_socklen_t

HPUX decides to be different yet again, add an OS typedef
to handle this instead of ifdefs in the code.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
901ebe18bdca90032e2fe107a1410385da80d18b 04-Oct-2011 Jens Axboe <axboe@kernel.dk> Finalize (?) byte swap/endian stuff

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
9677bec37d1b9d2949116cdc3d691a4d3e534cbe 04-Oct-2011 Jens Axboe <axboe@kernel.dk> Generic endianness typo

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
232f9b73353e0322fe135d3029beecedaed7a17b 04-Oct-2011 Jens Axboe <axboe@kernel.dk> More endianness for platforms

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
e97c14423a5688d7adfb342c16363c263cb741f9 21-Sep-2011 Jens Axboe <axboe@kernel.dk> Fix aiocb compile warnings on HPUX

Unlike other platforms, it seems to require aiocb64 explicitly
for long offsets. Add an os independent typedef for this.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os.h
47f767c113be7448eb8aa9d4a9f9aa8f760ef642 12-Jul-2011 Jens Axboe <jaxboe@fusionio.com> Add gettid() for proper thread affinity on Linux

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os.h
c00a22894b82ff53b42c1e741a7b4828199a1388 08-Jul-2011 Jens Axboe <jaxboe@fusionio.com> Initial HP-UX port

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os.h
fca7035863bd570270376a0c06776e5549ff813e 06-Jul-2011 Jens Axboe <jaxboe@fusionio.com> Add --max-jobs/-j command line option

And shrink OSX max default number of jobs supported. OSX has,
by default, a very small shared memory segment available.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os.h
58483fa41bb08def4dbd3c4c9624116b643c7599 19-Jan-2011 Jens Axboe <jaxboe@fusionio.com> Define OS preferred IO engine

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os.h
ecc314ba7c5f02b7e90ac1dfbce1a74cd4e6d6fe 04-Jan-2011 Bruce Cran <bruce@cran.org.uk> FIO Windows update

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os.h
03e20d687566753b90383571e5e152c5142bdffd 02-Jan-2011 Bruce Cran <bruce@cran.org.uk> First snapshot of FIO for Windows

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os.h
8e239cae8aae89f07a885ffcc985600ce9c65d5d 11-Aug-2010 Jens Axboe <jaxboe@fusionio.com> Cleanup MSG_DONTWAIT

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os.h
bf2e821a55d8aa3de1cda7288a0e22883110fdc6 11-Aug-2010 Cigy Cyriac <CCyriac@fusionio.com> Add support for AIX

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os.h
2e3bd4c21cc239fbda992a4ede89ebb85f550920 17-May-2010 Jens Axboe <jens.axboe@oracle.com> Improve ETA for fill_device based job files

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
7452440e1efb40680fdc951eebc7499a95a62f86 12-May-2010 YAMAMOTO Takashi <yamamoto@valinux.co.jp> fio netbsd support

Preliminary NetBSD support.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
a14ca44ada0708be91ed7741a32176bef4801cc4 20-Dec-2009 Jens Axboe <jens.axboe@oracle.com> os.h should include headers it needs by itself

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
535313705d69dc16f27ca38acf2f9bf7205e410d 15-Dec-2009 Jens Axboe <jens.axboe@oracle.com> Add generic random helpers

FreeBSD and OSX can both use these.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
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/os/os.h
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/os/os.h
792d551747e83601121afce033a66f357c9fc439 22-Sep-2009 Jens Axboe <jens.axboe@oracle.com> Add generic bdev_size function

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
e8462bd8250cf3ff2d41f17e1a4d4cefc70b6b37 06-Jul-2009 Jens Axboe <jens.axboe@oracle.com> Add support for async IO verification offload

This adds support for setting up a number of IO verification offload
threads, instead of doing the offload inline. An option for controlling
the CPU affinity of those threads are always added.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
eb7ccf38bf2e9208b593d021c50e9ad2ec0781ea 29-Apr-2009 Jens Axboe <jens.axboe@oracle.com> Align io units to processor cache line size

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
85daf2c1102ed4fdf1477cfd372046efbe08046e 05-Jan-2009 Jens Axboe <jens.axboe@oracle.com> Add fio_cpuset_exit() empty handler for platforms that don't support affinity

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
be4ecfdf6c8daa75c4df8ac875c9a87da80d81a0 08-Dec-2008 Jens Axboe <jens.axboe@oracle.com> Add gtod_cpu option for pinning gettimeofday() to a single CPU

Similar to what real life products sometimes do, offload gettimeofday()
calls to a single CPU and have that update the current time into a shared
memory location. This option pins a specific CPU for that job, and excludes
it from participating in any of the IO jobs.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
dc873b6f4a536c332b72cce268d5a7ccd356a891 04-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Add OS agnostic RAND_MAX

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
00fb3c8dcbb940338fea9f6cab689b4924266305 30-May-2008 Jens Axboe <jens.axboe@oracle.com> Move the lib/ stuff around a bit

And actually remember to commit the lib/ files...

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373 30-May-2008 Jens Axboe <jens.axboe@oracle.com> Make it work on opensolaris

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
4d8947de2b50578a4f6290be567cb5de5bf46776 25-Jul-2007 Shawn Lewis <shawnlewis@google.com> Fix headers for building with some older libs

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
5e62c22a669c7a8c03b7871852cf85ad6d355980 22-May-2007 Jens Axboe <jens.axboe@oracle.com> Fix build/compile for non-blktrace platforms

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
8cc7afa91ddc5a0980b9d2dbfdd66e1511a0d4b1 17-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Better checks for disk util init

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os.h
317b95d07d4921d2594a1be6e014c9c2d062fe75 02-Apr-2007 Jens Axboe <jens.axboe@oracle.com> Move os/arch/compiler headers into directories

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