kernel-hacking-2024-linux-s.../fs/ext4
Jan Kara eb9cc7e16b ext4: move quota initialization out of inode allocation transaction
Inode allocation transaction is pretty heavy (246 credits with quotas
and extents before previous patch, still around 200 after it).  This is
mostly due to credits required for allocation of quota structures
(credits there are heavily overestimated but it's difficult to make
better estimates if we don't want to wire non-trivial assumptions about
quota format into filesystem).

So move quota initialization out of allocation transaction. That way
transaction for quota structure allocation will be started only if we
need to look up quota structure on disk (rare) and furthermore it will
be started for each quota type separately, not for all of them at once.
This reduces maximum transaction size to 34 is most cases and to 73 in
the worst case.

[ Modified by tytso to clean up the cleanup paths for error handling.
  Also use a separate call to ext4_std_error() for each failure so it
  is easier for someone who is debugging a problem in this function to
  determine which function call failed. ]

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-04-19 13:38:14 -04:00
..
acl.c ext4: fix the number of credits needed for acl ops with inline data 2013-02-09 15:23:03 -05:00
acl.h
balloc.c ext4: introduce reserved space 2013-04-09 22:11:22 -04:00
bitmap.c ext4: Checksum the block bitmap properly with bigalloc enabled 2012-10-22 00:34:32 -04:00
block_validity.c
dir.c Various bug fixes for ext4. The most important is a fix for the new 2013-03-02 19:33:21 -08:00
ext4.h ext4: use io_end for multiple bios 2013-04-11 23:56:53 -04:00
ext4_extents.h ext4: remove single extent cache 2013-02-18 00:31:07 -05:00
ext4_jbd2.c ext4: add might_sleep() annotations 2013-04-03 22:00:52 -04:00
ext4_jbd2.h ext4: improve credit estimate for EXT4_SINGLEDATA_TRANS_BLOCKS 2013-04-09 12:39:26 -04:00
extents.c ext4: move ext4_ind_migrate() into migrate.c 2013-04-10 23:32:52 -04:00
extents_status.c ext4: update extent status tree after an extent is zeroed out 2013-03-10 21:13:05 -04:00
extents_status.h ext4: update extent status tree after an extent is zeroed out 2013-03-10 21:13:05 -04:00
file.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
fsync.c ext4/jbd2: don't wait (forever) for stale tid caused by wraparound 2013-04-03 22:02:52 -04:00
hash.c ext4: reduce one "if" comparison in ext4_dirhash() 2013-02-01 22:33:21 -05:00
ialloc.c ext4: move quota initialization out of inode allocation transaction 2013-04-19 13:38:14 -04:00
indirect.c ext4: refactor truncate code 2013-04-03 12:47:17 -04:00
inline.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-02-26 20:16:07 -08:00
inode.c ext4: use io_end for multiple bios 2013-04-11 23:56:53 -04:00
ioctl.c ext4: fix usless declarations 2013-04-09 22:48:36 -04:00
Kconfig ext4: fix configuration dependencies for ext4 ACLs and security labels 2013-01-06 23:38:44 -05:00
Makefile ext4: Remove CONFIG_EXT4_FS_XATTR 2012-12-10 16:30:43 -05:00
mballoc.c ext4: fix usless declarations 2013-04-09 22:48:36 -04:00
mballoc.h ext4: use module parameters instead of debugfs for mballoc_debug 2013-02-09 16:28:20 -05:00
migrate.c ext4: do not convert to indirect with bigalloc enabled 2013-04-11 10:54:46 -04:00
mmp.c ext4: fix big-endian bug in metadata checksum calculations 2013-04-09 23:56:48 -04:00
move_extent.c ext4: defragmentation code cleanup 2013-04-11 23:24:58 -04:00
namei.c ext4: move quota initialization out of inode allocation transaction 2013-04-19 13:38:14 -04:00
page-io.c ext4: clear buffer_uninit flag when submitting IO 2013-04-12 00:03:19 -04:00
resize.c ext4: introduce ext4_get_group_number() 2013-04-03 23:32:34 -04:00
super.c ext4: Use kstrtoul() instead of parse_strtoul() 2013-04-11 23:37:19 -04:00
symlink.c ext4: Remove CONFIG_EXT4_FS_XATTR 2012-12-10 16:30:43 -05:00
truncate.h
xattr.c ext4: fix miscellaneous big endian warnings 2013-04-09 23:59:55 -04:00
xattr.h ext4: reserve xattr index for Rich ACL support 2013-04-18 14:53:15 -04:00
xattr_security.c
xattr_trusted.c
xattr_user.c