From owner-freebsd-fs@freebsd.org Thu Oct 13 10:31:28 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 9B22AC0F2DE for ; Thu, 13 Oct 2016 10:31:28 +0000 (UTC) (envelope-from amutu@amutu.com) Received: from mail-yw0-x22e.google.com (mail-yw0-x22e.google.com [IPv6:2607:f8b0:4002:c05::22e]) (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 5D22CA03 for ; Thu, 13 Oct 2016 10:31:27 +0000 (UTC) (envelope-from amutu@amutu.com) Received: by mail-yw0-x22e.google.com with SMTP id t192so50442798ywf.0 for ; Thu, 13 Oct 2016 03:31:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amutu-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=iGMuTxQVPeIGuLqRAxEo6Lz/rLVXJyO5WKV4SEuT+x8=; b=G0NvV5NWeFGb4e4mMqaTJfbdOcoaD8eKQUSIRnf0bZ6houol7CLyVlY9+HzPk/7q7a RXOUS8MDY/P30FgBv0Dz6GnjQFCSySU9ns5Hk/2/oRlCI4MkOFaIdLI1kl8XPrdwvYLE X3lMLMC6LnfPXMGekezEP+t8R8IUWtMIdXs5HKAMnq1MFdNMrWvDDfk6xicNeeBlI9Ji 7lotCiwe6dr+ulx625FPbdDfWySmx0QH1b85D7DDK56Hq5iqLdj1EgjJSj+1WUHX/7W/ Wtp52jEajGonQK2CJIVXlrGGDYkDDV8roovwIdzu3oCRAzhLG+4nhCQ0BNJUC3rlUxez Owjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=iGMuTxQVPeIGuLqRAxEo6Lz/rLVXJyO5WKV4SEuT+x8=; b=D9GjTnVfshW0pqkIRaGYyku+QILQlj9ItaKXlQv9H6o9rbvLin0RiTAbcm2iyDcJu8 oNbo8fLH+kIHK84ifc8PK9cyUj1VDjIqMdJ5RuQsmVN3AWEjDugvA8KX2dW97vp8hmQc AjOwkFC9ZpwSKyiXHrRceKcQiKWQlVMTs9pPqkxp7h0iDPaz34WwuTvMuiOIBw8oMW4A Ucq/mZ6QQFOMArPJRX/WAr/6jk5OgPl2fBcPSMZeSzTDypxqBrGRP5rzUf4YWjn7cC/j cG8+sBRts3YzWGxMEVANoG8BENOl6RTK8qIez+X0lCYYgflF28wQzjdgVZT+vpg7Iza7 x9rQ== X-Gm-Message-State: AA6/9Rlf7YduAL/6RIr0K7CuxhA8gn3PEty4oN5zGTWprVqaKItHjWYXfZDdf8YqDDYRpQ== X-Received: by 10.13.226.200 with SMTP id l191mr4836071ywe.282.1476354686699; Thu, 13 Oct 2016 03:31:26 -0700 (PDT) Received: from mail-yb0-f170.google.com (mail-yb0-f170.google.com. [209.85.213.170]) by smtp.gmail.com with ESMTPSA id j198sm4388627ywg.36.2016.10.13.03.31.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Oct 2016 03:31:25 -0700 (PDT) Received: by mail-yb0-f170.google.com with SMTP id 191so29086396ybv.3 for ; Thu, 13 Oct 2016 03:31:25 -0700 (PDT) X-Received: by 10.37.35.80 with SMTP id j77mr5056176ybj.7.1476354685381; Thu, 13 Oct 2016 03:31:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.65.200 with HTTP; Thu, 13 Oct 2016 03:31:05 -0700 (PDT) In-Reply-To: References: From: Jov Date: Thu, 13 Oct 2016 18:31:05 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ZFS and sync command To: Ben RUBSON Cc: FreeBSD FS Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 10:31:28 -0000 yes,this is the ZIL used for. 2016-10-03 20:31 GMT+08:00 Ben RUBSON : > 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 > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >