Date: Fri, 07 Jan 2011 21:25:02 +0200 From: "Vladislav V. Prodan" <universite@ukr.net> To: freebsd-fs@freebsd.org Subject: Re: kern/153351: [zfs] locking directories/files in ZFS Message-ID: <4D27688E.2000409@ukr.net> In-Reply-To: <201012220900.oBM90Oir045018@freefall.freebsd.org> References: <201012220900.oBM90Oir045018@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
22.12.2010 11:00, Vladislav V. Prodan пишет:
> 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: Wed, 22 Dec 2010 10:54:53 +0200
>
> zfs snapshot tank/www@temp
> zfs rollback tank/www@temp
>
> also did not help. :(
>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D27688E.2000409>
