xfs
[Top] [All Lists]

Re: tasks hangs in D state while writing to xfs

To: Amit Sahrawat <amit.sahrawat83@xxxxxxxxx>
Subject: Re: tasks hangs in D state while writing to xfs
From: Marcin Mirosław <marcin@xxxxxxxx>
Date: Sat, 15 Oct 2011 19:45:25 +0200
Cc: Marcin M <gmane@xxxxxxxx>, linux-xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mejor.pl; s=cokolwiek; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=0657G13RRafzmtqM/KELI9tErgLdV7aIMGmiMwcclj8=; b=ZA7oq0Zppj3d0TyGh980YOFA9N42KnikCUviw2XPIVm+RhM81ZjFSgdGiMbFLTS77t75vIGYFraxgwWuz1pbJCenfOEWjbyn5gEIcZHDhxD1edyxj575HItORw39fjyl;
In-reply-to: <CADDb1s3pG3JPg4nceVjbs4QiCsRY+y+juY_w3eHaup=1KVMC3A@xxxxxxxxxxxxxx>
Openpgp: id=04423B81
References: <j7bs98$5bs$1@xxxxxxxxxxxxxxx> <j7bu8k$gv1$1@xxxxxxxxxxxxxxx> <CADDb1s3pG3JPg4nceVjbs4QiCsRY+y+juY_w3eHaup=1KVMC3A@xxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl-PL; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
W dniu 2011-10-15 18:04, Amit Sahrawat pisze:
> 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.

Hi Amit.
#  df -kT /dev/sda11
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/sda11     xfs     3840937   2354891   1486046  62% /mnt/cdrom

No, i only run rsync to partition located at /dev/sda11. Meseems the
main information is size of log. Maybe there is board case when log is
minimal size (such small as mkfs allow).
Regards.

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