History log of /external/fio/os/os-windows.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dac45f23c3c7d146f7df82047ae7f25abf231ed3 12-Mar-2014 Jens Axboe <axboe@fb.com> stat: fixup fio-dump-status file location

Don't use /tmp in the actual file name. And kill unused Windows
os_get_tmpdir().

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os-windows.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-windows.h
a1fc70fbb0497a4e0dc061bd8fc35c8d4d29d2dd 28-Feb-2014 Jens Axboe <axboe@fb.com> windows: fix fio_cpu_count() definition

Don't take a 'cpu' argument, that's a leftover when this was
(temporarily) fio_cpu_isset().

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os-windows.h
95db3079d0c9060f0fc31d5425bcd7d67076523b 28-Feb-2014 Jens Axboe <axboe@fb.com> windows: add proper header for hweight64()

Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/os/os-windows.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-windows.h
f16b7405fff7c3fc1da421b6bdf8552cc99c3156 08-Oct-2013 Bruce Cran <bcran@fusionio.com> Update Windows code to fix build breakage

MinGW has been updated: this causes problems due to changes in header
files, including COM stuff being pulled in resulting in 'interface' being
a reserved keyword, and changes to a few POSIX definitions.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.h
5aa23eb8d6ae67c5a5e31737164307675b36518e 23-Apr-2013 Bruce Cran <bruce@cran.org.uk> Fix Windows build warnings.

winsock2.h needs to be included before windows.h.
Separate declarations and code.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.h
01d269552bca14c90bdcc2288e64ba2426c045ea 06-Feb-2013 Bruce Cran <bruce@cran.org.uk> Windows: fix sysconf(_SC_PHYS_PAGES).

sysconf(_SC_PHYS_PAGES) was returning the number of bytes of memory
instead of the number of pages. Also improve some error messages in
sysconf(). Update os_phys_mem() to use sysconf().

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.h
7e09a9f10bb301635b6f9206b3144878a2710b0a 30-Jan-2013 Jens Axboe <axboe@kernel.dk> configure: add SCHED_IDLE check

We can't consider it always available on Linux. It fails on
Debian 6.x, for instance.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.h
f2a2ce0eedb44eaa8689e4cbfa77c79b1751b216 30-Jan-2013 Huadong Liu <HLiu@fusionio.com> Add support for idletime profiling

Idletime profiling allows a benchmark to run while filling the
idle cycles on the server, hence giving you some metric of how
much pressure the system is under. This is useful to be able
to profile and compare changes in a setup or driver, for instance.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.h
f266b7f770b8985c07f835e17d76c617b7480723 24-Jan-2013 Jens Axboe <axboe@kernel.dk> configure: kill windows FIO_HAVE_FDATASYNC

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.h
4700b23465687c7d3de7820341fa96e506e967b2 24-Jan-2013 Jens Axboe <axboe@kernel.dk> configure: solaris and windowsaio fixups

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.h
97ac992c99d89eed8cdf9249bb038ac4d7b709b9 24-Jan-2013 Jens Axboe <axboe@kernel.dk> Correct ifdef checks for posix and linux fallocate

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.h
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-windows.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-windows.h
3cf1ff44af1a1cc17354ce495647448e1e4924e2 18-Jan-2013 Bruce Cran <bruce@cran.org.uk> Windows: fix off-by-one error in fio_cpu_set and add affinity error messages.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.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-windows.h
2277d5d5ec39cbd06430348780b1ceb7d01710ae 06-Dec-2012 Bruce Cran <BCran@fusionio.com> Fix windows out-of-memory handling

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.h
84306c1d9ecd94e93436da62b41ef61ac6e281ac 16-Apr-2012 Bruce Cran <bruce@cran.org.uk> Windows build fixes

Bruce writes:

SIGUSR1 isn't defined on Windows so I've defined it.

Also, MSI packages need a version string of x.x.x.x where x is between 0
and 65535 so we can't include the git hash. It's easier just to go back
to hard-coding the version for now, and I'll update it (and the product
GUID) when I create a new package (it doesn't need checked in each
time).

Also, Cygwin doesn't like $(SHELL_PATH) but $(SHELL) seems to work -
does $(SHELL) cause a problem on other platforms?

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.h
f9a58c2a6818830c772f3aa0b82bf04de7569acf 04-Apr-2012 Bruce Cran <bruce@cran.org.uk> Windows fixes

Only return from fio_windowsaio_getevents if the minimum number of IOs has
completed.

Add posix_fallocate implementation to avoid extending the file during the test.

Move call to ResetEvent into windowsaio_getevents where other reset code is
located.

Fix tabs vs. spaces in windowsaio.c and the installer sources.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.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-windows.h
72ddbe7981ab5d1c0eb64c952b29bdf6505afdec 08-Oct-2011 Bruce Cran <bruce@cran.org.uk> Fix Windows issue with socklen_t

Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/os/os-windows.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-windows.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-windows.h
1332757ccc1ba0d96980dc202760977c4605235e 14-Jul-2011 Bruce Cran <BCran@fusionio.com> Windows affinity fix for thread based jobs

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-windows.h
0f7ac781d5355aefe95e84cde5a80026ca7c501e 14-Jul-2011 Bruce Cran <BCran@fusionio.com> Add CPU affinity support to Windows

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-windows.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-windows.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-windows.h
e4db9fec06d77523472e9fad6de5170a77d715c0 04-Jan-2011 Bruce Cran <bruce@cran.org.uk> Fio Windows update

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/os/os-windows.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-windows.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-windows.h