History log of /external/fio/os/os-solaris.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
96ed30cee2c29a61a7c45ab56335ff23d70e377d 03-Mar-2014 Jens Axboe <axboe@fb.com> solaris: fixup new cpuset functions

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os-solaris.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-solaris.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-solaris.h
997843cbd55f34f7f48f2ebc108500d97e37474c 24-Jan-2013 Jens Axboe <axboe@kernel.dk> configure: fix more old FIO_HAVE_ checks

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-solaris.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-solaris.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-solaris.h
a80b4e4688e75f5f614c5d33ca0e75a45ab3522e 29-Nov-2012 Jens Axboe <axboe@kernel.dk> solaris: enable fadvise()

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-solaris.h
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-solaris.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-solaris.h
e721c57fc77e0155bb73a2c266dba0c6ce0bd3b5 09-Feb-2012 Jens Axboe <axboe@kernel.dk> Fixup a few items spotted by a static code checker

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-solaris.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-solaris.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-solaris.h
862745bf1f85ded2109a72e75a0070eb84900612 19-Jul-2011 Jens Axboe <jaxboe@fusionio.com> Fix Solaris compile

In file included from fio.h:24,
from gettime.c:10:
os/os.h:192: error: redefinition of 'gettid'
os/os-solaris.h:123: error: previous definition of 'gettid' was here
make: *** [gettime.o] Error 1

Forgot to define FIO_HAVE_GETTID

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-solaris.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-solaris.h
3f77f72359e90175d86d549e82c9b2a3488df6dc 27-Jan-2011 Jens Axboe <jaxboe@fusionio.com> solaris: OpenSolaris already has the madvise advice defined

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-solaris.h
08987f0e7f255968ed4780ba3a8ed0cb1bb63904 26-Jan-2011 Jens Axboe <jaxboe@fusionio.com> solaris: char dev size fixes

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-solaris.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-solaris.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-solaris.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-solaris.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-solaris.h
d0983d0124fff305d0945098fe7b4b9c44657fd8 16-Dec-2009 Jens Axboe <jens.axboe@oracle.com> Add Solaris helper object

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.h
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/os/os-solaris.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-solaris.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-solaris.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-solaris.h
515d18304324c2e11f40742c394c90799913fa67 04-Aug-2009 Jens Axboe <jens.axboe@oracle.com> solaris: implement blockdev size getting

Just use lseek(..., SEEK_END), we should actually be able to use that
on all platforms.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.h
f2b7ce1c8f2d5ada9b0f789b48b94dc234195fa8 03-Aug-2009 Jens Axboe <jens.axboe@oracle.com> Solaris cpu affinity fix

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.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-solaris.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-solaris.h
f356d01d0cf8fec2ee58f66a9b5c00c93defbc47 05-Jan-2009 Jens Axboe <jens.axboe@oracle.com> Only use process shared mutexes on support platforms

On FreeBSD, suggest the use of threads instead.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.h
39555d0365036f12531f876e6b589a0bce4e5147 22-Dec-2008 Jens Axboe <jens.axboe@oracle.com> Solaris pset fixes

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.h
4a3c7b90413beb215dae12a26701ccbefa4bc847 12-Dec-2008 Jens Axboe <jens.axboe@oracle.com> Solaris compilation fix

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.h
d2ce18b5dfdc1736a99b4e2d731119cc4880e197 12-Dec-2008 Jens Axboe <jens.axboe@oracle.com> CPU set creation and destruction can fail on some platforms

Check for that and error out if necessary.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.h
6f7024e49e41fafcb838acbebf0c31fbcf35132f 12-Dec-2008 Jens Axboe <jens.axboe@oracle.com> Support for CPU binding in Solaris

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.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-solaris.h
f022ddb71f93b5d9e32261491284b9881fceaf0c 04-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Solaris: support for proper random functions

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.h
e116f2b90f110334e77741227ad4e4600302c718 04-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Add directio support to Solaris

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.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-solaris.h
207cb0f05e689a50ffb960830f52169a1342aba7 02-Jun-2008 Jens Axboe <jens.axboe@oracle.com> posixaio: not all platforms have aio_fsync()

FreeBSD is (again) the odd man out...

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.h
fffca02dfd1b700903ba23b67fab7b59bf460ec2 02-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Guard posix_fallocate() behind OS define

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.h
417f006858ec66f0b410c83c2e13da54662048e0 02-Jun-2008 Jens Axboe <jens.axboe@oracle.com> Add Solaris native aio engine

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/os/os-solaris.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-solaris.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-solaris.h