]> git.baikalelectronics.ru Git - kernel.git/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)
commit0ea8c442fb7155af70a4957b556c2a9f89a76243
tree1d4f06fa7bdadf025159ff5408f14080552a0cb0
parent649b981f3aa6471bf24cee101c9d2578a87753ef
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