linux-stable/fs/hfsplus
Artem Bityutskiy 9e6c5829b0 hfsplus: get rid of write_super
This patch makes hfsplus 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:04 +04:00
..
bfind.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
bitmap.c hfsplus: get rid of write_super 2012-07-22 23:58:04 +04:00
bnode.c hfsplus: %L-to-%ll, macro correction, and remove unneeded braces 2010-12-16 18:08:46 +01:00
brec.c hfsplus: Add additional range check to handle on-disk corruptions 2011-07-22 16:36:56 +02:00
btree.c hfsplus: over 80 character lines clean-up 2010-12-16 18:08:45 +01:00
catalog.c hfsplus: Fix potential buffer overflows 2012-05-04 17:11:24 -07:00
dir.c hfsplus: get rid of write_super 2012-07-22 23:58:04 +04:00
extents.c hfsplus: Add error propagation for hfsplus_ext_write_extent_locked 2011-07-07 17:45:46 +02:00
hfsplus_fs.h hfsplus: get rid of write_super 2012-07-22 23:58:04 +04:00
hfsplus_raw.h hfsplus: change finder_info to u32 2012-03-20 21:29:52 -04:00
inode.c hfsplus: get rid of write_super 2012-07-22 23:58:04 +04:00
ioctl.c hfsplus: fix bless ioctl when used with hardlinks 2012-06-17 14:39:59 -07:00
Kconfig fs/Kconfig: move hfs, hfsplus out 2009-01-22 13:15:57 +03:00
Makefile
options.c vfs: switch ->show_options() to struct dentry * 2012-01-06 23:19:54 -05:00
part_tbl.c hfsplus: ensure bio requests are not smaller than the hardware sectors 2011-07-22 16:37:44 +02:00
super.c hfsplus: get rid of write_super 2012-07-22 23:58:04 +04:00
tables.c
unicode.c hfsplus: assignments inside `if' condition clean-up 2011-06-30 13:40:58 +02:00
wrapper.c hfsplus: fix overflow in sector calculations in hfsplus_submit_bio 2012-06-17 14:39:45 -07:00