Message ID | 463766.1716412334@warthog.procyon.org.uk (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50800C25B78 for <linux-mm@archiver.kernel.org>; Wed, 22 May 2024 21:12:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C8D9A6B00A3; Wed, 22 May 2024 17:12:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C170D6B00A4; Wed, 22 May 2024 17:12:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AB6B26B00A5; Wed, 22 May 2024 17:12:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 8967A6B00A3 for <linux-mm@kvack.org>; Wed, 22 May 2024 17:12:26 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 36AD5124CAE for <linux-mm@kvack.org>; Wed, 22 May 2024 21:12:26 +0000 (UTC) X-FDA: 82147280292.02.D05DB45 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf26.hostedemail.com (Postfix) with ESMTP id 6D43F140015 for <linux-mm@kvack.org>; Wed, 22 May 2024 21:12:23 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=JvPsrKl5; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf26.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1716412343; h=from:from:sender: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:in-reply-to: references:dkim-signature; bh=e5HgR1UJJHE4pqNLP7HJRqo1yRZdPdGaAXEqWOstEzk=; b=hkBNt+UwM8Q5Zw52BS9m5MfwU7/xlqNbbMGurWosIPKI4+hAV/hT0y5CD+Ei6fGdev8O8E yPs/FD/qQ61wIOqf9ceO9TCBtXBJRdLYPRSrLJ38O5q+O6t3wJG+vDWit+5otEoH2MEPLO gYDX0qZHzSJazV4AAd0PKxxEfh3QBBY= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=JvPsrKl5; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf26.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1716412343; a=rsa-sha256; cv=none; b=YHYbYdRlUZYM3AeWliRx8U2GYcHc1B6CtMf9fcPEhT8F8YOc+wqo41lOMpizuGmLIdeOik cIJFQuSV2D87PVuZKcpE+4UCgazjJNrl5OkRivL7WLLMYgwv1sIwC1Qf+dwyqT1ESK6uJK HTMjLfcg1xAPt8SBR/BzTM1Vus6MEe8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1716412342; 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; bh=e5HgR1UJJHE4pqNLP7HJRqo1yRZdPdGaAXEqWOstEzk=; b=JvPsrKl5v+Mv0QG3qrvWPDvLnwhJ8tZzY3XBmEZWycWfbE6dMBtyWU+pVw6Tw/7DfHu1H9 HNuOh3ybHG366/lway1mSqHXO94pT/0n89UEi0+TGJt8DDAjBtxSWUgNzklBD/0hnjTGZV 22rUuq3EiqsWiXjadQsWetGW2Y88SEg= 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-142-jD23OcejMCWzTI9Q9-d0Eg-1; Wed, 22 May 2024 17:12:17 -0400 X-MC-Unique: jD23OcejMCWzTI9Q9-d0Eg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (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 8B79A3C025BA; Wed, 22 May 2024 21:12:16 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.20]) by smtp.corp.redhat.com (Postfix) with ESMTP id 44C0E100046D; Wed, 22 May 2024 21:12:15 +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 <dhowells@redhat.com> To: Eric Van Hensbergen <ericvh@kernel.org>, Latchesar Ionkov <lucho@ionkov.net>, Dominique Martinet <asmadeus@codewreck.org> cc: dhowells@redhat.com, Christian Schoenebeck <linux_oss@crudebyte.com>, Jeff Layton <jlayton@kernel.org>, Matthew Wilcox <willy@infradead.org>, v9fs@lists.linux.dev, netfs@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] 9p: Enable multipage folios MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <463765.1716412334.1@warthog.procyon.org.uk> Date: Wed, 22 May 2024 22:12:14 +0100 Message-ID: <463766.1716412334@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.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T5acvqfGu9c/NJYwo8PHKwbjGN4LwLXuSCm 5s2bKHC+ YgMhRDXXBESXeYFJAGI6DOH3Fp3+XqUnAVtxj4nIrjCYPpI1ASiEsq1S+xdWwCTocEXpehoR7rTwC9LpkdJWd5YUicth5GgQUSx7JukHiAIBVk4Q4Gc67vqumGhAOIC0RLMkkLCpzh+0NFM7KFSH9gTIc6uY74p66/oKl1msyTtrjWkPfWnAJ2wEvO5d1ZT3EhiBnj/tOGeiRxIaDSdbUnEVQAGRLDzC5YV0168MhKdpydGo+sTkr4dzb0TVGcXariYITVLNKRoEKnNAwRKArGTQmSfIW6/heYqRhP6KbWk5pdi4BN7PvtF9WoZJ4pad48MkSIP/3M0c44XDf54ML3upVXZOtcGQ56OUK/J0ItkNveBEwa9kGG/kN1adHuu4NNxlEKOuO6Fq2YYRp4NYL34oHIIddL8PpE6h0W0HlTacLnkYzqDQRlsFrxHC0LiTqzcBXKy9FxvXNBrzalxkudJBqbDUA4KyBEvm6/hEVECOZZubmSplPpt7k2RzWlISsZQR9usSGTxxUet6ChHOd3d7yyGf4uDrWLKUz X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
9p: Enable multipage folios
|
expand
|
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index 7a3308d77606..8c9a896d691e 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c @@ -295,6 +295,7 @@ int v9fs_init_inode(struct v9fs_session_info *v9ses, inode->i_op = &v9fs_file_inode_operations; inode->i_fop = &v9fs_file_operations; } + mapping_set_large_folios(inode->i_mapping); break; case S_IFLNK:
Enable support for multipage folios on the 9P filesystem. This is all handled through netfslib and is already enabled on AFS and CIFS also. 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: Jeff Layton <jlayton@kernel.org> cc: Matthew Wilcox <willy@infradead.org> cc: v9fs@lists.linux.dev cc: netfs@lists.linux.dev cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org --- fs/9p/vfs_inode.c | 1 + 1 file changed, 1 insertion(+)