]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
writeback: Drop I_DIRTY_TIME_EXPIRE
authorJan Kara <jack@suse.cz>
Fri, 29 May 2020 14:24:43 +0000 (16:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Jan 2021 12:54:11 +0000 (13:54 +0100)
commit5f8b8fccdfbc7d05fb146b00d812a777370de71a
tree868d8f4e8e6b4313184f894cb398a425b80790f4
parent2d8848edc96b43d1dd8823a533e702953048b33e
writeback: Drop I_DIRTY_TIME_EXPIRE

commit 5fcd57505c002efc5823a7355e21f48dd02d5a51 upstream.

The only use of I_DIRTY_TIME_EXPIRE is to detect in
__writeback_single_inode() that inode got there because flush worker
decided it's time to writeback the dirty inode time stamps (either
because we are syncing or because of age). However we can detect this
directly in __writeback_single_inode() and there's no need for the
strange propagation with I_DIRTY_TIME_EXPIRE flag.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/inode.c
fs/fs-writeback.c
fs/xfs/libxfs/xfs_trans_inode.c
include/linux/fs.h
include/trace/events/writeback.h