public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.30-stable] jfs: fix regression preventing coalescing of extents
@ 2009-06-17 13:35 Dave Kleikamp
  2009-06-29 21:01 ` [stable] " Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Kleikamp @ 2009-06-17 13:35 UTC (permalink / raw)
  To: stable@kernel.org; +Cc: LKML

Please pick up this patch for the 2.6.30 stable branch.  It has been
committed to mainline as f7c52fd17a7dda42fc9e88c2b2678403419bfe63.
    
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>

diff --git a/fs/jfs/jfs_extent.c b/fs/jfs/jfs_extent.c
index bbbd5f2..41d6045 100644
--- a/fs/jfs/jfs_extent.c
+++ b/fs/jfs/jfs_extent.c
@@ -391,6 +391,7 @@ int extHint(struct inode *ip, s64 offset, xad_t * xp)
 		}
 		XADaddress(xp, xaddr);
 		XADlength(xp, xlen);
+		XADoffset(xp, prev);
 		/*
 		 * only preserve the abnr flag within the xad flags
 		 * of the returned hint.

-- 
David Kleikamp
IBM Linux Technology Center


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [stable] [PATCH 2.6.30-stable] jfs: fix regression preventing coalescing of extents
  2009-06-17 13:35 [PATCH 2.6.30-stable] jfs: fix regression preventing coalescing of extents Dave Kleikamp
@ 2009-06-29 21:01 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2009-06-29 21:01 UTC (permalink / raw)
  To: Dave Kleikamp; +Cc: stable@kernel.org, LKML

On Wed, Jun 17, 2009 at 08:35:21AM -0500, Dave Kleikamp wrote:
> Please pick up this patch for the 2.6.30 stable branch.  It has been
> committed to mainline as f7c52fd17a7dda42fc9e88c2b2678403419bfe63.

Now queued up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-29 21:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17 13:35 [PATCH 2.6.30-stable] jfs: fix regression preventing coalescing of extents Dave Kleikamp
2009-06-29 21:01 ` [stable] " Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox