]> git.baikalelectronics.ru Git - kernel.git/commit
ext3: retry block allocation if new blocks are allocated from system zone
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 28 Apr 2008 09:16:14 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:45 +0000 (08:58 -0700)
commit3d03e9e433799c3c5f36ecaebe0f048ef2628811
tree45b1ff7b854bdb99a91e49f4753aaa9a389ffa17
parent892bffbf8e121fe21efae931b29675a1e16763d4
ext3: retry block allocation if new blocks are allocated from system zone

If the block allocator gets blocks out of system zone ext3 calls ext3_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.

[akpm@linux-foundation.org: fix typo in comment]
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/balloc.c