From: Vincent Fu Date: Fri, 15 Jun 2018 21:00:25 +0000 (-0600) Subject: fio.h: also check trim operations in fio_ro_check X-Git-Tag: fio-3.8~27^2~6 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=196ccc44e70333cc87f9d417967bd06288602dac;hp=196ccc44e70333cc87f9d417967bd06288602dac fio.h: also check trim operations in fio_ro_check IO engines call fio_ro_check to ensure that the data direction set in the thread data structure permits writes before proceeding with a write io_u. This patch makes fio_ro_check ensure that the data direction also permits trims before proceeding with a trim io_u. ---