null_handle_bio() erroneously uses the bio_op macro
which masks respective request flag bits including REQ_FUA
out thus failing the check.
Fix by checking bio->bi_opf directly.
Signed-off-by: Heinz Mauelshagen
---
drivers/block/null_blk_main.c | 2 +-
1 file changed, 1 insertion(+), 1 delet
On 2/1/19 3:09 PM, John Dorminy wrote:
I didn't know such a thing existed... does it work on any block
device? Where do I read more about this?
Use sg_write_same(8) from package sg3_utils.
For instance 'sg_write_same --in=foobarfile --lba=0 --num=2
--xferlen=512 /dev/sdwhatever'
will r
On 22/01/18 21:19, Christoph Hellwig wrote:
On Wed, Jan 17, 2018 at 08:33:59PM +0100, Heinz Mauelshagen wrote:
Enhancing IO performance compared to the kernels existing
loop driver thus better suiting respective requirements in
test setups, this patch series adds new "loop" and &qu