d004a209eee0a8db603c2d7ca6dc5fb6c367aa5a |
|
04-Mar-2014 |
Jens Axboe <axboe@fb.com> |
Fix typo in fio_cpu_count() Reported-by: Paul Howarth <paul@city-fan.org> Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os-freebsd.h
|
50b5860bcdc7dfb448c98c913203184e339756d7 |
|
01-Mar-2014 |
Jens Axboe <axboe@fb.com> |
cpus_allowed_policy fixups - Make 'split' roundrobin the CPUs, if we have more threads than CPUs in the set. - Properly use a CPU index, don't assume a sequential set of CPUs. Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os-freebsd.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-freebsd.h
|
638204956e6ef8f79033163667bdda94aaf9e949 |
|
21-Feb-2013 |
Bruce Cran <bruce@cran.org.uk> |
Add FreeBSD cpu affinity support. Since FreeBSD has different thread and process IDs, assume that fio_setaffinity will always be called with a tid and fio_getaffinity with a pid. Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-freebsd.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-freebsd.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-freebsd.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-freebsd.h
|
b11e4ccf7b3d24e8e1d0a779aa6735bbce85b291 |
|
20-Feb-2012 |
Jens Axboe <axboe@kernel.dk> |
mutex: don't attempt to use CLOCK_MONOTONIC It's a bit of a mess. Some platforms don't have pthread_condattr_setclock(), some have it but it appears NOT to set the block correctly. Accept that we have to use the realtime clock for timed mutex and just don't touch the clock settings. Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-freebsd.h
|
b4c1fb368f9863449e4c0312df845b58f8b67717 |
|
16-Feb-2012 |
Jens Axboe <axboe@kernel.dk> |
mutex: more clock fixes Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-freebsd.h
|
f1415a9fa9c892b6aa146ef87ca78471bcb57bdb |
|
08-Oct-2011 |
Bruce Cran <bruce@cran.org.uk> |
Fix compile on FreeBSD Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-freebsd.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-freebsd.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-freebsd.h
|
b939683e7b997653a35bd7d55f733fc96030b246 |
|
30-Jul-2011 |
Jens Axboe <jaxboe@fusionio.com> |
Add proper include to silence build warning on NetBSD/FreeBSD Reported-by: Bruce Cran <bruce@cran.org.uk> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-freebsd.h
|
e8d588e4d31f9d1e93b14499d23760d1d3d2db6b |
|
12-Jul-2011 |
Jens Axboe <jaxboe@fusionio.com> |
Add gettid() for FreeBSD/OSX/Solaris Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-freebsd.h
|
9b8365618309572d8fd2579c8ea3132db89f843f |
|
08-Jan-2011 |
Bruce Cran <bruce@cran.org.uk> |
Various fixes/updates - Update HOWTO to note that directio and fallocate don't work with ZFS on Solaris. Refactor the Makefile's to add CPPFLAGS and LIBS. - Add -fno-omit-frame-pointer from Linux Makefile to every platform - Change undefined $(ALL_CFLAGS) to $(CFLAGS) - Pass -std=gnu99, without which OS X fails to build. - Add -D__EXTENSIONS__ on Solaris since some functions we need are behind it. - Pull in <limits.h> in fio.c to get PTHREAD_STACK_MIN. - NetBSD doesn't define PTHREAD_STACK_MIN so set it to 4k in os-netbsd.h - If we have posix_fallocate don't error out if it fails during mutex and malloc operations since it will fail on Solaris with a ZFS filesystem. As I understand it these aren't performance-critical operations so do they need to be considered critical? - Remove fio_unused from os-* files since it's defined in fio.h and we don't really need it. - FreeBSD has an idprio command but not the API so don't claim it does. - OS X doesn't have the timer_* API so emulate it using setitimer/sigaction. - NetBSD and Solaris don't support CLOCK_MONOTONIC in timer_create so remove FIO_HAVE_CLOCK_MONOTONIC from their os-* files. I've noticed that a change I made a while ago to use fmin/fmax could cause issues on older OSes - I had a CD with NetBSD 5.0.2 and found they had only been implemented in 5.1 so I'm not sure if I should revert it. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-freebsd.h
|
e2e58886427019b525d2a234c5404a38ec0c7ebf |
|
04-Jan-2011 |
Jens Axboe <jaxboe@fusionio.com> |
OS headers need fio_file definition now Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-freebsd.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-freebsd.h
|
4ccdccd149d82c94ec6ccdb4118d9e27479b8516 |
|
24-Jun-2010 |
Jens Axboe <jaxboe@fusionio.com> |
Add chardev size getting Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-freebsd.h
|
2fa55e93d8895e0645df3e50baae82d15d9beea4 |
|
24-Jun-2010 |
Jens Axboe <jaxboe@fusionio.com> |
Fix FreeBSD warning Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-freebsd.h
|
aa5e69b26d16ae4c1680d05b25149f3198036714 |
|
24-Jun-2010 |
Jens Axboe <jaxboe@fusionio.com> |
Add real blockdev_size() for FreeBSD Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-freebsd.h
|
907249cffbdfa26de688c127abb5483154a4eae6 |
|
22-Jun-2010 |
Jens Axboe <jaxboe@fusionio.com> |
Add off64_t to FreeBSD Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-freebsd.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-freebsd.h
|
e72fa4d40565e7a213698d8696b81f80e4670982 |
|
11-Feb-2010 |
Joshua Aune <luken@fusionio.com> |
Fix FreeBSD support * Fix dep calculation in Makefile.FreeBSD to ignore other os specific header files, avoid blowing up on includes in os-solaris.h * Mark FreeBSD as not supporting fdatasync() * Add documentation note about FreeBSD not supporting fsyncdata= * Add warning if fsyncdata= is used on os that doesn't support, fall back to fsync() Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-freebsd.h
|
c36d16f5a0b9e3d505c9933bbbdccdb519ca4faf |
|
20-Dec-2009 |
Jens Axboe <jens.axboe@oracle.com> |
Make fdatasync OS optional OSX does not have it. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-freebsd.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-freebsd.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-freebsd.h
|
a1c58075279454a91ec43366846b93e8dcf9753c |
|
04-Aug-2009 |
Jens Axboe <jens.axboe@oracle.com> |
Add strong madvise() hint for cache pruning Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-freebsd.h
|
56075b96f307f8276f9d032ac8404622b94a456c |
|
04-Aug-2009 |
Jens Axboe <jens.axboe@oracle.com> |
Remove old FIXME comment Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-freebsd.h
|
617a2013384ae474177a8a9c151468e3d3fd8944 |
|
04-Aug-2009 |
Jens Axboe <jens.axboe@oracle.com> |
FreeBSD: use generic bdev size retrieval Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-freebsd.h
|
690dec6e4ec7297a477b809fa24ee23dc02348c9 |
|
06-Jan-2009 |
Jens Axboe <jens.axboe@oracle.com> |
OS includes need errno.h Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-freebsd.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-freebsd.h
|
18bc5025fdce7f1f319b4aebe1c9d7f479088e73 |
|
04-Jun-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Kill useless undef's Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-freebsd.h
|
4c5946c6606abc87ba7e2bfc57a5030d19b6d4d5 |
|
26-Jul-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Fix verify random bytes filling Shawn Lewis <shawnlewis@google.com> reports: --- verify.c: fill_random_bytes() doesn't work as intended. drand48 on linux returns a double whose value is evenly distributed between 0.0 and 0.1. This is not the same as having an 8-byte value where each bit has the same chance of being 0 as it does of being 1. I'd fix this but it should probably be done in a cross-platformish way and I'm not quite sure how to do it. Maybe just use smaller randoms? Have an os_random_uint32? --- I just got rid of os_random_double() and used os_random_long(), truncating that to an unsigned integer. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-freebsd.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-freebsd.h
|