submit bio directly from userspace

From: Mike Krinkin
Date: Wed Oct 07 2015 - 10:43:03 EST


Hi,

i'm developing block layer workload simulator/player and need to
generate bios as close as possible to the ones in original workload.
To play workload i employ aio + O_DIRECT, but all IOs end up as bios
with SYNC flag set. So i wonder is there any way to control bios
flags from userspace or, maybe, any other options to generate
workload from userspace except aio + O_DIRECT with more precise
control over bio flags?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/