Add --eta-newline option

For certain situations, it's handy to force a new line in
the ETA output. It allows you to easily track what
happened, without having to do detailed logging.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Add section 9 to HOWTO table of contents.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Add LICENSE to Windows installer, fix filename extensions and update URL.

Add the LICENSE file to the Windows installer, change installed filename
extensions from .rtf to .txt (assume a text editor is installed that
understands LF) and fix the "update url" to be http://bluestop.org/fio/
since that's where new Windows installers are.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio
gettime: add some sanity checks to platform clock

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Fixup wrong types for dprint()

Signed-off-by: Jens Axboe <axboe@kernel.dk>
gettime: use 32-bit atomic sequences

Not all platforms have 64-bit wide atomic sync_and_fetch(). If
we just check for overflow, it should be OK to use a 32-bit
sequence number.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
debug: only do getpid() if we have to

Signed-off-by: Jens Axboe <axboe@kernel.dk>
debug: make __dprint() have printf() like argument type checking

Signed-off-by: Jens Axboe <axboe@kernel.dk>
gettime: print 64-bit variable with ULL

Signed-off-by: Jens Axboe <axboe@kernel.dk>
powerpc: use ATB clock, if it's available

The ATB is more precise, but we don't know if it's available.
Check by forking off a process that attempts to use it, if
we die with SIGILL, then we know it's not there.

Based on code from Steven Noonan.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
powerpc: harden the clock ATB probe a bit

Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure: use `foo` instead of $(foo)

Seems to work everywhere, whereas $(foo) does not work on
some variants of FreeBSD.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio
FIO-VERSION-GEN: use `foo` instead of $(foo)

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Revert "debug: only do getpid() if we have to"

This reverts commit 8037423f08649a7c3378dadf95327d6553105264.
net: fix warning for systems without TCP_NODELAY

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Fix compile of RDMA engine for SunOS 5.x

- byteswap.h include that doesn't exist there. Kill it, we
  have no use for it.

- No RLIMIT_MEMLOCK on SunOS. The use in the engine is a bit
  suspect, so not a problem if we don't have it. Add configure
  check for that.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
powerpc: use mfspr for Time Base Register reads

The 'mftb' and 'mftbu' instructions are deprecated in Power ISA v2.06 in favor
of mfspr. Since CPUs supporting mftb/mftbu also support the TBR SPRs, there's
no known reason to keep mftb/mftbu.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio