From nobody Tue Feb 10 04:32:57 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32A26EB64DB for ; Tue, 20 Jun 2023 15:14:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233749AbjFTPOp (ORCPT ); Tue, 20 Jun 2023 11:14:45 -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-Google-Smtp-Source: ACHHUZ7vDNz9Cx5BItNVohrwafUr0euSnM4MHgJv4ESsQf5sFBe9OMU343gsncNkMmM7BVjOusovJA== 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: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 throug= h inheritance) occurs eve if the underlying media does not support dax and/or the filesystem is overridden with a mount option. =20 +.. _virtiofs-dax: =20 Enabling DAX on virtiofs ---------------------------- diff --git a/Documentation/filesystems/virtiofs.rst b/Documentation/filesys= tems/virtiofs.rst index fd4d2484e949..fdec5a7840f7 100644 --- a/Documentation/filesystems/virtiofs.rst +++ b/Documentation/filesystems/virtiofs.rst @@ -43,7 +43,10 @@ Mount options ------------- =20 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[=3Dalways,never,inode] + Enable direct access for files. See :ref:`virtiofs-dax`. =20 atime behavior ^^^^^^^^^^^^^^ --=20 2.41.0.185.g7c58973941-goog