xfs
[Top] [All Lists]

TAKE - close window between inode activation and deactivation

Subject: TAKE - close window between inode activation and deactivation
From: Steve Lord <lord@xxxxxxx>
Date: Tue, 10 Jul 2001 15:07:20 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
If one thread is removing an inode from the system via prune_icache and
another thread is looking it up at the same time and then unlink it, it
is possible for xfs to silently corrupt the filesystem by unlinking the
inode but not returning it to the free pool. This does not cause problems
except for the space leak and xfs_repair can fix it.

This change should effectively remove the window.

Date:  Tue Jul 10 12:56:22 PDT 2001
Workarea:  jen.americas.sgi.com:/src/lord/xfs-linux.2.4

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs


Modid:  2.4.x-xfs:slinx:98576a
linux/fs/xfs/xfs_iget.c - 1.146
linux/fs/xfs/linux/xfs_vnode.c - 1.66
linux/fs/xfs/linux/xfs_vnode.h - 1.21
        - Add more synchronization between the inactive path
          and threads activating vnodes.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - close window between inode activation and deactivation, Steve Lord <=