bio_vec as scatterlist.
Hi Jens.
Why does bio has array of bio_vecs and not scatterlists?
There is no (or there is?) gain in memory usage, since most if not all block device drivers will have to create a scatterlist just to map bio_vec to hardware. Allocation of the single scatterlist for the whole bio in driver requires to wait for command completion, array of scatterlists eats memory, so...
Why bio_vec is not a scatterlist?
Signature · 1 line
Evgeniy Polyakov