diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-06-07 19:34:50 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-06-08 19:30:20 +0300 |
commit | 7975e465af6b46e9d0eaf94f764922dc92b28d9c (patch) | |
tree | d1e710e2217d64fc9ec0e39605f80854ccb1295f /fs/xfs/xfs_ioctl.c | |
parent | 255794c7ed7adb914e831f5e4905d783d31378d2 (diff) | |
download | linux-7975e465af6b46e9d0eaf94f764922dc92b28d9c.tar.xz |
xfs: drop IDONTCACHE on inodes when we mark them sick
When we decide to mark an inode sick, clear the DONTCACHE flag so that
the incore inode will be kept around until memory pressure forces it out
of memory. This increases the chances that the sick status will be
caught by someone compiling a health report later on.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_ioctl.c')
0 files changed, 0 insertions, 0 deletions