]> git.baikalelectronics.ru Git - kernel.git/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)
commitb9d3757f251f4b1e2b7036fd6b9bd16d3afd9441
treede86a407e1ea429fde16bc85d4587ebe4aa8194b
parent4467d0bea0ff7191c6886e8045b1284fb43f1924
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