Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2011 19:40:08 GMT
From:      "Vladislav V. Prodan" <universite@ukr.net>
To:        freebsd-fs@FreeBSD.org
Subject:   Re: kern/153351: [zfs] locking directories/files in ZFS
Message-ID:  <201101071940.p07Je8Hu004698@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/153351; it has been noted by GNATS.

From: "Vladislav V. Prodan" <universite@ukr.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/153351: [zfs] locking directories/files in ZFS
Date: Fri, 07 Jan 2011 21:29:23 +0200

 Now lock the other directory: (
 how to stop this process?
 
 # ll /www/cargotek/data/logs/cargotek.ru.error.log.1
 -rw-r-----  1 root  cargotek  984039  7 янв 21:23
 /www/cargotek/data/logs/cargotek.ru.error.log.1
 
 # ps -axww | grep ls
 82467  ??  D      7:46,78 find -sx / /backup /usr /usr/home /var
 /var/db/mysql /var/db/mysql/ibdata /var/db/mysql/iblogs /www /dev/null
 -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm -u+s -or
 -perm -g+s ) -exec ls -liTd {} +
 51731   2  D+     0:00,00 ls -lA /www/cargotek/data
 51736   9  D+     0:00,00 ls /www/cargotek/data
 52498  11  D+     0:00,00 ls -lA /www/cargotek/data/
 
 # procstat -kk 82467 52498 51731   51736
   PID    TID COMM             TDNAME           KSTACK
 82467 100263 find             -                mi_switch+0x174
 sleepq_wait+0x42 __lockmgr_args+0x73b vop_stdlock+0x39
 VOP_LOCK1_APV+0x46 _vn_lock+0x47 vget+0x70 cache_lookup+0x4fe
 vfs_cache_lookup+0xc0 VOP_LOOKUP_APV+0x40 lookup+0x49a namei+0x53a
 vn_open_cred+0x3db kern_openat+0x181 syscallenter+0x2cf syscall+0x4b
 Xfast_syscall+0xe2
 52498 100301 ls               -                mi_switch+0x174
 sleepq_wait+0x42 __lockmgr_args+0x73b vop_stdlock+0x39
 VOP_LOCK1_APV+0x46 _vn_lock+0x47 vget+0x70 cache_lookup+0x4fe
 vfs_cache_lookup+0xc0 VOP_LOOKUP_APV+0x40 lookup+0x49a namei+0x53a
 vn_open_cred+0x3db kern_openat+0x181 syscallenter+0x2cf syscall+0x4b
 Xfast_syscall+0xe2
 51731 100307 ls               -                mi_switch+0x174
 sleepq_wait+0x42 __lockmgr_args+0x73b vop_stdlock+0x39
 VOP_LOCK1_APV+0x46 _vn_lock+0x47 vget+0x70 cache_lookup+0x4fe
 vfs_cache_lookup+0xc0 VOP_LOOKUP_APV+0x40 lookup+0x49a namei+0x53a
 vn_open_cred+0x3db kern_openat+0x181 syscallenter+0x2cf syscall+0x4b
 Xfast_syscall+0xe2
 51736 100321 ls               -                mi_switch+0x174
 sleepq_wait+0x42 __lockmgr_args+0x73b vop_stdlock+0x39
 VOP_LOCK1_APV+0x46 _vn_lock+0x47 vget+0x70 cache_lookup+0x4fe
 vfs_cache_lookup+0xc0 VOP_LOOKUP_APV+0x40 lookup+0x49a namei+0x53a
 vn_open_cred+0x3db kern_openat+0x181 syscallenter+0x2cf syscall+0x4b
 Xfast_syscall+0xe2
 
 -- 
 Vladislav V. Prodan
 VVP24-UANIC
 +38[067]4584408
 +38[099]4060508
 vlad11@jabber.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101071940.p07Je8Hu004698>