Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp237630rwi; Sun, 9 Oct 2022 22:35:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Dd1qJGOUouSp1g1Myhzu+HmTu+DiaroDNoAAjGQcvw/Hx48d4FEdoliOyemSX2vPH0eIi X-Received: by 2002:a62:ee17:0:b0:55b:b0d:bc9f with SMTP id e23-20020a62ee17000000b0055b0b0dbc9fmr18295320pfi.39.1665380107235; Sun, 09 Oct 2022 22:35:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665380107; cv=none; d=google.com; s=arc-20160816; b=o3Yr/pd3Xzk396C4Y/oSHheTZRX+XM8ddyR8F4rsb09owtXNYzk4JEiYmWrhYxmccz Gf2n+IHF/ie6AJFehCjqjvaCxjmECozveeQf/Xa20ymdxhI4R/ZlX2rg8wnVfCUGDQNr x3OZ1g5ixWHcVGMwgzrDJKgKVbrr3IpSffCEoKfKg07oWcT63LpInC4bgkUNo1jiT5+4 M6NlkESckJy56UaIMZAZ12WtrCwNTzFPmitJYSmlH2QGsh10U37WmthMPAy43tC2+gyD AnViwrAlb7BuzURpaNN9VHuKWOKb4gaqfp1KO2gjsl7Ois48SFUlM6g0jQl+hhATqllD l/AQ== 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:dkim-signature; bh=h7iN0yHsOk2Yc2OCw7yoF/YgYNpNTDxAmdvaxJlSsfk=; b=LAzRo5j+s4WTcuAuiCg/sPFj6odpKNPwMg77E/4IY3MC6BrfVChVgCT+/9o+BMzni9 YCAy284Xuoyt4ZlOjaDVhakYe8xLNkLiJpXWiJ9YwXx9l6yX7tSe8NJqhyHekmQv1QKt jWJ+TzejOpIVjhacH4pkmg+bT4uSO5GoY5kOhZiPMR8/vr/WzpxL76zTnyOJssO03ZQC emU2OJvQeWpVZVzaycZ13ioprQekvZw5VL4Gv/WXfgNdf0N9bwSDoLfkkZd6b3dbUBHu d34eBfzDm6MkiBmGCn6D3PBL5+x8Png5P0QFnRlEVLd/Ugtf3f6TW1m2j1tpRouv8QW/ yRlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b=N+immcIg; dkim=pass header.i=@codewreck.org header.s=2 header.b=GqZBfNmb; 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=codewreck.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oo12-20020a17090b1c8c00b00205daac38absi13492123pjb.59.2022.10.09.22.34.56; Sun, 09 Oct 2022 22:35:07 -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=@codewreck.org header.s=2 header.b=N+immcIg; dkim=pass header.i=@codewreck.org header.s=2 header.b=GqZBfNmb; 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=codewreck.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230500AbiJJFXg (ORCPT + 99 others); Mon, 10 Oct 2022 01:23:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230253AbiJJFXa (ORCPT ); Mon, 10 Oct 2022 01:23:30 -0400 Received: from nautica.notk.org (nautica.notk.org [91.121.71.147]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8D624F1A6; Sun, 9 Oct 2022 22:23:28 -0700 (PDT) Received: by nautica.notk.org (Postfix, from userid 108) id 483E9C01D; Mon, 10 Oct 2022 07:23:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1665379407; bh=h7iN0yHsOk2Yc2OCw7yoF/YgYNpNTDxAmdvaxJlSsfk=; h=Date:From:To:Cc:Subject:From; b=N+immcIgXzkcEhRiq+P5Nxe5JmASsUuYmIxw1qb+T6NWsWFi+zynj6jrlrvxlqTIV UkSVyCnXF1KF8sX2+4US9q5TdwPMqoN/uhgNuU8i5Irw6UygTygJG2v5SewKHCemOM fwCxNeI37F08Ntum86+lI0jMHn5wictURg+RIQzajIGgUpdhD8bRTaNUdavW+k5gDf HxHnaj5Iiy5wvZM1bHfipKvkfKGdI52cfGuArB9kc4MgCMZ4KojK3auPDl49AWU9ft wv7hCiFQyVEiy0b9K3zR9y2Sq40+739PL5ArHOHp0kaVQHAUz/it2mGQC6skNSiDZc xTbFQgsM5o/GQ== X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from odin.codewreck.org (localhost [127.0.0.1]) by nautica.notk.org (Postfix) with ESMTPS id 57F46C009; Mon, 10 Oct 2022 07:23:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1665379405; bh=h7iN0yHsOk2Yc2OCw7yoF/YgYNpNTDxAmdvaxJlSsfk=; h=Date:From:To:Cc:Subject:From; b=GqZBfNmbOjG22+M+cZzTCo4n8z9X7V67QyS/7n+alJFR/6IlDKczYTXM72lu3zcfP nItJqgINqgcDYC/gJP7nrwbsY2UicmslzaJqFR3fRCCzPUEiO3yefAVyuuNOZROJD4 M2u9Xbgzqn79SR1FHAUGOhTs8DkGIxxs/eMVFDUVDHrPdhcyvyYLSxuxZl2kEoxLGf rWvdqdSq3C6w7Lc6+6s0T+ZXYoUkMLg5UyKcfitM4R/bSPEABRwzxw6zAvUR2nJhiC hivN63/v9blAuYFvl/Gp8vlIPJklEpgA5Ib62sh2APPPmTSnWMFD7/8/VI8VBDHVsL MhHlT5+DIGRiw== Received: from localhost (odin.codewreck.org [local]) by odin.codewreck.org (OpenSMTPD) with ESMTPA id 0979a99b; Mon, 10 Oct 2022 05:23:20 +0000 (UTC) Date: Mon, 10 Oct 2022 14:23:05 +0900 From: Dominique Martinet To: Linus Torvalds Cc: Christian Schoenebeck , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, v9fs-developer@lists.sourceforge.net Subject: [GIT PULL] 9p fixes for 6.1 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following changes since commit b90cb1053190353cc30f0fef0ef1f378ccc063c5: Linux 6.0-rc3 (2022-08-28 15:05:29 -0700) are available in the Git repository at: https://github.com/martinetd/linux tags/9p-for-6.1 for you to fetch changes up to a8e633c604476e24d26a636582c0f5bdb421e70d: net/9p: clarify trans_fd parse_opt failure handling (2022-10-07 21:23:09 +0900) ---------------------------------------------------------------- 9p-for-6.1: smaller buffers for small messages and fixes The highlight of this PR is Christian's patch to allocate smaller buffers for most metadata requests: 9p with a big msize would try to allocate large buffers when just 4 or 8k would be more than enough; this brings in nice performance improvements. There's also a few fixes for problems reported by syzkaller (thanks to Schspa Shi, Tetsuo Handa for tests and feedback/patches) as well as some minor cleanup ---------------------------------------------------------------- Christian Schoenebeck (5): net/9p: split message size argument into 't_size' and 'r_size' pair 9p: add P9_ERRMAX for 9p2000 and 9p2000.u net/9p: add p9_msg_buf_size() net/9p: add 'pooled_rbuffers' flag to struct p9_trans_module net/9p: allocate appropriate reduced message buffers Dominique Martinet (2): 9p: trans_fd/p9_conn_cancel: drop client lock earlier net/9p: use a dedicated spinlock for trans_fd Li Zhong (1): net/9p: clarify trans_fd parse_opt failure handling Tetsuo Handa (1): 9p/trans_fd: always use O_NONBLOCK read/write Xiu Jianfeng (1): net/9p: add __init/__exit annotations to module init/exit funcs include/net/9p/9p.h | 3 +++ include/net/9p/transport.h | 5 ++++ net/9p/client.c | 48 +++++++++++++++++++++++++++++++-------- net/9p/protocol.c | 167 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ net/9p/protocol.h | 2 ++ net/9p/trans_fd.c | 50 ++++++++++++++++++++++++++-------------- net/9p/trans_rdma.c | 1 + net/9p/trans_virtio.c | 1 + net/9p/trans_xen.c | 5 ++-- 9 files changed, 254 insertions(+), 28 deletions(-) -- Dominique