Message ID | 20240129115512.1281624-2-dhowells@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-42648-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp511652dyb; Mon, 29 Jan 2024 03:56:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGg6Yu6mETvY8k4R4ocuHSprz/QSp5nDeIa1g4CgEH+ttPRHFJQ9tHTAV3XpMNPy85xXtRI X-Received: by 2002:a05:6402:31f8:b0:55e:bbf5:d1d8 with SMTP id dy24-20020a05640231f800b0055ebbf5d1d8mr3211215edb.34.1706529381066; Mon, 29 Jan 2024 03:56:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706529381; cv=pass; d=google.com; s=arc-20160816; b=tRAc36tYeqCW6eE5Ti/ejlhvrKb2xM8aZ1R+WWs0UH+M8vndkrobKLZ7hL4D3nYoF7 OLSycCs40i1l1jI+QQ9zHGEJFSkZ0ZO9NbQN31T0GwNZpDxGyWc/op09skminmEUdxVa g7O4zaBED8pjV859CoRdQPd6wxI94EdMVc58ZvAXRIRS4amRN7YIXkmdHWg5zmEV/Fom 4r7tOS4+jTy2/ACRpOiGuGuZZOiN2mRmp5vKBZIVDtQgvRuZ8Z952Adr4nuXNe2MnJxE yseTZl+8sU5Nh2DeEK5sEY7DFDZdFynKO2NKoHzhY2Y6vpFCz78rhurR8R1JVemeOH9W H/qQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=kFEwBUvtYUzBE87TzSBBZpD+94Lt4ih08V10OQ70ATs=; fh=TncisnLepamR9eYyUPx30nqn5b6qQAsmiKSJOESmvbg=; b=pXdoMV9imubI9YvfMoqp4LqQiT9Ne+rfZuIzusQoMcrrppZnB8ob2cJpUgBDP/it9I VsswUjj/bKHky0u47AT0ORhV1jLxVn90weMFBkDrDRcXdB6sOxNy6S26wOk2NeaUz2qe myj/fonR1dBPpSLhZXpSGCOI+fP3WvlG8zJJNzjJ/s/r3weNIo14ADTD1i2AkCwvVvMA SqmuWkLGoxt/lGFeYBPKTj1RkzudKOluEN1onoTayGsYmZlRdSJMq8g0ubQCsgJs6LX+ ps7EyKsxWjRvfxLCW4DjFMqt8vW/1U+Xdz+pOzpReq6CKKWh6ny8Qjym4r0bzL2BnX5Q Mk1Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=So3bh3vq; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-42648-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42648-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id fk3-20020a056402398300b0055a8cdad66fsi3655554edb.535.2024.01.29.03.56.20 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 03:56:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42648-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=So3bh3vq; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-42648-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42648-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id AAC941F21373 for <ouuuleilei@gmail.com>; Mon, 29 Jan 2024 11:56:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F0213605BE; Mon, 29 Jan 2024 11:55:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="So3bh3vq" 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 9D6945FBBE for <linux-kernel@vger.kernel.org>; Mon, 29 Jan 2024 11:55:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706529328; cv=none; b=qpxp8jsfEmxra76bYv8x0ifTNEhJ0K1KU7zavEkjuZ6VQLwfG2TGwDHjPj24OfQVV8VZHQtvbzXhG4pqwlFuplD4NJ0kdimXUi/slxS22odqb61dKUJdElGLlhinlA+4IpwWzirgNQ4nNyYVz/dch1WVEnGWny6KYFrdDCru5Os= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706529328; c=relaxed/simple; bh=AnzxcJj9wjtJkMYs3W/gQlln1rYbehXjbzJ6iBM9txw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GkPzn1dvef5HHnpabgUr8JzVAOv5019JxIYLGekume+9PB7iiigLzpzC4a/4kBOtPNbmEKs4DbEXwiOK8XAXakoAEKTw9ExkpCZw3jkcoVnu00+cuA3W2NeZoVPNNn71gX3Ki+pKXxWezjKIuhoWfry513qY+O7CbzdrIC36BDY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=So3bh3vq; arc=none smtp.client-ip=170.10.133.124 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=1706529325; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kFEwBUvtYUzBE87TzSBBZpD+94Lt4ih08V10OQ70ATs=; b=So3bh3vqnUgd1pGptXc5gkM4++Io5cbXKaW6EQAFkCc5mWMkOOfx52fhMxnAgN6XFBN+dD TZnGZmIfD7t+xp7OHJBJu1LwonGr/ayHGZ1vpO2C/xTfJU8kqFEqNc/569yMki/nhIBryN pS86i2mu7xlQ4aueKB9GA+WbTa4S6ow= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-470-3fM3ZQmaN2O0NeesbjZpxw-1; Mon, 29 Jan 2024 06:55:21 -0500 X-MC-Unique: 3fM3ZQmaN2O0NeesbjZpxw-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (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 3FC87185A780; Mon, 29 Jan 2024 11:55:20 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.245]) by smtp.corp.redhat.com (Postfix) with ESMTP id C99E4492BC6; Mon, 29 Jan 2024 11:55:18 +0000 (UTC) From: David Howells <dhowells@redhat.com> To: Eric Van Hensbergen <ericvh@kernel.org>, Dominique Martinet <asmadeus@codewreck.org>, Latchesar Ionkov <lucho@ionkov.net> Cc: David Howells <dhowells@redhat.com>, Christian Schoenebeck <linux_oss@crudebyte.com>, Matthew Wilcox <willy@infradead.org>, Jeff Layton <jlayton@kernel.org>, Christian Brauner <christian@brauner.io>, netfs@lists.linux.dev, v9fs@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 1/3] 9p: Enable large folio support Date: Mon, 29 Jan 2024 11:54:35 +0000 Message-ID: <20240129115512.1281624-2-dhowells@redhat.com> In-Reply-To: <20240129115512.1281624-1-dhowells@redhat.com> References: <20240129115512.1281624-1-dhowells@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789425752189872949 X-GMAIL-MSGID: 1789425752189872949 |
Series |
9p: Further netfslib-related changes
|
|
Commit Message
David Howells
Jan. 29, 2024, 11:54 a.m. UTC
From: Dominique Martinet <asmadeus@codewreck.org> Enable large folio support in 9P now that the VM/VFS data I/O interface is handled through netfslib. Signed-off-by: David Howells <dhowells@redhat.com> cc: Eric Van Hensbergen <ericvh@kernel.org> cc: Latchesar Ionkov <lucho@ionkov.net> cc: Dominique Martinet <asmadeus@codewreck.org> cc: Christian Schoenebeck <linux_oss@crudebyte.com> cc: Matthew Wilcox <willy@infradead.org> cc: v9fs@lists.linux.dev cc: netfs@lists.linux.dev --- fs/9p/vfs_inode.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index 32572982f72e..ca9f504b9daf 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c @@ -262,6 +262,7 @@ int v9fs_init_inode(struct v9fs_session_info *v9ses, inode->i_rdev = rdev; simple_inode_init_ts(inode); inode->i_mapping->a_ops = &v9fs_addr_operations; + mapping_set_large_folios(inode->i_mapping); inode->i_private = NULL; switch (mode & S_IFMT) {