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

Greg Freemyer
2011-09-07T16:45:34Z

On Wed, Sep 7, 2011 at 2:40 AM, Christoph Hellwig <hch@infradead.org> 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

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