Am 20.09.2017 um 13:43 hat Manos Pitsidianakis geschrieben: > blk_check_byte_request() is called from the blk_co_pwritev/blk_co_preadv to > check if the request offset and request bytes parameters are valid for the > given Blockbackend. Let's do that in blk_pread/blk_pwrite too. > > Signed-off-by: Manos Pitsidianakis <el13...@mail.ntua.gr>
I don't think this is necessary, blk_pread/pwrite() are only wrappers around blk_co_preadv/pwritev(), so we're already checking the parameters. Kevin