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 11/19] bcache: avoid to use bio_for_each_segm... Ming Lei
- Re: [PATCH V10 11/19] bcache: avoid to use bio_for_... Omar Sandoval
- Re: [PATCH V10 11/19] bcache: avoid to use bio_for_... Christoph Hellwig
- [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 12/19] block: allow bio_for_each_segment_all(... Ming Lei
- [PATCH V10 15/19] block: always define BIO_MAX_PAGES as ... Ming Lei
