engines/splice: remove buggy ->mem_align set
authorJens Axboe <axboe@kernel.dk>
Sat, 3 Aug 2019 14:33:24 +0000 (08:33 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 3 Aug 2019 14:33:24 +0000 (08:33 -0600)
commit8ca8a05d92fa799fe93a6edc27b058802211fddc
tree8261d247a75e8460acc1787dc7d24087890fac96
parentf2d6de5d997b039cebac9c34912871baa5e12d49
engines/splice: remove buggy ->mem_align set

Two things wrong here:

1) We align buffers by default, so no need for splice to do anything
   extra.
2) ->mem_align is not a true/false setting, it's the alignment itself.
   Hence the current setting to 1 is just buggy.

Fixes: https://github.com/axboe/fio/issues/810
Reported-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/splice.c