X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, J_CHICKENPOX_52,J_CHICKENPOX_62,T_DKIM_INVALID autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p9FG4g7a116194 for ; Sat, 15 Oct 2011 11:04:43 -0500 X-ASG-Debug-ID: 1318694681-2a9903960000-w1Z2WR X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail-ey0-f181.google.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 0449C1E9439B for ; Sat, 15 Oct 2011 09:04:41 -0700 (PDT) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) by cuda.sgi.com with ESMTP id JQEIUUHjDdJRAxQb for ; Sat, 15 Oct 2011 09:04:41 -0700 (PDT) Received: by eyx24 with SMTP id 24so2357759eyx.26 for ; Sat, 15 Oct 2011 09:04:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4L7cCBov2FGDI792Zs9ceA8kf0U87mvwtEPOXMSQnkc=; b=Sx6WfJvYUHEYH6L6px0SB29kRjVc4G5rQUEsNl+LF9TUFulYz6dtLz1mBvFBfo9bo1 bMQMtcWOtPULLZ/O+5wdd+tV0G4islEmnbtY4YftR7gqjctcg/kR1cQFL5Z/B9XmwQjw ag/Hi1DJO2lvKPNtvAFIK1th2lsEB7WqtZWkc= MIME-Version: 1.0 Received: by 10.223.16.82 with SMTP id n18mr11631643faa.2.1318694680726; Sat, 15 Oct 2011 09:04:40 -0700 (PDT) Received: by 10.152.22.72 with HTTP; Sat, 15 Oct 2011 09:04:40 -0700 (PDT) In-Reply-To: References: Date: Sat, 15 Oct 2011 21:34:40 +0530 Message-ID: X-ASG-Orig-Subj: Re: tasks hangs in D state while writing to xfs Subject: Re: tasks hangs in D state while writing to xfs From: Amit Sahrawat To: Marcin M Cc: linux-xfs@oss.sgi.com Content-Type: text/plain; charset=ISO-8859-1 X-Barracuda-Connect: mail-ey0-f181.google.com[209.85.215.181] X-Barracuda-Start-Time: 1318694682 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0329 1.0000 -1.8085 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.81 X-Barracuda-Spam-Status: No, SCORE=-1.81 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=DKIM_SIGNED, DKIM_VERIFIED X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.77417 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- -0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes verification 0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hi Marcin, Can you share the Free blocks for the disk at the time of this issue(df -k)? It seems that the disk do not have enough free space to reserve a transaction. Also, the logs also seems to be mixed. The stucked position really seems to be : Function: xlog_grant_log_space() /* Is there space or do we need to sleep? */ spin_lock(&log->l_grant_lock); Is there any other activity which was done on the disk before you observed these hang traces?At first it does seems to hang XFS, next if you issue a 'sync' you will observe that sync will also turn to TASK_UNINTERRUPTIBLE 'D' state. Thanks & Regards, Amit Sahrawat On Sat, Oct 15, 2011 at 5:58 PM, Marcin M wrote: > One more thing, probably doesn't have matter, this is Xen HVM. > > _______________________________________________ > xfs mailing list > xfs@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/xfs >