[Top] [All Lists]

TAKE - Ensure that xfs_inactive is always called

To: unlisted-recipients:; (no To-header on input)
Subject: TAKE - Ensure that xfs_inactive is always called
From: Stephen Lord <lord@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Jul 2000 16:43:19 -0400
Sender: owner-linux-xfs@xxxxxxxxxxx
Change how iput and vn_rele are glued together, we need to ensure that all
iput calls get directed through vn_rele do we can do inactive processing
correctly. Previously vn_rele called iput, but calls to iput from outside
XFS would bypass the vn_rele code, and hence not hit xfs_inactive when the
count reached zero.

We now have VN_RELE calls vn_put - which calls iput, linvfs_put_inode
which is called out of iput will call vn_rele.

Date:  Fri Jul 14 14:35:08 PDT 2000

The following file(s) were checked into:

Modid:  2.4.0-test1-xfs:slinx:66890a
linux/fs/xfs/pseudo-inc/sys/vnode.h - 1.27
        - Make VN_RELE call vn_put instead of vn_rele - it ends up in vn_rele 
via iput

linux/fs/xfs/linux/xfs_vnode.c - 1.33
        - No longer call vn_put out of vn_rele as vn_rele is now called via iput

linux/fs/xfs/linux/xfs_super.c - 1.74
        - linvfs_put_inode now calls vn_rele.

<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - Ensure that xfs_inactive is always called, Stephen Lord <=