From owner-freebsd-fs@freebsd.org Mon Oct 3 12:31:57 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 8CC29AF3846 for ; Mon, 3 Oct 2016 12:31:57 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 23B407F2 for ; Mon, 3 Oct 2016 12:31:57 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id f193so9880983wmg.2 for ; Mon, 03 Oct 2016 05:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-transfer-encoding:subject:message-id:date:to :mime-version; bh=YWlual9mtOYXibDnqqu2XAx8kvC+CcGIcFlmn4NR0q4=; b=QWYFvMEYml1NQG3t/Q1m0YVfw9r5UHEWyAYIbDMpV+zjVPl4gOAK3yj333rfdoZMby y3Ec6OulCr5nkWhya0CgpCMH6XnJwqJvsqNcwjmm7bhOUEsOh/lm+c5Oprr1s52ioA0c FR9INZI3quVNcetNjkmNyTzAcqiD8tqsdp76EplL/Kfo0PZuOKdl0tWWI24dP6PYTv35 YkBgyI95X9Drn+qPyAy44RrKUBKJNyA93gQzDIedKC35yZEUTA3bmDKlt9IMzrCn1GGT I5RIqhlyzI9kDrkxJmlbOzVpYnyfFKtXFRdQJbZpk80t815pOjQMyoEmfHlRBhZfYvhb M5qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=YWlual9mtOYXibDnqqu2XAx8kvC+CcGIcFlmn4NR0q4=; b=gWiOMswcGh50bnYmGWYJluYOGn+4ef/ZsQ9CAmDGhpW6mZJD45A9i028u3vJIaV03O zwCDROM8JTVdbqlnv6lSXIIr762izi9akCBC5xDoHxMvVTdHm/R6SZwE9JbxOMnDJa6P w+h8i5E2b8F8VaFfa091k7ZYHL2cZo1JXKBjIq26jPK9OOjR706pvHmLwJ55i6knbUzJ w5ThsPyAdbXBGKVXWgEfldWo5hf737HhFBw9wPf+vSqra/BHe73XC/Oc7fjS9OsdDb6Z 7QOf2LxtPBDeenncJ/3pWaS6J0JFNlAVFLxY+Mb7WbuE1XZuL82l9JM5vdYUTUuFz39a /xkw== X-Gm-Message-State: AA6/9RkPBkXEUBctDRQruuSdeVMrFyF+YAlc1zq/B2lgpq7dkO8U/AY4vznBZjKMmn1D9w== X-Received: by 10.28.212.129 with SMTP id l123mr10711682wmg.22.1475497915428; Mon, 03 Oct 2016 05:31:55 -0700 (PDT) Received: from macbook-air-de-benjamin.home ([2a01:cb1d:309:100:3137:ead5:68ff:5c3a]) by smtp.gmail.com with ESMTPSA id l206sm18671019wmf.15.2016.10.03.05.31.54 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Oct 2016 05:31:54 -0700 (PDT) From: Ben RUBSON Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ZFS and sync command Message-Id: Date: Mon, 3 Oct 2016 14:31:52 +0200 To: FreeBSD FS Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) 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: Mon, 03 Oct 2016 12:31:57 -0000 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