xfs
[Top] [All Lists]

Re: tasks hangs in D state while writing to xfs

To: Marcin M <gmane@xxxxxxxx>
Subject: Re: tasks hangs in D state while writing to xfs
From: Amit Sahrawat <amit.sahrawat83@xxxxxxxxx>
Date: Sat, 15 Oct 2011 21:34:40 +0530
Cc: linux-xfs@xxxxxxxxxxx
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=
In-reply-to: <j7bu8k$gv1$1@xxxxxxxxxxxxxxx>
References: <j7bs98$5bs$1@xxxxxxxxxxxxxxx> <j7bu8k$gv1$1@xxxxxxxxxxxxxxx>
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 <gmane@xxxxxxxx> wrote:
> One more thing, probably doesn't have matter, this is Xen HVM.
>
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs
>

<Prev in Thread] Current Thread [Next in Thread>