linux/fs/ext4
Theodore Ts'o a0375156ca ext4: Clean up s_dirt handling
We don't need to set s_dirt in most of the ext4 code when journaling
is enabled.  In ext3/4 some of the summary statistics for # of free
inodes, blocks, and directories are calculated from the per-block
group statistics when the file system is mounted or unmounted.  As a
result the superblock doesn't have to be updated, either via the
journal or by setting s_dirt.  There are a few exceptions, most
notably when resizing the file system, where the superblock needs to
be modified --- and in that case it should be done as a journalled
operation if possible, and s_dirt set only in no-journal mode.

This patch will optimize out some unneeded disk writes when using ext4
with a journal.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-06-11 23:14:04 -04:00
..
acl.c ext4: constify xattr_handler 2010-05-21 18:31:19 -04:00
acl.h ext[234]: move over to 'check_acl' permission model 2009-09-08 11:09:04 -07:00
balloc.c ext4: Clean up s_dirt handling 2010-06-11 23:14:04 -04:00
bitmap.c
block_validity.c ext4: Drop whitespace at end of lines 2010-05-17 07:00:00 -04:00
dir.c ext4: Use bitops to read/modify i_flags in struct ext4_inode_info 2010-05-16 22:00:00 -04:00
ext4_extents.h ext4: Calculate metadata requirements more accurately 2010-01-01 02:41:30 -05:00
ext4_jbd2.c ext4: Clean up s_dirt handling 2010-06-11 23:14:04 -04:00
ext4_jbd2.h ext4: Clean up s_dirt handling 2010-06-11 23:14:04 -04:00
ext4.h ext4: Clean up s_dirt handling 2010-06-11 23:14:04 -04:00
extents.c ext4: Drop whitespace at end of lines 2010-05-17 07:00:00 -04:00
file.c ext4: Clean up s_dirt handling 2010-06-11 23:14:04 -04:00
fsync.c rename the generic fsync implementations 2010-05-27 22:06:06 -04:00
hash.c
ialloc.c ext4: Clean up s_dirt handling 2010-06-11 23:14:04 -04:00
inode.c ext4: Fix remaining racy updates of EXT4_I(inode)->i_flags 2010-06-05 11:51:27 -04:00
ioctl.c ext4: Drop whitespace at end of lines 2010-05-17 07:00:00 -04:00
Kconfig ext4: Don't ask about supporting ext2/3 in ext4 if ext4 is not configured 2009-12-21 10:54:09 -05:00
Makefile ext4: online defrag -- Add EXT4_IOC_MOVE_EXT ioctl 2009-06-17 19:24:03 -04:00
mballoc.c ext4: Clean up s_dirt handling 2010-06-11 23:14:04 -04:00
mballoc.h ext4: consolidate in_range() definitions 2010-03-03 23:55:01 -05:00
migrate.c ext4: Use bitops to read/modify i_flags in struct ext4_inode_info 2010-05-16 22:00:00 -04:00
move_extent.c ext4: Make sure the MOVE_EXT ioctl can't overwrite append-only files 2010-06-02 22:04:39 -04:00
namei.c ext4: Make fsync sync new parent directories in no-journal mode 2010-05-17 08:00:00 -04:00
resize.c ext4: Clean up s_dirt handling 2010-06-11 23:14:04 -04:00
super.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2010-05-30 09:11:11 -07:00
symlink.c ext4: symlink must be handled via filesystem specific operation 2010-05-16 02:00:00 -04:00
xattr_security.c ext4: constify xattr_handler 2010-05-21 18:31:19 -04:00
xattr_trusted.c ext4: constify xattr_handler 2010-05-21 18:31:19 -04:00
xattr_user.c ext4: constify xattr_handler 2010-05-21 18:31:19 -04:00
xattr.c ext4: Clean up s_dirt handling 2010-06-11 23:14:04 -04:00
xattr.h ext4: constify xattr_handler 2010-05-21 18:31:19 -04:00