Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5908761rwb; Tue, 22 Nov 2022 06:31:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf7E1qtWUk3jwBHiPwQZNpdf86+vzL7kmUwnvd+MZMSkp7UpNWgcYYQMeUQmANm90AvoIdZZ X-Received: by 2002:a05:6402:5299:b0:461:7291:79c1 with SMTP id en25-20020a056402529900b00461729179c1mr11691799edb.68.1669127479711; Tue, 22 Nov 2022 06:31:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669127479; cv=none; d=google.com; s=arc-20160816; b=U7iXTacKwnWePagiVFXNipDqc7taKQ9YkW79uGRDRDHW7cUCqkza/rm0TgBe0F9j+4 Wpq7fr942DjicS3nlBteLWC+mfU+GlQk94EfoQywXuTHk4pTUpimqGzNbbjqkq5RLhhH 2nNkaHRrHi3WgfdB0aZ3r/6khks9CKm/tJb+hCr8/VvTvTGAEV4WAb4fF9An7cDB36lK ASftggk5cz2qrYnWAWd0EpAA5I9XVT2Fp44S0WyOWGs6j96tsmphlby8E8KQyMxMCQmn Ly+uCPRICRgqjk7uypEobFSGlQB7/Ga1nuxdq9+kWkHXiCyaPPJU++s62VIseyh3rGwp xN6Q== 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=geVsTAOXAFmfC1p8NU5oUZW9hh2dqn+X7qlWo6CR96Y=; b=S+HQzHKy6sUEtSmU8IFH11qMxv7X/Fqyy5FvJxUnMEAKsjKsGzA7AvjoNvQSyA7rqX foZ48CDEbaPJMp899BReM5kbYCRTUynqHdOl9MbEbs0afczjBiyEjgQ1nLCvpUiRb1WP 2Tjfvc7MzVFQHyWBiy3KxTK7JWhB4wstq5STVN0tRU542IIXpWx2Xmeb+JSo8YiR53Nj KeyvZyumBHFC+j50yyKFHrHuj7GwoMgXfSJ0t6F6vF/9K1ggE4x9nUb8JvObqTczi9U/ Khw/xkLe4Zuk5DGMCp/oFI9z8Ohw9BdzRGw6P4Z4AJ3CXvGsTDianPgLL6IjJ5KOVMaf a/DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QD9HNhfw; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f21-20020a056402195500b00461cdda451dsi11140666edz.435.2022.11.22.06.30.24; Tue, 22 Nov 2022 06:31:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-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=@redhat.com header.s=mimecast20190719 header.b=QD9HNhfw; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232498AbiKVOY5 (ORCPT + 99 others); Tue, 22 Nov 2022 09:24:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233310AbiKVOYw (ORCPT ); Tue, 22 Nov 2022 09:24:52 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9F0BDF7B for ; Tue, 22 Nov 2022 06:23:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669127026; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=geVsTAOXAFmfC1p8NU5oUZW9hh2dqn+X7qlWo6CR96Y=; b=QD9HNhfwpjcZAyrcVDtGcyvcJC1Jt05Njs2nDDlxTHOvhswfgrgNAdHBiLEZ9+1+paIjfS xvMFD3qCbJf6A6xMlIn0VpgRM8BByfNqUyTTD/aKI8613kGDOh1+aFjPHhlm3ubdqQY76a 4fjNNftK21PKnaEPXhuRK9+8oDaXYTo= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-583-clNrV_glOTiRpOT7AptSQA-1; Tue, 22 Nov 2022 09:23:45 -0500 X-MC-Unique: clNrV_glOTiRpOT7AptSQA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E5F22101A52A; Tue, 22 Nov 2022 14:23:42 +0000 (UTC) Received: from [172.16.176.1] (unknown [10.22.50.6]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E09D61121325; Tue, 22 Nov 2022 14:23:33 +0000 (UTC) From: Benjamin Coddington To: Shuah Khan Cc: David Howells , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Philipp Reisner , Lars Ellenberg , =?utf-8?q?Christoph_B=C3=B6hmwalder?= , Jens Axboe , Josef Bacik , Keith Busch , Christoph Hellwig , Sagi Grimberg , Lee Duncan , Chris Leech , Mike Christie , "James E.J. Bottomley" , "Martin K. Petersen" , Valentina Manea , Shuah Khan , Greg Kroah-Hartman , Marc Dionne , Steve French , Christine Caulfield , David Teigland , Mark Fasheh , Joel Becker , Joseph Qi , Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Ilya Dryomov , Xiubo Li , Trond Myklebust , Anna Schumaker , Chuck Lever , Jeff Layton , drbd-dev@lists.linbit.com, linux-block@vger.kernel.org, nbd@other.debian.org, linux-nvme@lists.infradead.org, open-iscsi@googlegroups.com, linux-scsi@vger.kernel.org, linux-usb@vger.kernel.org, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, cluster-devel@redhat.com, ocfs2-devel@oss.oracle.com, v9fs-developer@lists.sourceforge.net, ceph-devel@vger.kernel.org, linux-nfs@vger.kernel.org Subject: Re: [PATCH v1 2/3] Treewide: Stop corrupting socket's task_frag Date: Tue, 22 Nov 2022 09:23:29 -0500 Message-ID: In-Reply-To: <96114bec-1df7-0dcb-ec99-4f907587658d@linuxfoundation.org> References: <382872.1669039019@warthog.procyon.org.uk> <51B5418D-34FB-4E87-B87A-6C3FCDF8B21C@redhat.com> <4585e331-03ad-959f-e715-29af15f63712@linuxfoundation.org> <26d98c8f-372b-b9c8-c29f-096cddaff149@linuxfoundation.org> <96114bec-1df7-0dcb-ec99-4f907587658d@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 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, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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-nfs@vger.kernel.org On 21 Nov 2022, at 17:32, Shuah Khan wrote: > On 11/21/22 15:01, Benjamin Coddington wrote: >> On 21 Nov 2022, at 16:43, Shuah Khan wrote: >> >>> On 11/21/22 14:40, Shuah Khan wrote: >>>> On 11/21/22 07:34, Benjamin Coddington wrote: >>>>> On 21 Nov 2022, at 8:56, David Howells wrote: >>>>> >>>>>> Benjamin Coddington wrote: >>>>>> >>>>>>> Since moving to memalloc_nofs_save/restore, SUNRPC has stopped se= tting the >>>>>>> GFP_NOIO flag on sk_allocation which the networking system uses t= o decide >>>>>>> when it is safe to use current->task_frag. >>>>>> >>>>>> Um, what's task_frag? >>>>> >>>>> Its a per-task page_frag used to coalesce small writes for networki= ng -- see: >>>>> >>>>> 5640f7685831 net: use a per task frag allocator >>>>> >>>>> Ben >>>>> >>>>> >>>> >>>> I am not seeing this in the mainline. Where can find this commit? >>>> >>> >>> Okay. I see this commit in the mainline. However, I don't see the >>> sk_use_task_frag in mainline. >> >> sk_use_task_frag is in patch 1/3 in this posting. >> >> https://lore.kernel.org/netdev/26d98c8f-372b-b9c8-c29f-096cddaff149@li= nuxfoundation.org/T/#m3271959c4cf8dcff1c0c6ba023b2b3821d9e7e99 >> > > Aha. I don't have 1/3 in my Inbox - I think it would make > sense to cc people on the first patch so we can understand > the premise for the change. Yeah, I can do that if it goes to another version, I was just trying to b= e considerate of all the noise this sort of posting generates. Ben