Hey Jeff, That sounds like a regression to me. I don't think it's been around since the pgio rework, but maybe? -dros > On Jan 24, 2017, at 10:44 AM, Jeff Layton <jlayton@xxxxxxxxxx> wrote: > > I've noticed a probable regression in recent kernels. When you run the > attached program on an older kernel (I used 2.6.32-642.6.2.el6.x86_64), > I see the kernel generate wsize WRITE calls on the wire. > > When I run the same program on a more modern kernel (mainline as of > today), it generates a ton of page-sized I/Os instead. I've verified > that iov_iter_get_pages_alloc is returning a wsize array of pages, it > just seems like the request handling code isn't stitching them together > like it should. > > Is this an expected change or a regression? I'm guessing the latter, and > that it might have crept in during the pageio rework from a couple of > years ago. > > Any idea where the bug might be? > -- > Jeff Layton <jlayton@xxxxxxxxxx><diotest2.c> -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html