xfs
[Top] [All Lists]

TAKE 909874 - make inode reclaim synchronise with xfs_iflush_done()

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: TAKE 909874 - make inode reclaim synchronise with xfs_iflush_done()
From: lachlan@xxxxxxx (Lachlan McIlroy)
Date: Fri, 8 Feb 2008 17:43:00 +1100 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
make inode reclaim synchronise with xfs_iflush_done()

On a forced shutdown, xfs_finish_reclaim() will skip flushing the inode.
If the inode flush lock is not already held and there is an outstanding
xfs_iflush_done() then we might free the inode prematurely.  By acquiring
and releasing the flush lock we will synchronise with xfs_iflush_done().


Date:  Fri Feb  8 17:40:49 AEDT 2008
Workarea:  redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-free
Inspected by:  dgc
Author:  lachlan

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


Modid:  xfs-linux-melb:xfs-kern:30468a
fs/xfs/xfs_vnodeops.c - 1.731 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vnodeops.c.diff?r1=text&tr1=1.731&r2=text&tr2=1.730&f=h
        - make inode reclaim synchronise with xfs_iflush_done()




<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 909874 - make inode reclaim synchronise with xfs_iflush_done(), Lachlan McIlroy <=