On Tue, Apr 12, 2016 at 11:13:52AM -0700, Bart Van Assche wrote: > >That's what NVMe does, but I don't think it's a good idea. Because > >of the unaligned start into the page this means you have to set the limit > >to one lower than the actual hardware limit. > > I think this means that there is a mismatch between the current block layer > limits and what NVMe / RDMA drivers need ... If we tell the block layer that we can only handle page sized comments using max_segent_size it should do the right thing. Now one thing that might be useful is to force the max_segent_size when setting the virt boundary, as they seem to be closely related. -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html