Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7977811rwd; Tue, 20 Jun 2023 08:36:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53uFIMnm66LXm863yHrFy0VvKpacwsN0ylrc6ikj/0YuIoZu7EUaX0txtfiWcJvi5bMUPN X-Received: by 2002:a05:6a00:10c4:b0:656:3d3a:da9c with SMTP id d4-20020a056a0010c400b006563d3ada9cmr9670698pfu.2.1687275368025; Tue, 20 Jun 2023 08:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687275368; cv=none; d=google.com; s=arc-20160816; b=WyCwZlzWxc9mO4QFkkXqeyg2NKCGrDOLel0DnhQLrB9sUJn5GWVLGGScYUo56X3QwF cRlUn5RrEQ8RQi502DcghBTgDMLqE11FxtSXPadtFkX08BphZEfNbW3qM2g7c+cUVXIG 27wE51nDwwK1rSUAjzdCZMAA0r+UCvDx8jENeBnqDBGjzFaTK0Jm/N73g3Uzilf3xcuQ D7B8C/lfDAdUBZ39hv/00DpOpfcR1m00mTY15dMglNuRB2aCiOWgin/c8C7UeLXL9PvP g/GX3rn7Hl3jtKbNhWxsij6HBC0P687/MmuDiD/OONvWTrEExGCWt2q/wkjuEmm43AiK 1rFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lRb96LJgR72xVeW8oewPH/vIoAVz/LQLwg+4m06vZkc=; b=B4EDSQQL+C1GVuSIy64KRmk6NVyHt6B5NcuTQ2tXP8IVmjYIpYeRqkr4mIqmamwmbk SBD+OAyEBE7LUQTV8KDMiXivR4CoklgXYCothYtIohxHBIh/adO80Bq90zaLZelWe0yQ rEOToLGR3R+V+UEgGcvARee9CBFESY/u3Dh/DjHBsxAxkE3RCaG6iB0llghLO5UUs2AY 3sPBlYi7l5v+woUwGR+L4SrEnRxTCTDZYCowILFFxGyxIYXU/BJPwLtC5sk7DLPPPJ7R lOgCnaJfDe7AxnSvOaOsPyZ68Gf+qTMsH/zEcgH2SaGCy0rH8qv9iPIPatHeqhmgkKzu y1YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XKfp2wc7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t4-20020a63b704000000b0053eef685a0csi1811002pgf.852.2023.06.20.08.35.54; Tue, 20 Jun 2023 08:36:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XKfp2wc7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233721AbjFTPOo (ORCPT + 99 others); Tue, 20 Jun 2023 11:14:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233688AbjFTPO2 (ORCPT ); Tue, 20 Jun 2023 11:14:28 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 168A81FDB for ; Tue, 20 Jun 2023 08:14:04 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1b512309d18so23986405ad.3 for ; Tue, 20 Jun 2023 08:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1687274040; x=1689866040; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lRb96LJgR72xVeW8oewPH/vIoAVz/LQLwg+4m06vZkc=; b=XKfp2wc7nAI8DCwXu8AhLAR5wD/2txHmlVMHGvKvNUaTw24+5WQRKQY0Xhr4S6HgiZ GRTW4OLWcisOfwkiy06oWmwYPHjfI2rB+H0ltRtxXHomXz841Ao/7ERSbBkQk1WNDx8L RqeqommVxKAl1E0YcwBImX9LSeUv3JGSoYIgQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687274040; x=1689866040; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lRb96LJgR72xVeW8oewPH/vIoAVz/LQLwg+4m06vZkc=; b=IeT8Nqf0oAKuYp40YjuXwPdswO7CzQjUrdoBjvnxaCmatuGpnFO3bVEU6jOH2jwCrX W5G+o4J/NE5yU6grMorvxmemrSBrbtEJ46FSOKeJNBfji5tuDnPsspCxIKbYCf1mJTCk XVIMNftb6ag47wOkLR4IDpmwkXLEDe+97Ar3NuF9S8Kio7u2OoeGl+MU0T/YaOSf1mMQ Xk2TUjWWEKtdAs350oAUehplPy0GEWkfjCKhNzdTSHWKPem83RpGOJ8p/tDJL/0Gr4Ra /QDb4yS8orLIpiDenbUITjmGIKVFzEqTfNY6lZvDBTRLkaKlCkH6HYq5ud/FwCkC+GvM BP/w== X-Gm-Message-State: AC+VfDyWp+K8sLSeBISz+cp3xuZVrRYEyDi5uCj8vypxRjwRdbqAQRhn pQVN1gGrr2lV0OFFiN83kafSgWTH9XtdSQ0JAJw= X-Received: by 2002:a17:902:ecc2:b0:1b5:561a:5c9a with SMTP id a2-20020a170902ecc200b001b5561a5c9amr4465646plh.39.1687274040118; Tue, 20 Jun 2023 08:14:00 -0700 (PDT) Received: from keiichiw1.tok.corp.google.com ([2401:fa00:8f:203:e87e:41e3:d762:f8a8]) by smtp.gmail.com with ESMTPSA id x9-20020a170902ec8900b001aaf370b1c7sm1731872plg.278.2023.06.20.08.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 08:13:59 -0700 (PDT) From: Keiichi Watanabe To: LKML Cc: mhiramat@google.com, takayas@chromium.org, drosen@google.com, sarthakkukreti@google.com, uekawa@chromium.org, Keiichi Watanabe , Jonathan Corbet , Miklos Szeredi , Stefan Hajnoczi , Vivek Goyal , linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: [PATCH 1/3] docs: virtiofs: Fix descriptions about virtiofs mount option Date: Wed, 21 Jun 2023 00:13:14 +0900 Message-ID: <20230620151328.1637569-2-keiichiw@chromium.org> X-Mailer: git-send-email 2.41.0.185.g7c58973941-goog In-Reply-To: <20230620151328.1637569-1-keiichiw@chromium.org> References: <20230620151328.1637569-1-keiichiw@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since virtiofs and FUSE don't share mount options, fixes the description. Also, explains DAX option as the only virtiofs-specific option so far. Signed-off-by: Keiichi Watanabe --- Documentation/filesystems/dax.rst | 1 + Documentation/filesystems/virtiofs.rst | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/filesystems/dax.rst b/Documentation/filesystems/dax.rst index c04609d8ee24..77c5d4550ecd 100644 --- a/Documentation/filesystems/dax.rst +++ b/Documentation/filesystems/dax.rst @@ -167,6 +167,7 @@ Setting the `FS_XFLAG_DAX` flag (specifically or through inheritance) occurs eve if the underlying media does not support dax and/or the filesystem is overridden with a mount option. +.. _virtiofs-dax: Enabling DAX on virtiofs ---------------------------- diff --git a/Documentation/filesystems/virtiofs.rst b/Documentation/filesystems/virtiofs.rst index fd4d2484e949..fdec5a7840f7 100644 --- a/Documentation/filesystems/virtiofs.rst +++ b/Documentation/filesystems/virtiofs.rst @@ -43,7 +43,10 @@ Mount options ------------- virtiofs supports general VFS mount options, for example, remount, -ro, rw, context, etc. It also supports FUSE mount options. +ro, rw, context, etc. Also, virtiofs has its own options. + +dax[=always,never,inode] + Enable direct access for files. See :ref:`virtiofs-dax`. atime behavior ^^^^^^^^^^^^^^ -- 2.41.0.185.g7c58973941-goog