commit | 8b06bc592ebc5a31e8d0b9c2ab17c6e78dde1f86 | [log] [tgz] |
---|---|---|
author | Joel Becker <joel.becker@oracle.com> | Fri Mar 26 10:09:29 2010 +0800 |
committer | Tao Ma <tao.ma@oracle.com> | Fri Mar 26 10:09:29 2010 +0800 |
tree | b05dc205b03329aa3e0c0963b76317fc91973a04 | |
parent | 2b6cb576aa80611f1f6a3c88708d1e68a8d97985 [diff] |
ocfs2: Grow discontig block groups in one transaction. Rather than extending the transaction every time we add an extent to a discontiguous block group, we grab enough credits to fill the extent list up front. This means we can free the bits in the same transaction if we end up not getting enough space. Signed-off-by: Joel Becker <joel.becker@oracle.com>