Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3597941ybb; Mon, 6 Apr 2020 11:43:17 -0700 (PDT) X-Google-Smtp-Source: APiQypLoj9mKTw142rnPQjYVLcdL4Csf3sPYI2WDlC5WCFms+SDfMK9qJPkLmpeHMWdyP2tiDeaR X-Received: by 2002:a4a:c28e:: with SMTP id b14mr461059ooq.39.1586198597779; Mon, 06 Apr 2020 11:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586198597; cv=none; d=google.com; s=arc-20160816; b=nJDig1XCvHeJ271ntoL98RsEEQ++f2V/P5dwGyHvYBzXycALMFLIRRHKaUsnn2CR/N nHdZPS4s36SamCZdfnHJ7yfspkQvMgKL3OntHHD87kKdF601Eqh3rMu5ikFiDZLiDjv+ Gg34xrx8QrMY11YjW310wfRb4RuZDc1A6cxf8+vJo+TQR6OYoOiMZ9qkVsEbV1pPqnRK Whnm4khZ9RVVkCoyhXgFfgn+1kNFMNdRO4opm+TzsBJlKNou0eWi6vKst20ox0LX0+/v DLEh+9pDDqSNAnvF272J4TmmBkXYquxCjL2GlPeIFl/CbnRcTxzkRn16pIRqwmPB1dS2 ucoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=eJcFKZN5StRER9FwVVfpDtAZuRiaEah+vyJ/+Irxc/8=; b=IRD2aeXlA5mE675DCdcE/TTTSYnYO0DfgqwyYZR08Ko+irHFn3vZueX1vbDe81i+NG IsAppFJXhkek7eBI/3VsphLXkYUDPaDjcXm5rrozLBO0iBIfzAWJBGQKxCTZt5xRUD2a K/cO7Aw8wuEo4fmAUY4zTqBLTIBYW4zF+zJykN2it116v+CJcNv+BZ+8OsXRf10Sc5dB LNnLC6SomjP/loJqg24SEPvFFAtaRdItqfUUxoLKx4usCFLvSd4Y+9a7NEoNB3TAkT8D j8/VmS1fIivBtXUjMZ5QBf00T8yw6afI2sDk3W5c8uhqyeRi5f6j3qS8+kGcEZoO7Y7N 5q9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j184si7664423oih.216.2020.04.06.11.43.03; Mon, 06 Apr 2020 11:43:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726269AbgDFSmY (ORCPT + 99 others); Mon, 6 Apr 2020 14:42:24 -0400 Received: from nautica.notk.org ([91.121.71.147]:58684 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725787AbgDFSmY (ORCPT ); Mon, 6 Apr 2020 14:42:24 -0400 Received: by nautica.notk.org (Postfix, from userid 1001) id F03BAC01A; Mon, 6 Apr 2020 20:42:21 +0200 (CEST) Date: Mon, 6 Apr 2020 20:42:06 +0200 From: Dominique Martinet To: Linus Torvalds Cc: Matthew Wilcox , Linux Kernel Mailing List , linux-fsdevel , v9fs-developer@lists.sourceforge.net, Sergey Alirzaev Subject: Re: [GIT PULL] 9p update for 5.7 Message-ID: <20200406184206.GA19275@nautica> References: <20200406110702.GA13469@nautica> <20200406164057.GA18312@nautica> <20200406164641.GF21484@bombadil.infradead.org> <20200406173957.GI21484@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote on Mon, Apr 06, 2020: > I think the O_NONBLOCK difference is one of the more benign ones. > > I just think it should be documented more. Hadn't explicitely added you in Ccs, but I did post something to document it: http://lkml.kernel.org/r/1586193572-1375-1-git-send-email-asmadeus@codewreck.org (small enough to just quote:) -------------- diff --git a/Documentation/filesystems/9p.txt b/Documentation/filesystems/9p.txt index fec7144e817c..3fb780ffdf23 100644 --- a/Documentation/filesystems/9p.txt +++ b/Documentation/filesystems/9p.txt @@ -133,6 +133,16 @@ OPTIONS cache tags for existing cache sessions can be listed at /sys/fs/9p/caches. (applies only to cache=fscache) +BEHAVIOR +======== + +This section aims at describing 9p 'quirks' that can be different +from a local filesystem behaviors. + + - Setting O_NONBLOCK on a file will make client reads return as early + as the server returns some data instead of trying to fill the read + buffer with the requested amount of bytes or end of file is reached. + RESOURCES ========= -------------- Will submit the pull request again with that in a couple of days unless anything bad happens. Thanks, -- Dominique