From owner-cvs-src@FreeBSD.ORG Thu Nov 1 16:30:53 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA4AE16A418 for ; Thu, 1 Nov 2007 16:30:53 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189]) by mx1.freebsd.org (Postfix) with ESMTP id 7B02D13C480 for ; Thu, 1 Nov 2007 16:30:53 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so434686rvb for ; Thu, 01 Nov 2007 09:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=pcPINKYs7HypMvqAaNMEO1njMX2zYn+h9A4Dipy1wyM=; b=U+U9sjRqDtXi2uQ5mTkTVAHUJsusLWkodQuwkNVN2fCXh5yaLIyQqw4V+peAZM11Ufk0ltp3rHqhmyhcZ/1WsJxAKUL8TPqorbAs0vY9Hrz8KA77AhTj6gPlOLklqiY2az50MWm7LBYtuOdxs1hBAQdMalhQveE9u6kbWBsRJBw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=sVgoZBBiq1Au6cuRCDoDTVb3rANm76vBH1uYS022TddFhGAVcZyYvRMXLEboZbPSCKeuJ6sT6Twg8JK5+VZQZA23yIU6ukFjsFLEY7GduY8MhD1kt410I7WGJhfozu9li1a/XkcYyTtujS1R0LsZWU9piETr7JbHiTPgThc02FI= Received: by 10.141.83.15 with SMTP id k15mr368310rvl.1193933157495; Thu, 01 Nov 2007 09:05:57 -0700 (PDT) Received: by 10.140.131.18 with HTTP; Thu, 1 Nov 2007 09:05:57 -0700 (PDT) Message-ID: <2e77fc10711010905o77b19d08l63a6b7ed06ec2680@mail.gmail.com> Date: Thu, 1 Nov 2007 18:05:57 +0200 From: "Niki Denev" Sender: ndenev@gmail.com To: "Pawel Jakub Dawidek" In-Reply-To: <200711011104.lA1B4LeH036010@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200711011104.lA1B4LeH036010@repoman.freebsd.org> X-Google-Sender-Auth: f4cee005aee7ebf7 Cc: cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs zvol.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 16:30:53 -0000 On 11/1/07, Pawel Jakub Dawidek wrote: > pjd 2007-11-01 11:04:21 UTC > > FreeBSD src repository > > Modified files: > sys/contrib/opensolaris/uts/common/fs/zfs zvol.c > Log: > Call zil_commit() (if ZIL is not disabled) after every non-read request > (BIO_WRITE and BIO_FLUSH) as it is done is Solaris. The difference is > that Solaris calls it only for sync requests, but we can't say in GEOM > is the request is sync or async, so we do it for every request. I'm just curious if this isn't this going to hurt the performance slightly, and make Zfs/Zil behave as regular journaled fs? I've also read somewehere (afair some sun developers blog) that there are some problems with writing of Zlogs that can lead to fragmentation, which they are avoiding with using spearate device for ZIL. -- Niki