from oss.sgi.com (oss.sgi.com [128.167.58.27])
	by eclectic.kluge.net (8.12.6/8.12.6) with ESMTP id g869GCnP027210
	for <felicity@kluge.net>; Fri, 6 Sep 2002 05:16:13 -0400
with ECARTIS (v1.0.0; list linux-xfs); Fri, 06 Sep 2002 02:11:08 -0700 (PDT)
from relay.pair.com (relay1.pair.com [209.68.1.20])
	by oss.sgi.com (8.12.5/8.12.5) with SMTP id g869B1tG021236
	for <linux-xfs@oss.sgi.com>; Fri, 6 Sep 2002 02:11:01 -0700
(qmail 546 invoked from network); 6 Sep 2002 09:15:09 -0000
from unknown (HELO mountainviewdata.com) (210.72.245.13)
  by relay1.pair.com with SMTP; 6 Sep 2002 09:15:09 -0000
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a+) Gecko/20020626

When studying xfs code(2.4.19), I found that the inode will be locked by
XFS_ILOCK_SHARE flags before we get acl, which may cause deadlock.
Because when getting acl, it will allocate memory in KM_SLEEP, If the
memory is tight, the process will call xfs_strategy, and may
lock(XFS_ILOCK_SHARE)the same inode again. If between these two locks,
another process try to lock the inode by XFS_ILOCK_EXCL, these two
processes  will be deadlock. As follows,
A process get ea                         B process want lock ipA
get acl                        2) xfs_ilock(ipA, XFS_ILOCK_EXCL)
So I believe that acl allocation GFP_MASKshould be changed to KM_NOFS.

from abv-sfo1-acmta1.CNET.COM (abv-sfo1-acmta1.cnet.com [206.16.1.160])
	by dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g6AN5mJ11564
	for <qqqqqqqqqq-zdnet@example.com>; Thu, 11 Jul 2002 00:05:48 +0100
from abv-sfo1-ac-agent1 (206.16.0.223) by abv-sfo1-acmta1.CNET.COM (PowerMTA(TM) v1.5); Wed, 10 Jul 2002 16:06:32 -0700 (envelope-from <Online#3.19690.d9-iS5vl-4yBSBWq9RR.1.b@newsletter.online.com>)
Get the Perfect Mix of ZDNet's Best Stuff!

from abv-sfo1-acmta1.CNET.COM (abv-sfo1-acmta1.cnet.com [206.16.1.160])
	by dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g6FAMMJ30493
	for <qqqqqqqqqq-zdnet@example.com>; Mon, 15 Jul 2002 11:22:22 +0100
from abv-sfo1-ac-agent7 (206.16.0.244) by abv-sfo1-acmta1.CNET.COM (PowerMTA(TM) v1.5); Mon, 15 Jul 2002 03:23:07 -0700 (envelope-from <Online#3.20034.f9-f6ASlANZLfc4HRRR.1.b@newsletter.online.com>)
ZDNet Tech Update Today <Online#3.20034.f9-f6ASlANZLfc4HRRR.1@newsletter.online.com>
What's facing FBI's new CIO? (Tech Update)