From owner-freebsd-stable@FreeBSD.ORG Fri Nov 12 14:00:24 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3896F10656A8; Fri, 12 Nov 2010 14:00:24 +0000 (UTC) (envelope-from alexz@visp.ru) Received: from mail.visp.ru (srv1.visp.ru [91.215.204.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2EF348FC15; Fri, 12 Nov 2010 14:00:14 +0000 (UTC) Received: from 91-215-205-255.static.visp.ru ([91.215.205.255] helo=zagrebin) by mail.visp.ru with esmtp (Exim 4.72 (FreeBSD)) (envelope-from ) id 1PGuAl-000Lo1-Nd; Fri, 12 Nov 2010 17:00:11 +0300 From: "Alexander Zagrebin" To: "'Andriy Gapon'" References: <4CDD2F5F.2000902@freebsd.org> Date: Fri, 12 Nov 2010 17:00:11 +0300 Keywords: freebsd-stable Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 Thread-Index: AcuCYyqzfZYrwX5jRtKA2oGCQvAKogADjN1w In-Reply-To: <4CDD2F5F.2000902@freebsd.org> Cc: freebsd-fs@freebsd.org, freebsd-stable@freebsd.org Subject: RE: 8.1-STABLE: problem with unmounting ZFS snapshots X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 14:00:24 -0000 Thanks for your reply! > > 2. the umount is waiting for disk > > #ps | egrep 'PID|umount' > > PID TT STAT TIME COMMAND > > 958 0 D+ 0:00,04 umount /mnt > > # procstat -t 958 > > PID TID COMM TDNAME CPU PRI > STATE WCHAN > > 958 100731 umount - 3 133 > sleep mntref > > procstat -kk $ ps a | grep umount 86874 2- D 0:00,06 umount /mnt 90433 3 S+ 0:00,01 grep umount $ sudo procstat -kk 86874 PID TID COMM TDNAME KSTACK 86874 100731 umount - mi_switch+0x176 sleepq_wait+0x42 _sleep+0x317 vfs_mount_destroy+0x5a dounmount+0x4d4 unmount+0x38b syscall+0x1cf Xfast_syscall+0xe2 -- Alexander Zagrebin