]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit623f124530f76649546306f8031102855694af0a
tree3841b53ef7831553de2c7bf40b3c673f1fd263b4
parent267fd3eb9c427940c301dc250c47184c96dc0575
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