On Tue, Mar 07, 2017 at 04:35:59PM -0500, Jeff Layton wrote: > I was doing an xfstests run on xfs with v4.11.0-rc1, and these two > warnings popped. Looks like invalidate_inode_pages2_range failed? A > small patch to print the error there showed that it was returning > -EBUSY. > > Pretty easy to reproduce by running xfstests generic/095 on a KVM guest > running v4.11.0-rc1. Can you try: "[PATCH v2] iomap: invalidate page caches should be after iomap_dio_complete() in direct write" which was sent to the XFS list last week and check if it fixes things for you?