xfs: fix I_DONTCACHE
authorDave Chinner <dchinner@redhat.com>
Wed, 25 Aug 2021 02:13:04 +0000 (19:13 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 25 Aug 2021 02:13:04 +0000 (19:13 -0700)
commitf38a032b165d812b0ba8378a5cd237c0888ff65f
tree87f68c1c5c228463a34bf898281d2943b7a11136
parent72a048c1056a72e37ea2ee34cc73d8c6d6cb4290
xfs: fix I_DONTCACHE

Yup, the VFS hoist broke it, and nobody noticed. Bulkstat workloads
make it clear that it doesn't work as it should.

Fixes: dae2f8ed7992 ("fs: Lift XFS_IDONTCACHE to the VFS layer")
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_icache.c
fs/xfs/xfs_iops.c