Re: ZFS committed to the FreeBSD base.

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Tue, 10 Apr 2007 03:06:28 -0400
On Tue, Apr 10, 2007 at 11:03:49AM +0400, Andrey V. Elsukov wrote:
> Kris Kennaway wrote:
> >I thought that is what the claim was, and the question was how to make
> >it visible :)
> 
> Yes, thanks for the answer. Now i've been locked up in the "zfs"
> state :)
> 
> How to repeat:
> # zfs set snapdir=visible media/disk3/src
> # ls -la media/disk3/src/.zfs

\o/

You might need to recompile with DEBUG_LOCKS and DEBUG_VFS_LOCKS and
do 'show lockedvnods', but maybe this is trivially reproducible.

Kris

> 
> -- 
> WBR, Andrey V. Elsukov

>   UID   PID  PPID CPU PRI NI   VSZ   RSS MWCHAN STAT  TT       TIME COMMAND
>     0  1455  1127   0  -4  0 18032  3896 zfs    D+    v0    0:00,01 mc
>     0  1462  1457   0  -4  0  3416  1236 zfs    T+    p0    0:00,00 ls -lA
> 
> db> trace 1462
> Tracing pid 1462 tid 100061 td 0xc29c81b0
> sched_switch(c29c81b0,0,1) at sched_switch+0xc7
> mi_switch(1,0) at mi_switch+0x1d4
> sleepq_switch(c3404d18) at sleepq_switch+0x8a
> sleepq_wait(c3404d18,50,0,0,c07315e4,...) at sleepq_wait+0x36
> _sleep(c3404d18,c076f340,50,c2946f6f,0,...) at _sleep+0x24d
> acquire(d3b2e728,80,60000,d3b2e708,d3b2e70c,...) at acquire+0x73
> _lockmgr(c3404d18,3002,c3404d48,c29c81b0,c2941e7b,...) at _lockmgr+0x442
> vop_stdlock(d3b2e770) at vop_stdlock+0x27
> _VOP_LOCK_APV(c294abc0,d3b2e770) at _VOP_LOCK_APV+0x38
> _vn_lock(c3404cc0,1002,c29c81b0,c2941e7b,c4,...) at _vn_lock+0xf8
> domount(c29c81b0,c3404cc0,c2946f6f,c2ce87c0,d3b2e85c,...) at domount+0xfd
> zfsctl_snapdir_lookup(d3b2eacc) at zfsctl_snapdir_lookup+0x1ac
> VOP_LOOKUP_APV(c294adc0,d3b2eacc) at VOP_LOOKUP_APV+0x43
> lookup(d3b2eb50) at lookup+0x4c0
> namei(d3b2eb50) at namei+0x2d2
> kern_lstat(c29c81b0,2821c268,0,d3b2ec24) at kern_lstat+0x47
> lstat(c29c81b0,d3b2ed00) at lstat+0x1b
> syscall(d3b2ed38) at syscall+0x29e
> Xint0x80_syscall() at Xint0x80_syscall+0x20
> --- syscall (190, FreeBSD ELF32, lstat), eip = 0x2818d267, esp = 0xbfbfe3fc, ebp
>  = 0xbfbfe498 ---
> db> cont
>  
Received on Tue Apr 10 2007 - 05:06:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:08 UTC