]> err.no Git - linux-2.6/commit
ext4: Retry block allocation if new blocks are allocated from system zone.
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 15 May 2008 18:43:20 +0000 (14:43 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 15 May 2008 18:43:20 +0000 (14:43 -0400)
commit519deca0496a4df07d15acf3181ca5d573bffdec
treede86a407e1ea429fde16bc85d4587ebe4aa8194b
parent1930479c4b6bbcb6f164a5b3498e0d98329967f4
ext4: Retry block allocation if new blocks are allocated from system zone.

If the block allocator gets blocks out of system zone ext4 calls
ext4_error. But if the file system is mounted with errors=continue
retry block allocation. We need to mark the system zone blocks as
in use to make sure retry don't pick them again

System zone is the block range mapping block bitmap, inode bitmap and inode
table.

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>
fs/ext4/balloc.c
fs/ext4/mballoc.c