writeback: avoid extra sync work at enqueue time
authorWu Fengguang <fengguang.wu@intel.com>
Sat, 23 Apr 2011 17:26:07 +0000 (11:26 -0600)
committerWu Fengguang <fengguang.wu@intel.com>
Wed, 8 Jun 2011 00:25:22 +0000 (08:25 +0800)
commite185dda89d69cde142b48059413a03561f41f78a
tree505fa875bdf7968892882a1f93993c9114d768b0
parente8dfc30582995ae12454cda517b17d6294175b07
writeback: avoid extra sync work at enqueue time

This removes writeback_control.wb_start and does more straightforward
sync livelock prevention by setting .older_than_this to prevent extra
inodes from being enqueued in the first place.

Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
fs/fs-writeback.c
include/linux/writeback.h