Fix conditional/message for max lba for sg ioengine
authorTomohiro Kusumi <tkusumi@tuxera.com>
Mon, 9 Jan 2017 14:42:00 +0000 (23:42 +0900)
committerJens Axboe <axboe@fb.com>
Mon, 9 Jan 2017 15:39:20 +0000 (08:39 -0700)
commit166c6b420f84c948455a387e3cdaaef8c2725f9c
tree56c81de05881ba3c9953b8625e6d446a3bed3086
parent13690c106ce4925a2cb8b3ba9c2fddd50b3a74a7
Fix conditional/message for max lba for sg ioengine

Whether sg ioengine uses 10 or 16 bytes read/write command (by 5ad7be56)
is determined by ->prep() depending on lba to read/write vs 0xFFFFFFFFULL,
so let the message show it depends.

Also remove unused sgio_data::max_lba which is essentially the same
(divide by bs minus 1) as fio_file::real_file_size.

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
engines/sg.c