Ilya Dryomov 187df76325 libceph: fix breakage caused by multipage bvecs
A bvec can now consist of multiple physically contiguous pages.
This means that bvec_iter_advance() can move to a different page while
staying in the same bvec (i.e. ->bi_bvec_done != 0).

The messenger works in terms of segments which can now be defined as
the smaller of a bvec and a page.  The "more bytes to process in this
segment" condition holds only if bvec_iter_advance() leaves us in the
same bvec _and_ in the same page.  On next bvec (possibly in the same
page) and on next page (possibly in the same bvec) we may need to set
->last_piece.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-03-25 22:28:07 +01:00
..
2018-08-02 21:33:21 +02:00
2018-08-02 21:33:21 +02:00
2018-08-02 21:33:21 +02:00
2018-08-02 21:33:24 +02:00
2018-09-28 12:46:07 +08:00
2018-09-28 12:46:07 +08:00
2018-08-02 21:33:21 +02:00
2018-08-02 21:33:21 +02:00
2018-08-02 21:33:21 +02:00