ext4: Don't reuse released data blocks until transaction commits
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 11 Oct 2008 00:13:31 +0000 (20:13 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 11 Oct 2008 00:13:31 +0000 (20:13 -0400)
commita1aebc1e2da9a7bee4ff8cce510b08f469d1929e
treeb16ea9325a9a6edd0ce66ea20bc3e0b25236a897
parentc894058d66637c7720569fbe12957f4de64d9991
ext4: Don't reuse released data blocks until transaction commits

We need to make sure we don't reuse the data blocks released
during the transaction untill the transaction commits. We force
this mode only for ordered and journalled mode. Writeback mode
already don't provided data consistency.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/balloc.c