From: Artem Bityutskiy Subject: [PATCH v1 0/9] do not use s_dirt in ext4 Date: Tue, 20 Mar 2012 16:41:20 +0200 Message-ID: <1332254489-2300-1-git-send-email-dedekind1@gmail.com> Cc: Ext4 Mailing List , Linux FS Maling List , Linux Kernel Maling List To: Ted Tso Return-path: Received: from mga01.intel.com ([192.55.52.88]:33276 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756015Ab2CTOlK (ORCPT ); Tue, 20 Mar 2012 10:41:10 -0400 Sender: linux-ext4-owner@vger.kernel.org List-ID: This patch-set makes ext4 independent of the VFS superblock management services. Namely, ext4 does not require to register the 'write_super()' VFS call-back. The reason of this exercises is to get rid of the 'sync_supers()' kernel thread which wakes up every 5 seconds (by default) even if all superblocks are clean. This is wasteful from power management POW (unnecessary wake-ups). Note, I tried to optimize 'sync_supers()' instead in 2010, but Al wanted me to get rid of it instead. See https://lkml.org/lkml/2010/6/6/87 And I think this is right because many file-systems do not need this, for example btrfs does not use VFS superblock management services at all, so on a btrfs-based system we currently end-up useless periodic wake-ups source. Changes for other file-systems are coming later. The patch-set structure. 1. patches 1,2,3 are independent ext4 cleanups and I ask Ted to merge them as soon/long as they are OK. I sent them also independently in order to get early comments, but did not get so far, so re-sending. 2. patch 4 exports 'dirty_writeback_interval' and it would be very useful to have it merged ASAP to simplify further work 3. patch 5 is also and independent VFS clean-up 4. patches 6-9 actually make ext4 independent on the 'sync_supers()' thread. Thanks, Artem.