Enable preadv2/pwritev2 engines by default on Linux
authorJens Axboe <axboe@fb.com>
Thu, 2 Jun 2016 16:54:24 +0000 (10:54 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 2 Jun 2016 16:54:24 +0000 (10:54 -0600)
commit6562685f373b9bc5f1ed909281737f55b34934a4
tree4e6f47d9c22c8affad2dd18aed3bf63d4eff8df9
parentaa7d2ef092d5a8e417fcddaf8808fb0d48f1064b
Enable preadv2/pwritev2 engines by default on Linux

We don't have defines in libc yet, but let's wire them up so we
can use them. Only enabled for x86 and x86-64, adding for other
architectures would be as simple as adding the right defines
for the two syscall numbers.

Signed-off-by: Jens Axboe <axboe@fb.com>
arch/arch-x86.h
arch/arch-x86_64.h
engines/sync.c
options.c
os/os-linux.h