Revision 033369d1af1264abc23bea2e174aa47cdd212f6f authored by Artem Bityutskiy on 01 June 2012, 14:18:08 UTC, committed by Al Viro on 01 June 2012, 14:37:36 UTC
This patch stops reiserfs using the VFS 'write_super()' method along with the s_dirt 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 superblock 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. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 5c5fd81
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 800 bytes |
addr.c | -rw-r--r-- | 11.2 KB |
agent.c | -rw-r--r-- | 6.2 KB |
agent.h | -rw-r--r-- | 2.1 KB |
cache.c | -rw-r--r-- | 10.1 KB |
cm.c | -rw-r--r-- | 107.4 KB |
cm_msgs.h | -rw-r--r-- | 21.8 KB |
cma.c | -rw-r--r-- | 87.8 KB |
core_priv.h | -rw-r--r-- | 1.9 KB |
device.c | -rw-r--r-- | 20.1 KB |
fmr_pool.c | -rw-r--r-- | 14.2 KB |
iwcm.c | -rw-r--r-- | 28.7 KB |
iwcm.h | -rw-r--r-- | 2.3 KB |
mad.c | -rw-r--r-- | 85.4 KB |
mad_priv.h | -rw-r--r-- | 6.1 KB |
mad_rmpp.c | -rw-r--r-- | 27.0 KB |
mad_rmpp.h | -rw-r--r-- | 2.1 KB |
multicast.c | -rw-r--r-- | 22.6 KB |
netlink.c | -rw-r--r-- | 4.9 KB |
packer.c | -rw-r--r-- | 6.3 KB |
sa.h | -rw-r--r-- | 2.3 KB |
sa_query.c | -rw-r--r-- | 29.4 KB |
smi.c | -rw-r--r-- | 7.5 KB |
smi.h | -rw-r--r-- | 3.3 KB |
sysfs.c | -rw-r--r-- | 23.5 KB |
ucm.c | -rw-r--r-- | 33.5 KB |
ucma.c | -rw-r--r-- | 32.3 KB |
ud_header.c | -rw-r--r-- | 11.0 KB |
umem.c | -rw-r--r-- | 7.8 KB |
user_mad.c | -rw-r--r-- | 29.9 KB |
uverbs.h | -rw-r--r-- | 7.0 KB |
uverbs_cmd.c | -rw-r--r-- | 66.4 KB |
uverbs_main.c | -rw-r--r-- | 24.0 KB |
uverbs_marshall.c | -rw-r--r-- | 5.2 KB |
verbs.c | -rw-r--r-- | 29.3 KB |
Computing file changes ...