]> git.baikalelectronics.ru Git - kernel.git/commit
[GFS2] Add extent allocation to block allocator
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 6 Feb 2008 10:11:15 +0000 (10:11 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2008 09:40:47 +0000 (10:40 +0100)
commit17957d1110a89a784ba69296e743c96198d114f0
treec139447fa57beb3886def4e17449cc34bf40cf3c
parent831904dd17a7e130813c6fd0901dbf967980d536
[GFS2] Add extent allocation to block allocator

Rather than having to allocate a single block at a time, this patch
allows the block allocator to allocate an extent. Since there is
no difference (so far as the block allocator is concerned) between
data blocks and indirect blocks, it is posible to allocate a single
extent and for the caller to unrevoke just the blocks required
for indirect blocks.

Currently the only bit of GFS2 to make use of this feature is the
build height function. The intention is that gfs2_block_map will
be changed to make use of this feature in future patches.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/dir.c
fs/gfs2/eattr.c
fs/gfs2/rgrp.c
fs/gfs2/rgrp.h