ocfs2: Grow discontig block groups in one transaction.
authorJoel Becker <joel.becker@oracle.com>
Fri, 26 Mar 2010 02:09:29 +0000 (10:09 +0800)
committerTao Ma <tao.ma@oracle.com>
Fri, 26 Mar 2010 02:09:29 +0000 (10:09 +0800)
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>
fs/ocfs2/journal.h
fs/ocfs2/suballoc.c

Simple merge
Simple merge