writeback: Drop I_DIRTY_TIME_EXPIRE
authorJan Kara <jack@suse.cz>
Fri, 29 May 2020 14:24:43 +0000 (16:24 +0200)
committerJan Kara <jack@suse.cz>
Mon, 15 Jun 2020 07:18:46 +0000 (09:18 +0200)
commit5fcd57505c002efc5823a7355e21f48dd02d5a51
tree3841b53ef7831553de2c7bf40b3c673f1fd263b4
parentf9cae926f35e8230330f28c7b743ad088611a8de
writeback: Drop I_DIRTY_TIME_EXPIRE

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>
fs/ext4/inode.c
fs/fs-writeback.c
fs/xfs/libxfs/xfs_trans_inode.c
include/linux/fs.h
include/trace/events/writeback.h