kernel-hacking-2024-linux-s.../fs/ext4
Theodore Ts'o 7178057730 ext4: Fix hueristic which avoids group preallocation for closed files
The hueristic was designed to avoid using locality group preallocation
when writing the last segment of a closed file.  Fix it by move
setting size to the maximum of size and isize until after we check
whether size == isize.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-09-28 00:06:20 -04:00
..
acl.c ext[234]: move over to 'check_acl' permission model 2009-09-08 11:09:04 -07:00
acl.h ext[234]: move over to 'check_acl' permission model 2009-09-08 11:09:04 -07:00
balloc.c
bitmap.c
block_validity.c
dir.c
ext4.h ext4: replace MAX_DEFRAG_SIZE with EXT_MAX_BLOCK 2009-09-17 11:55:58 -04:00
ext4_extents.h ext4: replace MAX_DEFRAG_SIZE with EXT_MAX_BLOCK 2009-09-17 11:55:58 -04:00
ext4_jbd2.c ext4: Assure that metadata blocks are written during fsync in no journal mode 2009-09-12 13:41:55 -04:00
ext4_jbd2.h
extents.c
file.c ext4: Remove syncing logic from ext4_file_write 2009-09-14 17:08:16 +02:00
fsync.c ext4: Assure that metadata blocks are written during fsync in no journal mode 2009-09-12 13:41:55 -04:00
hash.c
ialloc.c
inode.c ext4: Use ext4_msg() for ext4_da_writepage() errors 2009-09-26 17:43:59 -04:00
ioctl.c ext4: Return exchanged blocks count to user space in failure 2009-09-05 22:46:29 -04:00
Kconfig
Makefile
mballoc.c ext4: Fix hueristic which avoids group preallocation for closed files 2009-09-28 00:06:20 -04:00
mballoc.h
migrate.c ext4: store EXT4_EXT_MIGRATE in i_state instead of i_flags 2009-09-17 08:32:22 -04:00
move_extent.c ext4: replace MAX_DEFRAG_SIZE with EXT_MAX_BLOCK 2009-09-17 11:55:58 -04:00
namei.c ext4: Always set dx_node's fake_dirent explicitly. 2009-09-10 23:16:07 -04:00
resize.c ext4: Clarify the locking details in mballoc 2009-09-09 23:50:17 -04:00
super.c const: make struct super_block::s_qcop const 2009-09-22 07:17:24 -07:00
symlink.c
xattr.c ext4: limit block allocations for indirect-block files to < 2^32 2009-09-16 14:45:10 -04:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c