Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2290765rwl; Sun, 26 Mar 2023 20:15:17 -0700 (PDT) X-Google-Smtp-Source: AKy350b5o7zZyGkMVUyEQowP88UwbyemWsFUuT6SSCJujYNofrrUjSF09lp7eV1dpZJ8wA+NgO6k X-Received: by 2002:a62:1791:0:b0:625:e5dd:7506 with SMTP id 139-20020a621791000000b00625e5dd7506mr7845670pfx.25.1679886916721; Sun, 26 Mar 2023 20:15:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679886916; cv=none; d=google.com; s=arc-20160816; b=mZrbZzEfgjIKV0U+qJxJEOGIjhm7TZQMM+J41WdiufLSw7l9iMKyMewSgiw9CnNKZL jc22M7WW5a3Lya0xUPyP3BAEkEiQlBFS59OmX6aMxg7hJ7tAo9hbc/kYkYmFehEh9Dfp 5RfjSEojCOFE28iNTDnl8UcqlBvY2jxhmxw8qvS91YEZcQ9P6mVQwP13xcuG0LP3qlTy 5z9cmJjGv28KweLz+yGeOPOUHAa3c2Qf6vRiJ6MSX/LRR4z2/H+Hs9o71dEZWNiRr6kT CY60dZt4JqdBFVf38xjSNk6SbzLwGbQqbeWvPj23dyC6YnRYhYv8DBa6Zq3y+ncJn6ZL dRVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=1pZkFG562xgFYvS+1VcUcJN4EnW3dvy90ZRzAF7Fz+Q=; b=PzE1+n2xYzfZpg4fTWUoYxAjBWV+nadTKvE2S2coZ5wcj1ve4bwWRtom4PbQU4Nn5+ q9Gp74pJ0PUeEazpZ7ogRFHSxYZxBXuO+xyQWbKF3tOmR4ObV5GVdEPsQUcq3c3PGoXt 4w12sb+4quWgrgtlqxoedBP1JXpMINvPPpsNC8pbR1Jj9WPBWSM6JlVQYcK/qkP4ganm qSjcG9PUuUYfCLzjIB3IfWg7MOph/G0vBNe5A8MeW2/vBoEmfPYov0PtRSSE9wzbI9IA WSYshplngxxZJ1CH6x4WCznfhYVQbeYzY98RzsCNLEbprxSsQyF0o1nsElDX2BXkuZyG xpBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P738GWtx; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w186-20020a627bc3000000b0062ae6345c6asi7073914pfc.389.2023.03.26.20.15.00; Sun, 26 Mar 2023 20:15:16 -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=@kernel.org header.s=k20201202 header.b=P738GWtx; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229640AbjC0DF7 (ORCPT + 99 others); Sun, 26 Mar 2023 23:05:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjC0DF5 (ORCPT ); Sun, 26 Mar 2023 23:05:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E697519AB; Sun, 26 Mar 2023 20:05:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 782CF60FA5; Mon, 27 Mar 2023 03:05:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21912C433D2; Mon, 27 Mar 2023 03:05:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679886355; bh=Y5YgkurSEHTnuFb5rUWdtaOxzlRzLEHlxLRf+rlWEpE=; h=Date:From:To:Cc:Subject:From; b=P738GWtxdGHCmLrHqLACcemQjQ3hhSp4c1v4FQPM3ACwC6sz8aqZCj8SF8TXQD/Ph 4D/r1b2R98NeyTJQx87cj25tZd2PRRyxsfhlexm1CCwhRvl7nu2/VznA2NNFSDukQX QP54idMONKsboYt5WLMsFcA7WXfedufNKQ7gbUfhvx2Dhu8BdE1h9ki/+JefbahIaq uWAttAbemwcz6sD9QXsuOeSHuJgnjbSQZnfz86T8vUthvWsBbKg4wl5f7mms8Innmo 4qK3jdmkcCcePBQYJ5i7l4SeYKxGq0use9z4GrN5lY6kFi5aou9hjg6o0PkN+aW9BK 5tQl/AjmFx+rA== Date: Mon, 27 Mar 2023 03:05:52 +0000 From: Eric Van Hensbergen To: v9fs-developer@lists.sourceforge.net Cc: asmadeus@codewreck.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux_oss@crudebyte.com Subject: [PATCH] fs/9p: Add new options to Documentation Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS 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 Need to update the documentation for new mount flags and cache modes. Signed-off-by: Eric Van Hensbergen --- Documentation/filesystems/9p.rst | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/Documentation/filesystems/9p.rst b/Documentation/filesystems/9p.rst index 0e800b8f73cc..6d257854a02a 100644 --- a/Documentation/filesystems/9p.rst +++ b/Documentation/filesystems/9p.rst @@ -78,19 +78,18 @@ Options offering several exported file systems. cache=mode specifies a caching policy. By default, no caches are used. - - none - default no cache policy, metadata and data - alike are synchronous. - loose - no attempts are made at consistency, - intended for exclusive, read-only mounts - fscache - use FS-Cache for a persistent, read-only - cache backend. - mmap - minimal cache that is only used for read-write - mmap. Northing else is cached, like cache=none + Modes are progressive and inclusive. For example, specifying fscache + will use loose caches, writeback, and readahead. Due to their + inclusive nature, only one cache mode can be specified per mount. + + ========= ============================================= + none no cache of file or metadata + readahead readahead caching of files + writeback delayed writeback of files + mmap support mmap operations read/write with cache + loose meta-data and file cache with no coherency + fscache use FS-Cache for a persistent cache backend + ========= ============================================= debug=n specifies debug level. The debug level is a bitmask. @@ -137,6 +136,10 @@ Options This can be used to share devices/named pipes/sockets between hosts. This functionality will be expanded in later versions. + directio bypass page cache on all read/write operations + + ignoreqv ignore qid.version==0 as a marker to ignore cache + noxattr do not offer xattr functions on this mount. access there are four access modes. -- 2.39.2