Re: [report] lockdep warning when mounting seed device

2021-03-02 Thread David Sterba
On Tue, Mar 02, 2021 at 01:04:19PM +0800, Anand Jain wrote: > On 26/02/2021 23:10, David Sterba wrote: > > On Fri, Feb 26, 2021 at 01:01:02PM +0800, Anand Jain wrote: > >> On 25/02/2021 12:39, Su Yue wrote: > >>> > >>> While playing with seed device(misc/next and v5.11), lockdep complains > >>> the

Re: [report] lockdep warning when mounting seed device

2021-03-02 Thread Anand Jain
On 26/02/2021 23:10, David Sterba wrote: On Fri, Feb 26, 2021 at 01:01:02PM +0800, Anand Jain wrote: On 25/02/2021 12:39, Su Yue wrote: While playing with seed device(misc/next and v5.11), lockdep complains the following: To reproduce: dev1=/dev/sdb1 dev2=/dev/sdb2 umount /mnt mkfs.btrfs -

Re: [report] lockdep warning when mounting seed device

2021-02-26 Thread damenly
> On Feb 27, 2021, at 09:12, Chris Murphy wrote: > > On Wed, Feb 24, 2021 at 9:40 PM Su Yue wrote: >> >> >> While playing with seed device(misc/next and v5.11), lockdep >> complains the following: >> >> To reproduce: >> >> dev1=/dev/sdb1 >> dev2=/dev/sdb2 >> >> umount /mnt >> >> mkfs.bt

Re: [report] lockdep warning when mounting seed device

2021-02-26 Thread Chris Murphy
On Wed, Feb 24, 2021 at 9:40 PM Su Yue wrote: > > > While playing with seed device(misc/next and v5.11), lockdep > complains the following: > > To reproduce: > > dev1=/dev/sdb1 > dev2=/dev/sdb2 > > umount /mnt > > mkfs.btrfs -f $dev1 > > btrfstune -S 1 $dev1 No mount or copying data to the file s

Re: [report] lockdep warning when mounting seed device

2021-02-26 Thread David Sterba
On Fri, Feb 26, 2021 at 01:01:02PM +0800, Anand Jain wrote: > On 25/02/2021 12:39, Su Yue wrote: > > > > While playing with seed device(misc/next and v5.11), lockdep complains > > the following: > > > > To reproduce: > > > > dev1=/dev/sdb1 > > dev2=/dev/sdb2 > > > > umount /mnt > > > > mkfs.b

Re: [report] lockdep warning when mounting seed device

2021-02-25 Thread Su Yue
On Fri 26 Feb 2021 at 13:01, Anand Jain wrote: On 25/02/2021 12:39, Su Yue wrote: While playing with seed device(misc/next and v5.11), lockdep complains the following: To reproduce: dev1=/dev/sdb1 dev2=/dev/sdb2 umount /mnt mkfs.btrfs -f $dev1 btrfstune -S 1 $dev1 mount $dev1 /mnt btrfs d

Re: [report] lockdep warning when mounting seed device

2021-02-25 Thread Anand Jain
On 25/02/2021 12:39, Su Yue wrote: While playing with seed device(misc/next and v5.11), lockdep complains the following: To reproduce: dev1=/dev/sdb1 dev2=/dev/sdb2 umount /mnt mkfs.btrfs -f $dev1 btrfstune -S 1 $dev1 mount $dev1 /mnt btrfs device add $dev2 /mnt/ -f umount /mnt m

[report] lockdep warning when mounting seed device

2021-02-24 Thread Su Yue
While playing with seed device(misc/next and v5.11), lockdep complains the following: To reproduce: dev1=/dev/sdb1 dev2=/dev/sdb2 umount /mnt mkfs.btrfs -f $dev1 btrfstune -S 1 $dev1 mount $dev1 /mnt btrfs device add $dev2 /mnt/ -f umount /mnt mount $dev2 /mnt umount /mnt Warning: