Windows: re-enable the mmap ioengine and fix static asserts
authorRebecca Cran <bruce.cran@sandisk.com>
Thu, 9 Feb 2017 22:17:27 +0000 (22:17 +0000)
committerJens Axboe <axboe@fb.com>
Mon, 13 Feb 2017 22:38:59 +0000 (15:38 -0700)
commit06cbb3c71fc75dbeddebb53c8f0a2ea95dc28228
treeec91feda2eb9d316f695aca487a67cef27732a82
parentd1f20a3964c8959a4bc10e61517ddd02d1a92303
Windows: re-enable the mmap ioengine and fix static asserts

Windows supports mmap functionality via the CreateFileMapping and
MapViewOfFile functions. Update posix.c and re-enable the mmap
ioengine in the Makefile.

Also, enable the built-in static asserts, without which the build
breaks when configured with --disable-optimizations.

Signed-off-by: Jens Axboe <axboe@fb.com>
Makefile
configure
os/windows/posix.c