From owner-freebsd-current@FreeBSD.ORG Fri Nov 9 20:48:43 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5D2816A469; Fri, 9 Nov 2007 20:48:43 +0000 (UTC) (envelope-from richard@unixguru.nl) Received: from mx1.unixguru.nl (mx1.unixguru.nl [77.37.12.119]) by mx1.freebsd.org (Postfix) with ESMTP id C631613C4BA; Fri, 9 Nov 2007 20:48:43 +0000 (UTC) (envelope-from richard@unixguru.nl) Received: from localhost (mx1.unixguru.nl [77.37.12.119]) by mx1.unixguru.nl (Postfix) with ESMTP id 7A7511F7A2; Fri, 9 Nov 2007 21:49:09 +0100 (CET) Received: from mx1.unixguru.nl ([77.37.12.119]) by localhost (vs8916.vserver4free.de [77.37.12.119]) (amavisd-new, port 10024) with ESMTP id Dd7l2mgcNr-j; Fri, 9 Nov 2007 21:49:08 +0100 (CET) Received: from mail.unixguru.nl (www.unixguru.nl [217.122.53.58]) by mx1.unixguru.nl (Postfix) with ESMTP id A94331F63D; Fri, 9 Nov 2007 21:49:08 +0100 (CET) Received: from localhost (shell.unixguru.nl [192.168.10.20]) by mail.unixguru.nl (Postfix) with ESMTP id 6147811422; Fri, 9 Nov 2007 21:48:31 +0100 (CET) Date: Fri, 9 Nov 2007 21:48:31 +0100 From: Richard Arends To: Henri Hennebert Message-ID: <20071109204830.GC13845@shell.unixguru.nl> References: <47348CAC.5020208@restart.be> <20071109182355.GB13845@shell.unixguru.nl> <4734C4AF.9020609@restart.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4734C4AF.9020609@restart.be> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: ZFS deadlock ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2007 20:48:44 -0000 On Fri, Nov 09, 2007 at 09:35:59PM +0100, Henri Hennebert wrote: > >This won't start the scrubs at the same time, but after each other. And > >the second will only start if the first one not fails (exitcode == 0) > > > Not at all, the scrub is asynchronious, I'm sure of it Running 2 commands seperated by && will not run at the same time. Scrub could be asynchronious, i don't know, but that has nothing to do with the way you are running it. See: echo "sleep 1" && time sleep 2 && echo "sleep 2" && time sleep 2 and: ls -l /notfound && echo yes -- Regards, Richard. /* Homo Sapiens non urinat in ventum */