remarkable-linux/fs/ext4
Aneesh Kumar K.V 68629f29c6 ext4: Fix ext4 nomballoc allocator for ENOSPC
We run into ENOSPC error on nonmballoc ext4, even when there is free blocks
on the filesystem.

The patch includes two changes:

a) Set reservation to NULL if we trying to allocate near group_target_block
from the goal group if the free block in the group is less than windows.
This should give us a better chance to allocate near group_target_block.
This also ensures that if we are not allocating near group_target_block
then we don't trun off reservation. This should enable us to allocate
with reservation from other groups that have large free blocks count.

b) we don't need to check the window size if the block reservation is off.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-09-08 23:09:17 -04:00
..
acl.c [PATCH] sanitize ->permission() prototype 2008-07-26 20:53:14 -04:00
acl.h ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
balloc.c ext4: Fix ext4 nomballoc allocator for ENOSPC 2008-09-08 23:09:17 -04:00
bitmap.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
dir.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
ext4.h ext4: Make sure all the block allocation paths reserve blocks 2008-10-09 10:56:23 -04:00
ext4_extents.h ext4: journal credits reservation fixes for extent file writepage 2008-08-19 22:16:05 -04:00
ext4_i.h ext4: delayed allocation ENOSPC handling 2008-07-14 17:52:37 -04:00
ext4_jbd2.c
ext4_jbd2.h ext4: journal credits calulation cleanup and fix for non-extent writepage 2008-08-19 22:16:07 -04:00
ext4_sb.h ext4: Add percpu dirty block accounting. 2008-10-10 09:39:00 -04:00
extents.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
file.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
fsync.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
group.h ext4: Rename read_block_bitmap() to ext4_read_block_bitmap() 2008-07-11 19:27:31 -04:00
hash.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
ialloc.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
inode.c ext4: Switch to non delalloc mode when we are low on free blocks count. 2008-10-08 23:13:30 -04:00
ioctl.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
Makefile
mballoc.c ext4: Add percpu dirty block accounting. 2008-10-10 09:39:00 -04:00
mballoc.h ext4: Don't allow lg prealloc list to be grow large. 2008-07-23 14:14:05 -04:00
migrate.c ext4: journal credits reservation fixes for extent file writepage 2008-08-19 22:16:05 -04:00
namei.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
namei.h
resize.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
super.c ext4: Add percpu dirty block accounting. 2008-10-10 09:39:00 -04:00
symlink.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
xattr.c ext4: Cleanup whitespace and other miscellaneous style issues 2008-07-26 16:15:44 -04:00
xattr.h ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
xattr_security.c
xattr_trusted.c ext4: remove double definitions of xattr macros 2008-07-11 19:27:31 -04:00
xattr_user.c ext4: remove double definitions of xattr macros 2008-07-11 19:27:31 -04:00