]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd81e1686a6a297d81026987e9852d8e24debddf8
tree87f68c1c5c228463a34bf898281d2943b7a11136
parent8be5c717aa03fe91d15de6d6a0ac53f02bf83577
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: 3d7ef16104e8 ("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