xfs
[Top] [All Lists]

TAKE 965631 - xfs_bmapi() fails to update previous extent pointer

To: xfs@xxxxxxxxxxx, sgi.bugs.xfs@xxxxxxxxxxxx
Subject: TAKE 965631 - xfs_bmapi() fails to update previous extent pointer
From: dgc@xxxxxxx (David Chinner)
Date: Mon, 4 Jun 2007 16:15:17 +1000 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
xfs_bmapi fails to update the previous extent pointer

When processing multiple extent maps, xfs_bmapi needs to keep
track of the extent behind the one it is currently working on
to be able to trim extent ranges correctly. Failing to update
the previous pointer can result in corrupted extent lists
in memory and this will result in panics or assert failures.

Update the previous pointer correctly when we move to the
next extent to process.

Date:  Mon Jun  4 16:14:47 AEST 2007
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  vapo@xxxxxxx

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:28773a
fs/xfs/xfs_bmap.c - 1.368 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap.c.diff?r1=text&tr1=1.368&r2=text&tr2=1.367&f=h
        - Update the previous extent pointer correctly in xfs_bmapi.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 965631 - xfs_bmapi() fails to update previous extent pointer, David Chinner <=