[PATCH] use bio_get_nr_vecs() for sizing direct-io BIOs
From Badari Pulavarty. Rather than allocating maximum-sized BIOs, use the new bio_get_nr_vecs() hint when sizing the BIOs. Also keep track of the approximate upper-bound on the number of pages remaining to do, so we can again avoid allocating excessively-sized BIOs.
Showing
Please register or sign in to comment