Skip to content
Snippets Groups Projects
Commit dd85b492 authored by Ajay Joshi's avatar Ajay Joshi Committed by Jens Axboe
Browse files

null_blk: return fixed zoned reads > write pointer


A zoned block device maintains a write pointer within a zone, and reads
beyond the write pointer are undefined. Fill data buffer returned above
the write pointer with 0xFF.

Signed-off-by: default avatarAjay Joshi <ajay.joshi@wdc.com>
Reviewed-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: default avatarMatias Bjørling <matias.bjorling@wdc.com>
Signed-off-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 45919fbf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment