Add blockdev_size() support for NetBSD
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 21 Oct 2016 17:07:32 +0000 (02:07 +0900)
committerJens Axboe <axboe@fb.com>
Wed, 26 Oct 2016 13:59:59 +0000 (07:59 -0600)
commitfc0aa68abd51f312f0b609ea0aef4524a8652316
tree164d72d76e673dbb3d551806623746dca602a566
parenta0290964d9e15aa9faa5a139effc14cfa5bcd3f1
Add blockdev_size() support for NetBSD

This commit is NetBSD version of 1116dc04 in 2015.

NetBSD still has block device as a file type, thus it differs
from FreeBSD/DragonFlyBSD regarding FIO_HAVE_CHARDEV_SIZE.

Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
os/os-netbsd.h