On 10.08.2017 19:13, Darrick J. Wong wrote: > We don't decrement len each time through the ioctl loop? Doesn't that > cause us to request and retrieve rows for ranges we don't want? Hm, you are right, I believe on every iteration we should do: len -= last_logical - start_offset -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html