xfs
[Top] [All Lists]

TAKE - fix an xfs memory deadlock case

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - fix an xfs memory deadlock case
From: Steve Lord <lord@xxxxxxx>
Date: Tue, 20 Aug 2002 14:28:54 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
We could double trip on the inode lock down this path, ensure
that we do not come back into the filesystem when allocating
memory for in core extents.

Date:  Tue Aug 20 12:30:07 PDT 2002
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:125481a
linux/fs/xfs/xfs_inode.c - 1.347
        - when reallocating extent memory, do not call back into the
          filesystem, there is a deadlock down this path since we generally
          hold the ilock at this point. Use the new KM_NOFS flag.

linux/fs/xfs/support/kmem.h - 1.11
        - define KM_NOFS, remove some unused flags

linux/fs/xfs/support/kmem.c - 1.20
        - add a new flag to the supported set of passed in flags.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - fix an xfs memory deadlock case, Steve Lord <=