Am 29.04.2026 um 08:20 hat Bin Guo geschrieben: > blk_co_preadv() and blk_co_preadv_part() share identical bodies except > that blk_co_preadv() always passes qiov_offset=0. blk_co_pwritev() > already uses this pattern and simply calls blk_co_pwritev_part() with > qiov_offset=0. Apply the same simplification to the read side so that > both pairs are consistent and the shared logic lives in a single place. > > Before this change blk_co_preadv() duplicated the > blk_inc_in_flight / blk_co_do_preadv_part / blk_dec_in_flight > sequence. After this change it is a one-liner wrapper, matching the > write side. > > Signed-off-by: Bin Guo <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
