From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F7BCC2BB1D for ; Tue, 17 Mar 2020 08:28:34 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3DA922071C for ; Tue, 17 Mar 2020 08:28:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3DA922071C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id AEFF210FC3599; Tue, 17 Mar 2020 01:29:24 -0700 (PDT) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=patrick.ohly@intel.com; receiver= Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7218D1007A84E for ; Tue, 17 Mar 2020 01:29:22 -0700 (PDT) IronPort-SDR: INapjxxqAIIQb39sSbi0YA3TPo1BJ7CZPC7cJ5VamGwaxkymajkgt5yK1Y2KNNQlcmLtyEIcum AGkT5si5FYHg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2020 01:28:31 -0700 IronPort-SDR: healM5eFWf/Kw6gBx4FVqQaJZugrClmjQKDXhbzYDs3BBjEOxoAnAMbVR9ke5InzTm6fiaOhDa EEpQ9MKjRDYw== X-IronPort-AV: E=Sophos;i="5.70,563,1574150400"; d="scan'208";a="390985809" Received: from bquerbac-mobl1.amr.corp.intel.com (HELO localhost) ([10.135.40.52]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2020 01:28:28 -0700 From: "Patrick Ohly" To: Vivek Goyal Subject: Re: [PATCH 00/20] virtiofs: Add DAX support In-Reply-To: <20200316130234.GA4013@redhat.com> Organization: Intel GmbH, Dornacher Strasse 1, D-85622 Feldkirchen/Munich References: <20200304165845.3081-1-vgoyal@redhat.com> <20200316130234.GA4013@redhat.com> Date: Tue, 17 Mar 2020 09:28:26 +0100 Message-ID: MIME-Version: 1.0 Message-ID-Hash: XWS6V4CZY2BJVQJDTVPN6ZGIRAOCPBEO X-Message-ID-Hash: XWS6V4CZY2BJVQJDTVPN6ZGIRAOCPBEO X-MailFrom: patrick.ohly@intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, virtio-fs@redhat.com, miklos@szeredi.hu, stefanha@redhat.com, dgilbert@redhat.com, mst@redhat.com X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Vivek Goyal writes: > We expect users will issue fsync/msync like a regular filesystem to > make changes persistent. So in that aspect, rejecting MAP_SYNC > makes sense. I will test and see if current code is rejecting MAP_SYNC > or not. Last time I checked, it did. Here's the test program that I wrote for that: https://github.com/intel/pmem-csi/blob/ee3200794a1ade49a02df6f359a134115b409e90/test/cmd/pmem-dax-check/main.go -- Best Regards Patrick Ohly _______________________________________________ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-leave@lists.01.org