]> err.no Git - linux-2.6/commit
ocfs2: allocation hints
authorMark Fasheh <mark.fasheh@oracle.com>
Mon, 5 Jun 2006 20:41:00 +0000 (16:41 -0400)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 7 Aug 2006 18:07:01 +0000 (11:07 -0700)
commit883d4cae4a2b01a05193cf2665c77b7489a8b6a0
tree1d4f06fa7bdadf025159ff5408f14080552a0cb0
parent7bf72edee614e10b8d470c40a326f47bfdd69992
ocfs2: allocation hints

Record the most recently used allocation group on the allocation context, so
that subsequent allocations can attempt to optimize for contiguousness.
Local alloc especially should benefit from this as the current chain search
tends to let it spew across the disk.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/localalloc.c
fs/ocfs2/ocfs2.h
fs/ocfs2/suballoc.c
fs/ocfs2/suballoc.h