From patchwork Wed Sep 7 16:45:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [BUG] ext3: cannot unfreeze a filesystem due to a deadlock Date: Wed, 07 Sep 2011 06:45:34 -0000 From: Greg Freemyer X-Patchwork-Id: 113797 Message-Id: To: Christoph Hellwig Cc: Masayoshi MIZUMA , Jan Kara , Andrew Morton , Andreas Dilger , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org On Wed, Sep 7, 2011 at 2:40 AM, Christoph Hellwig wrote: > On Wed, Sep 07, 2011 at 12:29:30PM +0900, Masayoshi MIZUMA wrote: >> Hi, >> >> When I checked the freeze feature for ext3 filesystem using fsfreeze >> command at 3.1.0-rc4, I think the following deadlock problem happened. >> >> How to reproduce: >>  # mkfs -t ext3 /dev/sdd1 >>  # mount /dev/sdd1 /MNT >>  # ./fsstress -d /MNT/tmp -n 10 -p 1000 > /dev/null 2>&1 & >>  # fsfreeze -f /MNT >>  # fsfreeze -u /MNT > > Can you add this testcase to xfstests? Christoph, Isn't that just a matter of extending test 068 to ext4 ==== That's a totally untested patch if someone wants to try it. Greg --- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ==== --- 068 2011-06-30 18:41:17.000000000 -0400 +++ 068.new 2011-09-07 12:41:35.000000000 -0400 @@ -51,7 +51,7 @@ . ./common.filter # real QA test starts here -_supported_fs xfs +_supported_fs xfs ext3 ext4 _supported_os Linux IRIX _require_scratch