dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/fs/hfs
Artem Bityutskiy 5687b5780e hfs: get rid of hfs_sync_super
This patch makes hfs stop using the VFS '->write_super()' method along with
the 's_dirt' superblock flag, because they are on their way out.

The whole "superblock write-out" VFS infrastructure is served by the
'sync_supers()' kernel thread, which wakes up every 5 (by default) seconds and
writes out all dirty superblocks using the '->write_super()' call-back.  But the
problem with this thread is that it wastes power by waking up the system every
5 seconds, even if there are no diry superblocks, or there are no client
file-systems which would need this (e.g., btrfs does not use
'->write_super()'). So we want to kill it completely and thus, we need to make
file-systems to stop using the '->write_super()' VFS service, and then remove
it together with the kernel thread.

Tested using fsstress from the LTP project.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-07-22 23:58:09 +04:00
..
Kconfig fs/Kconfig: move hfs, hfsplus out 2009-01-22 13:15:57 +03:00
Makefile
attr.c
bfind.c hfs: Convert tree_lock to mutex 2010-10-12 17:36:11 +02:00
bitmap.c hfs: convert bitmap_lock in a mutex 2008-07-25 10:53:33 -07:00
bnode.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
brec.c hfs_bnode_find() can fail, resulting in hfs_bnode_split() breakage 2008-03-17 09:46:55 -07:00
btree.c hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops 2011-11-02 16:06:59 -07:00
btree.h hfs: Convert tree_lock to mutex 2010-10-12 17:36:11 +02:00
catalog.c hfs: fix a potential buffer overflow 2009-12-15 08:53:10 -08:00
dir.c don't pass nameidata to ->create() 2012-07-14 16:34:47 +04:00
extent.c hfs: get rid of hfs_sync_super 2012-07-22 23:58:09 +04:00
hfs.h address hfs on-disk corruption robustness review comments 2008-02-06 10:41:05 -08:00
hfs_fs.h hfs: get rid of hfs_sync_super 2012-07-22 23:58:09 +04:00
inode.c hfs: get rid of hfs_sync_super 2012-07-22 23:58:09 +04:00
mdb.c hfs: simplify a bit checking for R/O 2012-07-22 23:58:07 +04:00
part_tbl.c
string.c fs: change d_hash for rcu-walk 2011-01-07 17:50:20 +11:00
super.c hfs: get rid of hfs_sync_super 2012-07-22 23:58:09 +04:00
sysdep.c stop passing nameidata * to ->d_revalidate() 2012-07-14 16:34:14 +04:00
trans.c hfs: add sanity check for file name length 2011-11-15 14:29:42 -02:00