From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Zefan Subject: Re: 2.6.38 defragment compression oops... Date: Mon, 28 Mar 2011 14:58:04 +0800 Message-ID: <4D90317C.8040409@cn.fujitsu.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Linux BTRFS , Chris Mason , Josef Bacik To: Daniel J Blueman Return-path: In-Reply-To: List-ID: Daniel J Blueman wrote: > I found that I'm able to provoke undefined behaviour with 2.6.38 with > extent defragmenting + recompression, eg: > > mkfs.btrfs /dev/sdb > mount /dev/sdb /mnt > cp -xa / /mnt > find /mnt -print0 | xargs -0 btrfs filesystem defragment -vc > > After a short time, I was seeing what looked like a secondary effect > [1]. Reproducing with lock instrumentation reported recursive spinlock > acquisition, probably a false-positive from the locking scheme not > being annotated, so better report it now. > Thanks for the report! I'll investigate this.