Re: [PATCH 5/5] backing-dev: replace sync_supers_tsk/timer with adelayed_work

From: Artem Bityutskiy
Date: Wed Sep 08 2010 - 05:02:27 EST


On Mon, 2010-09-06 at 14:46 +0200, Tejun Heo wrote:
> sync_supers_task/timer can trivially replaced with a delayed_work. As
> it's not on the allocation path, run it on the system_wq.
>
> NOTE: Both before and after this patch, sync_supers is not freezeable.
> This might need to be changed.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> ---
> mm/backing-dev.c | 49 ++++++++++++++-----------------------------------
> 1 files changed, 14 insertions(+), 35 deletions(-)

Actually what Al Viro wants is to make sync_supers() go away and make
every FS to take care of its own superblock. So I guess this change is
useful in a sense that it'll be then easier to push this down to FSes.

--
Best Regards,
Artem Bityutskiy (ÐÑÑÑÐ ÐÐÑÑÑÐÐÐ)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/