Thread (13 messages) 13 messages, 6 authors, 2011-09-14

Re: [BUG] ext3: cannot unfreeze a filesystem due to a deadlock

From: Greg Freemyer <hidden>
Date: 2011-09-07 16:54:20
Also in: linux-fsdevel

On Wed, Sep 7, 2011 at 2:40 AM, Christoph Hellwig [off-list ref] wrote:
On Wed, Sep 07, 2011 at 12:29:30PM +0900, Masayoshi MIZUMA wrote:
quoted
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

====
--- 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
====

That's a totally untested patch if someone wants to try it.

Greg
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help