Hi Simon,
Simon Breden wrote:
>
> Thanks for your advice Max, and here is my reply to your suggestion:
>
>
> # mdb -k
> Loading modules: [ unix genunix specfs dtrace cpu.generic 
> cpu_ms.AuthenticAMD.15 uppc pcplusmp scsi_vhci ufs ip hook neti sctp arp usba 
> s1394 nca lofs zfs random md sppp smbsrv nfs ptm ipc crypto ]
>   
>> ::pgrep cp
>>     
> S    PID   PPID   PGID    SID    UID      FLAGS             ADDR NAME
> R    889    868    889    868    501 0x4a004000 ffffff01deca9048 cp
>   
>> ffffff01deca9048::walk thread | ::threadlist -v
>>     
>             ADDR             PROC              LWP CLS PRI            WCHAN
> ffffff01e0045840 ffffff01deca9048 ffffff01de9d9210   2  60 ffffff01d861ca80
>   PC: _resume_from_idle+0xf1    CMD: cp -pr testdir z1
>   stack pointer for thread ffffff01e0045840: ffffff0007fcdf00
>   [ ffffff0007fcdf00 _resume_from_idle+0xf1() ]
>     swtch+0x17f()
>     cv_wait+0x61()
>     zio_wait+0x5f()
>     dbuf_read+0x1b5()
>     dbuf_findbp+0xe8()
>     dbuf_prefetch+0x9b()
>     dmu_zfetch_fetch+0x43()
>     dmu_zfetch_dofetch+0xc2()
>     dmu_zfetch_find+0x3a1()
>     dmu_zfetch+0xa5()
>     dbuf_read+0xe3()
>     dmu_buf_hold_array_by_dnode+0x1c4()
>     dmu_read+0xd4()
>     zfs_fillpage+0x15e()
>     zfs_getpage+0x187()
>     fop_getpage+0x9f()
>     segvn_fault+0x9ef()
>     as_fault+0x5ae()
>     pagefault+0x95()
>     trap+0x1286()                     
>     0xfffffffffb8001d9()              
>     fuword8+0x21()                    
>     zfs_write+0x147()                 
>     fop_write+0x69()                  
>     write+0x2af()                     
>     write32+0x1e()                    
>     sys_syscall32+0x101()             
>                                       
>   
So, a write has been issued, zfs is retrieving a page and is waiting for 
the pagein  to complete.  I'll take a further look tomorrow,
but maybe someone else reading this has an idea.  (It is midnight here).

max

>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
>   

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to