On Fri, Jan 19, 2024 at 09:19:39AM +1100, Dave Chinner wrote: > Whilst touching this code, don't bother checking mapped or single > folio buffers for discontiguous regions because they don't have > them. This significantly reduces the overhead of this check when > logging large buffers as calling xfs_buf_offset() is not free and > it occurs a *lot* in those cases. Nice. Looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>