From owner-freebsd-fs@freebsd.org Thu Oct 13 09:22:03 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0AD8FC10EA9 for ; Thu, 13 Oct 2016 09:22:03 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-qt0-x235.google.com (mail-qt0-x235.google.com [IPv6:2607:f8b0:400d:c0d::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8AF4840 for ; Thu, 13 Oct 2016 09:22:02 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-qt0-x235.google.com with SMTP id f6so37547563qtd.2 for ; Thu, 13 Oct 2016 02:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=8Kd82Ew+UI7Pjw+cdCXCdjMAWitL639LMhny7huPXmw=; b=sNERRtR/2FrHtRB8dt8uk+rwubK9aNuQGcZtnbRgCG6dKDW9QCoj+41Nn9Ip3baDeB QyRMLmVTpuCTWzD5xcy0p5RLpA9+x9aSemknJPD1Gp1MOUdDqvvcCdUNOVaon6lIBsve u6E1xXZVsu6Ua0er9XJCAW56sE0jvUWioF3jUdAfme6lcRclapJD0BWvLcPfR5g/BzaM CPtdeoXsausxQ+SGsN71CHWNKQGdzUBWMcpXRDPTQzRF0VgQj1W1Zgo9RW//NH020JMF INOZPG4ms+eCTg2zr8gBjvcnwPAXamnCKZXKMgdJ2p1QZ9NTn53v9473u8TqEY1759W7 p4OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=8Kd82Ew+UI7Pjw+cdCXCdjMAWitL639LMhny7huPXmw=; b=aboBCi72UGo/k6eY1AOxTxNVRK/6wjDhDmBmJTfl/JHDPU/eWzNykJqa5c61jch3Wj 9bEdaNfhbmY2GVAI4ezY90rA/ipGIJrvcOv2Ptt47QozyB+f4/eW4vxlbH8I4Mq8AdT9 KTyCIELS4curolvO2zJNVHaP//I+erhu065m6uIrNVZVvSXLzOHGfM+z+exnaz5FOjpa kgrG6coF22lHayOYr5nlPtFFH4LZa/gIKfNsIAY6SOYyxgYBhkOBFFtbmfIcYqwQwYMP Pcy0lTfUIMBrNgbtNbc9xeW+q9cHBKYJReaWgxz6tvGXa5EP+aypof9A65fl8mNaMQ8r 1Mjw== X-Gm-Message-State: AA6/9Rmr7u8oub7gcHra0rnlae8NR7SIhXAyrEVuS/rEbz59clhU+LpYW6ROTzTC0MgZLw== X-Received: by 10.28.100.136 with SMTP id y130mr1448230wmb.108.1476350159906; Thu, 13 Oct 2016 02:15:59 -0700 (PDT) Received: from macbook-air-de-benjamin.home (LFbn-1-7159-4.w90-116.abo.wanadoo.fr. [90.116.90.4]) by smtp.gmail.com with ESMTPSA id q8sm20845022wjj.7.2016.10.13.02.15.59 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 13 Oct 2016 02:15:59 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: ZFS and sync command From: Ben RUBSON In-Reply-To: Date: Thu, 13 Oct 2016 11:15:58 +0200 Content-Transfer-Encoding: 7bit Message-Id: <97BE7799-8A56-4F4D-B26D-CC83B323D163@gmail.com> References: To: FreeBSD FS X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2016 09:22:03 -0000 Hello, Any clue ? Thank you ! Ben > On 03 Oct 2016, at 14:31, Ben RUBSON wrote: > > Hello, > > I'm pretty sure it does, but I would like this to be confirmed. > Does ZFS correctly handles the sync() call / the sync command ? > Will it flush its transactions groups to disk when sync is called ? > > Goal is to let ZFS sync option to standard but to call sync command > after some "critical" steps / operations, so that we are then sure > data is safe. > > Thank you for your feedback ! > > Ben >