kernel-hacking-2024-linux-s.../fs/ext4
Aneesh Kumar K.V 1a89734d40 ext4: Return unwritten buffer head when trying to read from prealloc space.
ext4_ext_get_blocks() returns the number of blocks allocated with buffer
head unmapped for a read from prealloc space.  This is needed so that
delayed allocation doesn't do block reservation for prealloc space
since the blocks are already reserved on disk.  Mark the buffer head
unwritten.  Some code paths try to read the block if the buffer_head is
not new and no uptodate.  Marking the buffer head unwritten avoids this
reading.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-04-29 08:11:12 -04:00
..
acl.c
acl.h
balloc.c ext[234]: cleanup ext[234]_bg_num_gdb() 2008-02-06 10:41:21 -08:00
bitmap.c fs: mark nibblemap const 2007-10-17 08:42:47 -07:00
dir.c Remove incorrect BKL comments in ext4 2008-02-25 17:20:46 -05:00
ext4_jbd2.c
extents.c ext4: Return unwritten buffer head when trying to read from prealloc space. 2008-04-29 08:11:12 -04:00
file.c ext4: store maxbytes for bitmapped files and return EFBIG as appropriate 2008-01-28 23:58:27 -05:00
fsync.c ext4: fdatasync should skip metadata writeout when overwriting 2008-04-17 10:38:59 -04:00
group.h ext4: add ext4_group_t, and change all group variables to this type. 2008-01-28 23:58:27 -05:00
hash.c
ialloc.c ext4: Enable extent format for symlinks. 2008-04-29 08:11:12 -04:00
inode.c ext4: Fix race between migration and mmap write 2008-04-29 08:11:12 -04:00
ioctl.c [PATCH] r/o bind mounts: elevate write count for ioctls() 2008-04-19 00:29:24 -04:00
Makefile ext4: Add multi block allocator for ext4 2008-01-29 00:19:52 -05:00
mballoc.c ext4: use non-racy method for proc entries creation 2008-04-29 08:06:20 -07:00
migrate.c ext4: Fix race between migration and mmap write 2008-04-29 08:11:12 -04:00
namei.c ext4: Enable extent format for symlinks. 2008-04-29 08:11:12 -04:00
namei.h
resize.c ext4: add missing ext4_journal_stop() 2008-02-25 15:37:42 -05:00
super.c ext4: fix mount option parsing 2008-04-29 22:05:28 -04:00
symlink.c
xattr.c vfs: fix possible deadlock in ext2, ext3, ext4 when using xattrs 2008-04-15 19:35:41 -07:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c