From owner-freebsd-fs@FreeBSD.ORG Fri Jan 7 19:40:09 2011 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 060F71065673 for ; Fri, 7 Jan 2011 19:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E9C348FC16 for ; Fri, 7 Jan 2011 19:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p07Je8BE004699 for ; Fri, 7 Jan 2011 19:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p07Je8Hu004698; Fri, 7 Jan 2011 19:40:08 GMT (envelope-from gnats) Date: Fri, 7 Jan 2011 19:40:08 GMT Message-Id: <201101071940.p07Je8Hu004698@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: "Vladislav V. Prodan" Cc: Subject: Re: kern/153351: [zfs] locking directories/files in ZFS X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Vladislav V. Prodan" List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2011 19:40:09 -0000 The following reply was made to PR kern/153351; it has been noted by GNATS. From: "Vladislav V. Prodan" 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