]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
jfs: fix regression preventing coalescing of extents
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>
Tue, 16 Jun 2009 18:43:22 +0000 (13:43 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:49:52 +0000 (16:49 -0700)
commit206f0f05bdc291a9358ba59248e2bc44e8b3127d
tree5f21e29c58c03fb7a5bf301462d5f8d3ddc1ccb6
parent1a9d44556c1f6799249456c319ec257e0c2548af
jfs: fix regression preventing coalescing of extents

commit f7c52fd17a7dda42fc9e88c2b2678403419bfe63 upstream.

Commit fec1878fe952b994125a3be7c94b1322db586f3b caused a regression in
which contiguous blocks being allocated to the end of an extent were
getting a new extent created.  This typically results in files entirely
made up of 1-block extents even though the blocks are contiguous on
disk.

Apparently grub doesn't handle a jfs file being fragmented into too many
extents, since it refuses to boot a kernel from jfs that was created by
the 2.6.30 kernel.

Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Reported-by: Alex <alevkovich@tut.by>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/jfs/jfs_extent.c