Small respin of the patch that I sent yesterday for the same thing. This moves the maxsize handling into iov_iter_pvec_size, so that we don't end up iterating past the max size we'll use anyway when trying to determine the pagevec length. Also, a respun patch to make ceph use iov_iter_get_pages_alloc instead of trying to do it via its own routine. Al, if these look ok, do you want to pick these up or shall I ask Ilya to merge them via the ceph tree? Jeff Layton (2): iov_iter: allow iov_iter_get_pages_alloc to allocate more pages per call ceph: switch DIO code to use iov_iter_get_pages_alloc fs/ceph/file.c | 75 ++---------------------------- lib/iov_iter.c | 142 +++++++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 116 insertions(+), 101 deletions(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html