From patchwork Thu Sep 17 11:28:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= X-Patchwork-Id: 11782291 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4C15A746 for ; Thu, 17 Sep 2020 11:29:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 301E421734 for ; Thu, 17 Sep 2020 11:29:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PQTXK58e" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726826AbgIQL3K (ORCPT ); Thu, 17 Sep 2020 07:29:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726699AbgIQL3D (ORCPT ); Thu, 17 Sep 2020 07:29:03 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC45CC06174A; Thu, 17 Sep 2020 04:28:50 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id a17so1662729wrn.6; Thu, 17 Sep 2020 04:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6NxjoOjgOUfz73asSaMrUPJ8xzTASv0BQwLmCO1ZT1o=; b=PQTXK58e7Lz0t7w27aiw2XlTYwlX9HneHHPvIzC/HR35tSoN1Py5wrQtuj4IFwrMU6 OUcmz+LoJSYbQYHVZDjlD413EnJbThH3lb82XIczhE55KqfdiX5sSjCTKxnG+g+Xb7dJ JkKHC3xF9IMIKL3hP3Oo4DocLLENpEHYpV446NHXgU+UA/dowZLjcu6ernfbjaS/GY3W hpFegsOG2MVYtfmHu80LNlST9KuXtr6R0F5LLBHHCDtwQoywYev4mvkqcHQBIBLuxyQ9 g/F4VimQzkQR3dk8Blus9miVUecWDqbKhoAvU2OSRKegsDGiNT+oyjgCm1pnmJvlyHLV 8AVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6NxjoOjgOUfz73asSaMrUPJ8xzTASv0BQwLmCO1ZT1o=; b=DyNzhS7iOXZ2OjaexnRXLQcLS9xcmk6eAz17EKvvwiXE4a3817p3Y205+xRLxHWINZ K+nzbhIg2sM5cF6EFezLYcIuKra+LC93V6prfqHzzNguJEPkK+5zYuVMuvvaLiXaB356 Y41Mfo9ylLJAgXjZioZtcWuwdb/7xVMLWIQA2uu+1hA2XVJak6KNSI4CytSCbSgexDSk ibPwM9mtvTrZYiozBqM9geh1CUQtPoGh6ucZb2tffCIYaYeWNx5NxZD3K6LyONABVJjZ yxO4PIIc+ZyhgJlAwclcleGa/DXNmX8p54xWBofk+x0Yz7cVkRT4ZMEy5ILLlTqbckri BvJQ== X-Gm-Message-State: AOAM531Q4hbeyX/b8OJ+NAKlkYTG0LM6gc0J2iKkdSK5fdPuhP3eSqlG 5GcBH3ca/lm6bgaGmOwaRevh+3OnADA= X-Google-Smtp-Source: ABdhPJxS583EJfuS3WHTJRs5d/gyOAmTDKrgCUaiyZxAE6QrXVewdYA9IV4FjkBwxj25jyEJGfnWrQ== X-Received: by 2002:a5d:43cb:: with SMTP id v11mr33360405wrr.188.1600342129159; Thu, 17 Sep 2020 04:28:49 -0700 (PDT) Received: from vm.nix.is (vm.nix.is. [2a01:4f8:120:2468::2]) by smtp.gmail.com with ESMTPSA id t16sm38781127wrm.57.2020.09.17.04.28.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2020 04:28:48 -0700 (PDT) From: =?utf-8?b?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= To: git@vger.kernel.org Cc: tytso@mit.edu, Junio C Hamano , Christoph Hellwig , Linus Torvalds , linux-fsdevel , =?utf-8?b?w4Z2YXIgQXJuZmo=?= =?utf-8?b?w7Zyw7AgQmphcm1hc29u?= Subject: [RFC PATCH 0/2] should core.fsyncObjectFiles fsync the dir entry + docs Date: Thu, 17 Sep 2020 13:28:28 +0200 Message-Id: <20200917112830.26606-1-avarab@gmail.com> X-Mailer: git-send-email 2.28.0.297.g1956fa8f8d In-Reply-To: <87sgbghdbp.fsf@evledraar.gmail.com> References: <87sgbghdbp.fsf@evledraar.gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org I was re-reading the https://lore.kernel.org/git/20180117184828.31816-1-hch@lst.de/ thread today and thought we should at least update the docs, and per my earlier E-Mail in https://lore.kernel.org/git/87sgbghdbp.fsf@evledraar.gmail.com/ perhaps the directory entry should also be synced. I kept linux-fsdevel@vger.kernel.org in the CC, it was in the original thread, but more importantly it would be really nice to have people who know more about the state of filesystems on Linux and other OS's to give 2/2 a read to see how accurate what I put together is. Ævar Arnfjörð Bjarmason (2): sha1-file: fsync() loose dir entry when core.fsyncObjectFiles core.fsyncObjectFiles: make the docs less flippant Documentation/config/core.txt | 42 ++++++++++++++++++++++++++++++----- sha1-file.c | 19 +++++++++++----- 2 files changed, 50 insertions(+), 11 deletions(-)