xfs
[Top] [All Lists]

TAKE 938502 - xfs_bmapi does not free space after ENOSPC

To: sgi.bugs.xfs@xxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
Subject: TAKE 938502 - xfs_bmapi does not free space after ENOSPC
From: dgc@xxxxxxx (David Chinner)
Date: Fri, 24 Jun 2005 16:43:19 +1000 (EST)
Sender: linux-xfs-bounce@xxxxxxxxxxx
Prevent the incore superblock sb_fdblocks count from leaking
when we are getting ENOSPC errors on writes. When we fail to
allocate space for indirect blocks in xfs_bmapi() make sure
we release the direct block allocation before returning.

Date:  Fri Jun 24 16:36:10 AEST 2005
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  nathans

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


Modid:  xfs-linux-melb:xfs-kern:22986a
fs/xfs/xfs_bmap.c - 1.326 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap.c.diff?r1=text&tr1=1.326&r2=text&tr2=1.325&f=h
        - If we fail to allocate space for indirect blocks in xfs_bmapi(),
          make sure we release the direct block allocation before returning.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 938502 - xfs_bmapi does not free space after ENOSPC, David Chinner <=