Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7080196rdb; Wed, 3 Jan 2024 04:08:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLSnRQJXN/r20fMW7g9GhcudOxSNEdFKiu2sXqF1CG0aYouZskTmCPL+ED04N5sRHV8Hax X-Received: by 2002:a05:6214:5495:b0:680:ccbe:ff24 with SMTP id lg21-20020a056214549500b00680ccbeff24mr867400qvb.17.1704283715318; Wed, 03 Jan 2024 04:08:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704283715; cv=none; d=google.com; s=arc-20160816; b=nA3W+uKPFNavtzoVJ/TDt1FS0RjN/hb/eGegHs0uM/7Jb2on0UyvPpG+eT1p3CZddg ACaZhqMYERZu2wNiVjOis0elkmG3E5jhaaQKNPqSATe+vrdx/faBG7ZXDcagCfbAjLw4 hor7CNTQevEpxQr+peW/8piHjW2pMc9oo5fjJTh5oTZtawtGMQrdCaFirhMPgoYkyNsn 2RUE+UnqROK+3rztCiYbHSZWSMFkXeqBza6ylXuITwxzVpAcxeJMmF7XWvUze4pF2Ofr 82ciff5IP2erOqvfBQGzLzZTBo/WuzDDUcZg+SKVqc54+dO56NQ0t9FeMbYdr6fhpb+c cYqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:content-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:cc:to:references :in-reply-to:from:organization:dkim-signature; bh=Xn3hPmKlXFLs1haHAodNqDYoLKo2JnMk0c6eSg9WYzE=; fh=iO1mnNj3+QcY16QMX2pVt5CjcQ/HcrO90z/0VmpgPXI=; b=0NXukwaaTfx/xL6btksCfrNzO0A7QpOOPfJbxGhWCIUBi0jz7WVa1RiPbFLDJBcCrl a6IZtbCbk0DskCnlJjHflRCwBwL4GR6MpeaoFDJX3bWDq6VGLWH/nHv1t0hYaVF0H+0P FQZG3epWTdQ2EMqomgNxKaM8emR687DrCDduj5MKxfKycV8KtUPhftdyYfMLO3k157Q0 AQaJHnK6JV5KaUomiYbkqb3j6M4X4pxV3YjkIOgThyK85jwWng1xSnID4kX5lneY8IZm 9E74SkSAJUGhgERPDovNWwzaX5xzBjGFLacd26bKGrFOWECs+Fy8IErxLd6dnCGcuEzk PtSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Do2qtDJt; spf=pass (google.com: domain of linux-kernel+bounces-15490-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15490-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q7-20020a0ce207000000b0067f8e28347asi26828211qvl.492.2024.01.03.04.08.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 04:08:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15490-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Do2qtDJt; spf=pass (google.com: domain of linux-kernel+bounces-15490-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15490-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 163321C23379 for ; Wed, 3 Jan 2024 12:08:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E841F18EBC; Wed, 3 Jan 2024 12:08:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Do2qtDJt" X-Original-To: linux-kernel@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 852BE18EAA for ; Wed, 3 Jan 2024 12:08:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704283705; 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: in-reply-to:in-reply-to:references:references; bh=Xn3hPmKlXFLs1haHAodNqDYoLKo2JnMk0c6eSg9WYzE=; b=Do2qtDJtaL5JPkgmWHFc3/tlk/ksok4b+GD28mnnvjskKsTqO155j6UNhUACdVzIrsCJY8 SjHpRQRfluNZ8ATb7oa+PGmP+tJJZjHMOfzw7n3ABTPfmPBSGScG1qBILo/QN9zgX52hzi 0uJtQ2H9v3MPfqGk7AwvwefNK0hBPhI= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-464-ipNzNXHGPhaBuxD3VhW4ZQ-1; Wed, 03 Jan 2024 07:08:23 -0500 X-MC-Unique: ipNzNXHGPhaBuxD3VhW4ZQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0F9663C025B4; Wed, 3 Jan 2024 12:08:22 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.68]) by smtp.corp.redhat.com (Postfix) with ESMTP id C516D492BE6; Wed, 3 Jan 2024 12:08:18 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <20231221132400.1601991-1-dhowells@redhat.com> <20231221132400.1601991-41-dhowells@redhat.com> To: Dominique Martinet Cc: dhowells@redhat.com, Jeff Layton , Steve French , Matthew Wilcox , Marc Dionne , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Eric Van Hensbergen , Ilya Dryomov , Christian Brauner , linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Latchesar Ionkov , Christian Schoenebeck Subject: Re: [PATCH v5 40/40] 9p: Use netfslib read/write_iter Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <354049.1704283697.1@warthog.procyon.org.uk> Date: Wed, 03 Jan 2024 12:08:18 +0000 Message-ID: <354050.1704283698@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 Dominique Martinet wrote: > I've also manually confirmed one of the big improvements I'd been asking > for (that writes in cached modes, which used to be chunked to 4k, and > are now properly aggregated, so e.g 'dd bs=1M count=1' will properly > issue a minimal number of TWRITE calls capped by msize) -- this is > great! After the merge window, we can look at enabling multipage folios for 9p. > I've noticed we don't cache xattrs are all, I haven't given this any particular thought. We could attach them to the cachefile object as xattrs, but it means you have to do two xattr lookups in the event of a cache miss. At this point, I'm going to ask Christian to stack the extra patch on his branch rather than folding it down and retagging. > I've got a couple of questions below, but: I'll address those separately. > Tested-by: Dominique Martinet > Acked-by: Dominique Martinet Thanks! David