diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-06-10 12:56:33 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-07-07 02:32:07 +0200 |
commit | 140236b4b1c749c9b795ea3d11558a0eb5a3a080 (patch) | |
tree | b720aa99ca2fc8bc012777c98d321b994c1730d7 /arch/x86/lib/memset_64.S | |
parent | Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
download | linux-140236b4b1c749c9b795ea3d11558a0eb5a3a080.tar.xz linux-140236b4b1c749c9b795ea3d11558a0eb5a3a080.zip |
VFS: introduce s_dirty accessors
This patch introduces 3 VFS accessors: 'sb_mark_dirty()',
'sb_mark_clean()', and 'sb_is_dirty()'. They simply
set 'sb->s_dirt' or test 'sb->s_dirt'. The plan is to make
every FS use these accessors later instead of manipulating
the 'sb->s_dirt' flag directly.
Ultimately, this change is a preparation for the periodic
superblock synchronization optimization which is about
preventing the "sync_supers" kernel thread from waking up
even if there is nothing to synchronize.
This patch does not do any functional change, just adds
accessor functions.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/lib/memset_64.S')
0 files changed, 0 insertions, 0 deletions