On Tue, Apr 3, 2018 at 3:11 PM, Yan, Zheng <zyan@xxxxxxxxxx> wrote: > iter_get_bvecs_alloc() copies iov_iter. iov_iter_advance() are coded for both old and new io_iter. I think pipe_advance() did bad thing. Hrm... I guess duplicating ITER_PIPE iterators is a bad idea. I was trying to keep the structure of ceph_direct_read_write() the same, but we can refactor it if necessary. I'll take a look. Thanks, Ilya -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html