Article View: linux.kernel.netdev
Article #19874Re: [RFC PATCH v3 12/25] block, mm: Support PISA for disk I/O and scrub migration
From: Christoph Hellwig
Date: Fri, 20 Nov 2026 16:17
Date: Fri, 20 Nov 2026 16:17
22 lines
9889 bytes
9889 bytes
On Fri, Nov 20, 2026 at 01:06:42AM +0000, Luigi Rizzo wrote: > Extend PISA user/page-cache allocators to support O_DIRECT and buffered > disk I/O, gated per block/controller device through pisa_rx_bufs (read) > and pisa_tx_bufs (write): > > - Split per-node user_pa into DMA_BIDIRECTIONAL, DMA_TO_DEVICE, and > DMA_FROM_DEVICE allocators, promoting pages to DMA_BIDIRECTIONAL if > later accessed in the opposite direction. > - Upgrade pinned O_DIRECT user pages in bio_iov_iter_get_pages(), and > allocate/promote order-0 page-cache folios for buffered I/O when PISA > is enabled on the target block device. > - Add pisa.scrub_migrate to compact or demote lingering folios off old, > sparse user_pa 2MB pages. No, doing MM migrations in an (any) I/O path makes no sense at all. Can we all please go back to actually thinking about problems instead of generating giants amounts of shit code without the slightest reflection. Than you very much for your attention.
Technical Details
Message-ID:
<20261120161715.GA31401@lst.de>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368014-linux-kernel-netdev=dewy.ruReferences:
<20261109182533.3594984-1-lrizzo@google.com> <20261120010655.467825-1-lrizzo@google.com> <20261120010655.467825-13-lrizzo@google.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368014-linux-kernel-netdev=dewy.ru From: hch@lst.de (Christoph Hellwig) Newsgroups: linux.kernel.netdev Subject: Re: [RFC PATCH v3 12/25] block, mm: Support PISA for disk I/O and scrub migration Date: Fri, 20 Nov 2026 17:17:15 +0100 Organization: Usenet Network Message-ID: <20261120161715.GA31401@lst.de> References: <20261109182533.3594984-1-lrizzo@google.com> <20261120010655.467825-1-lrizzo@google.com> <20261120010655.467825-13-lrizzo@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="3202444"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:8CVCtrTxrjIpSbXyjg4NS4MuwGU= sha256:JwRAULLWpl57A+ieygh3yUqfDCYOd1IoXvR5z6WgT/M= sha1:ojfH+on8Om2eklz2zTv1BtyhQ9o= sha256:Tn1GiHpOnKv8XP/TVGooO4mG9Qe5J97hlDeKt45AxjE= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id EEA0F1159F8; Fri, 20 Nov 2026 19:17:41 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.951 X-Spam-Status: No, score=-2.951 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DQDsTCx0YVaL; Fri, 20 Nov 2026 19:17:38 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-368014-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lst.de X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 77DF111598C; Fri, 20 Nov 2026 19:17:34 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 69A706874E; Fri, 20 Nov 2026 16:17:32 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795191451; b=tdhg/wqurJCDAlehS8r+FZVmgqD/1moT2mjU+0ChVb1s31LzkIsW+CH5Yqa388KgmXvo vHtrUFlq2g6d47ErYubf7XaX4sfHqSq7pgv+BjhZuiouH+P/N8xFY0RdYYLMKTeSVsjck WhaD0C6cFymdBuLk1hb6iG4Cu2bKBF37FWjAPiabOrIrSmF3ycO0kXeGOSe3ozFa1bLgM Qp+6tnSUK0ygg6H4+0P/VD4nGI4JEVVolIM16fbrHU2HZVe8Z4AeltysBQ0qOVDt1ASI3 Koojm2pl5RLHfmiK0LOZiSE4o5lBFAutlm13Jpqt93p+EbMHdmcaOQJP7tKQdZ1aYLg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795191451; h=X-Original-To:Received:DMARC-Filter:Received:Date:From:To:Cc:Subject: Message-ID:References:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Type:Content-Disposition:In-Reply-To:User-Agent; bh=7oWxZkJSIrIvDRuijxJDq8O8Wh3VfFr0MJdwdp0vWdE=; b=oXygR0rzjrwigZxodE7efpPSSAEsI3u97sOPKvqGazg6xMD8z/C1+etpbfAvsfMZlhmg 7ZGnnAgcu6XBuxC9/229ZsQTm+X/J0uR2QS3HMwdXl3zrXPi0FDKmNtha/r3UDyyFhMRz mca9f6Mv2+ETAdJVgvXoM7GyeD9zcXwXCgqX6sW7/ypI/9d7JGTyeEpI2oinwgNVGval8 DXUgAr4dK0n9do0crPTDa9hm+10jCelMNGyseEzTKQGoMyCu94mNblswGBRJHIjUhmHtg /EAaZNWk43uUw2bM85+AHMK9RyIZwLr7HHiREVYirSlmzUQoheIHBrJNHPvvbek+LyQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 69314606A338; Fri, 20 Nov 2026 16:17:31 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.95.11.211 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795191445; b=5GIr7P0I2vbx6+MaZHl6JJdt0wlfU337f4Ikrdwkxl/+mjb4LhJtvxvxgf8qiO3FD32O hS/SALYSD3/gTDk/33c4st3321jBdOyWo2zJf4vq4Koj3YqqS6MU4LeIJV+jjULMnu9BG V3Vp890w2HuWxDWk8Gcat3kVpFh0LN2mNnX3RqNqY4PYAX/4NdLvO/LTtR+DX350rUqQh kDhFWG51eEIU0GGF8pUDTKuuwK5C8YqoOYfNEYvuZ6Dt20yQ+AA6w8IwihG1TNo7uH/W8 fZ+z3ICyWecIBwp46/wJ5OhH6OIHsq6o9QH0RF7kYESzzMx3FCKVy/N/aJmBt1W+8KQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795191445; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; bh=7oWxZkJSIrIvDRuijxJDq8O8Wh3VfFr0MJdwdp0vWdE=; b=Vrr1lx/SrmEIHVr83135uWBcVVSOxj5zKZ8DtZgHiK/t1hwvRaSIzYPi3gRNhWzBLrAv W6xWy7i7kTO01dYTNVvH7e1o5M3kiPtTLDIe20wRGO3k0CpD1W/QSl9ylXXzJzriOj4kN xeEHZpmIybIDFepYw9TgLPP8OqLF2Yfh5z8HO9Z/Ka9qmWv7pDoTL00m/vWzXEVgN0g88 +yJfkhWUmwlgOJG68i+Cd+Py1DNkzBbn2aKvJn+AmU+nFqGdFet7td0ofIoJe9ZN+ffay VDZSIOLEKJQV0ZeHDjPfvuHqdYwa853JZnVEpN910iq7MdFu/8g8P089syVmedMhjAg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.remote-ip=213.95.11.211 X-Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58FBA606A320; Fri, 20 Nov 2026 16:17:25 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 58FBA606A320 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de X-Received: by verein.lst.de (Postfix, from userid 2407) id 095346732A; Fri, 20 Nov 2026 17:17:16 +0100 (CET) X-Cc: Andrew Morton <akpm@linux-foundation.org>, David Hildenbrand <david@kernel.org>, Johannes Weiner <hannes@cmpxchg.org>, Vlastimil Babka <vbabka@kernel.org>, Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Marek Szyprowski <m.szyprowski@samsung.com>, Jens Axboe <axboe@kernel.dk>, "David S . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Luigi Rizzo <rizzo.unipi@gmail.com>, Lorenzo Stoakes <ljs@kernel.org>, "Liam R . Howlett" <liam@infradead.org>, Mike Rapoport <rppt@kernel.org>, Suren Baghdasaryan <surenb@google.com>, Michal Hocko <mhocko@suse.com>, Brendan Jackman <brendan.jackman@linux.dev>, Zi Yan <ziy@nvidia.com>, Harry Yoo <harry@kernel.org>, Christoph Lameter <cl@gentwo.org>, David Rientjes <rientjes@google.com>, Roman Gushchin <roman.gushchin@linux.dev>, Hao Li <hao.li@linux.dev>, Matthew Wilcox <willy@infradead.org>, Jan Kara <jack@suse.cz>, Jann Horn <jannh@google.com>, Catalin Marinas <catalin.marinas@arm.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "Rafael J . Wysocki" <rafael@kernel.org>, Danilo Krummrich <dakr@kernel.org>, Jonathan Corbet <corbet@lwn.net>, Simon Horman <horms@kernel.org>, Jesper Dangaard Brouer <hawk@kernel.org>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Willem de Bruijn <willemb@google.com>, Kuniyuki Iwashima <kuniyu@google.com>, Joshua Washington <joshwash@google.com>, Harshitha Ramamurthy <hramamurthy@google.com>, Alexander Lobakin <aleksander.lobakin@intel.com>, Christoph Hellwig <hch@lst.de>, Jason Gunthorpe <jgg@ziepe.ca>, Dragos Tatulea <dtatulea@nvidia.com>, Naman Gulati <namangulati@google.com>, Pranjal Shrivastava <praan@google.com>, Mostafa Saleh <smostafa@google.com>, Randy Dunlap <rdunlap@infradead.org>, linux-mm@kvack.org, iommu@lists.linux.dev, netdev@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, driver-core@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-api@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261120010655.467825-13-lrizzo@google.com> X-User-Agent: Mutt/1.5.17 (2007-11-01)