diff options
author | Bob Peterson <rpeterso@redhat.com> | 2021-07-30 19:40:25 +0200 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2021-08-20 16:03:46 +0200 |
commit | 1b8550b5de7610027609ef605f85dc29f1d9da82 (patch) | |
tree | 10b69f5ca345dad548ff9dd5f9f4fa1a5b80289a /fs/gfs2/util.h | |
parent | gfs2: nit: gfs2_drop_inode shouldn't return bool (diff) | |
download | linux-1b8550b5de7610027609ef605f85dc29f1d9da82.tar.xz linux-1b8550b5de7610027609ef605f85dc29f1d9da82.zip |
gfs2: Mark journal inodes as "don't cache"
Before this patch, journal inodes were considered regular inodes,
which meant that instead of evicting them, function iput_final would
just put them on the lru for later processing. If the file system
withdrew for whatever reason, the withdraw would never be seen until
the inode was evicted, which could be indefinitely.
This patch marks all journal inodes as "don't cache" which means
function iput_final will evict them immediately, allowing us to
properly recover the journal on other cluster nodes.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/util.h')
0 files changed, 0 insertions, 0 deletions