On 03/30/2020 03:44 AM, Jinpu Wang wrote: > Thanks for comments, Christoph. > If I understood you correctly, so the right way is to construct bio > similar to bio_map_kern, but we have to use bio_add_page instead of > bio_add_pc_page? > > As mentioned by Bart also Chaitanya, looks it's reasonable to add a > helper for normal READ|WRITE operation to map and submit bio from the > data buffer, > but sure can be done later. > Yes helper can be done later. > Thanks!