I'd much rather have __bio_try_merge_page only do merges in the same page, and have a new __bio_try_merge_segment that does multi-page merges. This will keep the accounting a lot simpler.
- [PATCH V10 12/19] block: allow bio_for_each_segment_all(... Ming Lei
- [PATCH V10 13/19] iomap & xfs: only account for new ... Ming Lei
- Re: [PATCH V10 13/19] iomap & xfs: only account... Omar Sandoval
- Re: [PATCH V10 13/19] iomap & xfs: only account... Christoph Hellwig
- [PATCH V10 14/19] block: enable multipage bvecs Ming Lei
- Re: [PATCH V10 14/19] block: enable multipage bvecs Omar Sandoval
- Re: [PATCH V10 14/19] block: enable multipage bvecs Christoph Hellwig
- [PATCH V10 16/19] block: document usage of bio iterator ... Ming Lei
- Re: [PATCH V10 16/19] block: document usage of bio ... Omar Sandoval
- [PATCH V10 15/19] block: always define BIO_MAX_PAGES as ... Ming Lei
- Re: [PATCH V10 15/19] block: always define BIO_MAX_... Omar Sandoval