From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 8EEFCC02194 for ; Thu, 6 Feb 2025 18:11:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1D2B2280002; Thu, 6 Feb 2025 13:11:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 15CAD280001; Thu, 6 Feb 2025 13:11:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EC97F280002; Thu, 6 Feb 2025 13:11:12 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id A5EC6280001 for ; Thu, 6 Feb 2025 13:11:12 -0500 (EST) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 267C1C13EA for ; Thu, 6 Feb 2025 18:11:12 +0000 (UTC) X-FDA: 83090311584.27.E9B4B8E Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf19.hostedemail.com (Postfix) with ESMTP id 36A521A0010 for ; Thu, 6 Feb 2025 18:11:09 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=Q0rKUKKY; spf=pass (imf19.hostedemail.com: domain of stefanha@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=stefanha@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1738865469; a=rsa-sha256; cv=none; b=PHGa+0tDi+hd9NbVdnOW310rLfxq2/0LeXSMFaZzSLEtF4zuzzwyj2pOhe6MeqgY589+Fm Yv4rZ/e7trcyEMuHL2CNR85tzaaBnD3LCu+ADd/8hsfq5RxpqaSB7YqcWc25GPz/9gu7ot 7+X4A/6kIR6rUQEqYrGHLEWIT5BUQKo= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=Q0rKUKKY; spf=pass (imf19.hostedemail.com: domain of stefanha@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=stefanha@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1738865469; 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:in-reply-to:references:references:dkim-signature; bh=L1Ng9lldW/83WhLxtsVxj1Z34scX9+JOOnEphNXYxHw=; b=NzDPJHpi6GjOseuPjTANOqEy1WE/yczaQGkphAfJ8j4KJXgMus74Ee1v/qtRUH7+N8Konc 03uMVfuH+QstWkRY15ZSgvv9DCWSzPhyxFyHndKi2XeaYNd65HcK6v2L+ncJ+Xp0Xu+4wi vhOK0MQDzEz+ggLGEP/68ErwOYiRtXY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1738865468; 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=L1Ng9lldW/83WhLxtsVxj1Z34scX9+JOOnEphNXYxHw=; b=Q0rKUKKYOwfszoaS+oITbJYMPn42PBXWq5YwKRYgIXMSK559Q27/ZYVawluDjvA0CACdkR xP+SDHAYGTMvqtI4nAbTmzzBVI8RwiBrgdEDK4UKfz9qqyIu917R480prlVMvZ7Z0Aww0d T7QJz3zE3mvVoCHyU5+nZr8PtaTMOvc= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-257-8E3rdXJoPkCOp7n7f2PNnw-1; Thu, 06 Feb 2025 13:11:05 -0500 X-MC-Unique: 8E3rdXJoPkCOp7n7f2PNnw-1 X-Mimecast-MFC-AGG-ID: 8E3rdXJoPkCOp7n7f2PNnw Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (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 mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 8B6E61955BC0; Thu, 6 Feb 2025 18:10:26 +0000 (UTC) Received: from localhost (unknown [10.2.16.145]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id EA005180087A; Thu, 6 Feb 2025 18:10:21 +0000 (UTC) Date: Thu, 6 Feb 2025 13:10:19 -0500 From: Stefan Hajnoczi To: Albert Esteve Cc: Vivek Goyal , Dan Williams , Alistair Popple , akpm@linux-foundation.org, linux-mm@kvack.org, alison.schofield@intel.com, lina@asahilina.net, zhang.lyra@gmail.com, gerald.schaefer@linux.ibm.com, vishal.l.verma@intel.com, dave.jiang@intel.com, logang@deltatee.com, bhelgaas@google.com, jack@suse.cz, jgg@ziepe.ca, catalin.marinas@arm.com, will@kernel.org, mpe@ellerman.id.au, npiggin@gmail.com, dave.hansen@linux.intel.com, ira.weiny@intel.com, willy@infradead.org, djwong@kernel.org, tytso@mit.edu, linmiaohe@huawei.com, david@redhat.com, peterx@redhat.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, nvdimm@lists.linux.dev, linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, jhubbard@nvidia.com, hch@lst.de, david@fromorbit.com, chenhuacai@kernel.org, kernel@xen0n.name, loongarch@lists.linux.dev, Hanna Czenczek , German Maglione Subject: Re: [PATCH v6 01/26] fuse: Fix dax truncate/punch_hole fault path Message-ID: <20250206181019.GA413673@fedora> References: <67a3fde7da328_2d2c2942b@dwillia2-xfh.jf.intel.com.notmuch> <20250206143032.GA400591@fedora> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9gaKO0MQEl4+jp8i" Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Rspamd-Queue-Id: 36A521A0010 X-Stat-Signature: f6h9y7wp8osduos9fwskkiendtbmf98q X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1738865469-532834 X-HE-Meta: U2FsdGVkX1/NxxCaU1Lp9RTLtqbfraQM73J3sUQ87hU4V/CnDBHEtsi+YiHnPvXwfgiOVmlxZaQJOjxIGT+XCEw9v3NY5SQ92JFOt/RvAxbUwpdXWL5tWZVWujTERQLInEbjuaEvcKx8DHs8ikaDibLrReE2YTYPlUNbu4kCKjfhr2i7Dbn2Zn25TKuUdTZTEebkhUnperIsO6t+uGqr/01ahUvfCk+pdQ8CAUYDoajzrZxsOgfLlF0+lJ87a8vXv1qoY0K62H/jRGxMxGfpmlkCrC2qfsQW++4IKuLjSOw9n0H3Xz4u9k/GSR0B+g8VPlR2xTAtfG+S7HR7N/IIiy4eoKZJU5FgzgSviP6ge4OhfKZuwXqzv1Xb39UKMkMdPW3dEWoHUQIDd2gxW558LHRlDmCVasfSdgdGwBPc+aIKNK1RZCrBGWqJWkeVDVpl26BYPqwxEhYNs1kBm6AAMh9WwJdjupY2fVbECGA5OOaExdBu4saJCx2Z01OUp6LFQ4GygsJIL5ODMRkoSdX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2iRBoB2mA== 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: List-Subscribe: List-Unsubscribe: --9gaKO0MQEl4+jp8i Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 06, 2025 at 03:59:03PM +0100, Albert Esteve wrote: > Hi! >=20 > On Thu, Feb 6, 2025 at 3:30=E2=80=AFPM Stefan Hajnoczi wrote: > > > > On Thu, Feb 06, 2025 at 08:37:07AM -0500, Vivek Goyal wrote: > > > And then there are challenges at QEMU level. virtiofsd needs addition= al > > > vhost-user commands to implement DAX and these never went upstream in > > > QEMU. I hope these challenges are sorted at some point of time. > > > > Albert Esteve has been working on QEMU support: > > https://lore.kernel.org/qemu-devel/20240912145335.129447-1-aesteve@redh= at.com/ > > > > He has a viable solution. I think the remaining issue is how to best > > structure the memory regions. The reason for slow progress is not > > because it can't be done, it's probably just because this is a > > background task. >=20 > It is partially that, indeed. But what has me blocked for now on posting = the > next version is that I was reworking a bit the MMAP strategy. > Following David comments, I am relying more on RAMBlocks and > subregions for mmaps. But this turned out more difficult than anticipated. >=20 > I hope I can make it work this month and then post the next version. > If there are no major blockers/reworks, further iterations on the > patch shall go smoother. >=20 > I have a separate patch for the vhost-user spec which could > iterate faster, if that'd help. Let's see if anyone needs the vhost-user spec extension now. Otherwise it seems fine to merge it together with the implementation of that spec. Stefan --9gaKO0MQEl4+jp8i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmek+wsACgkQnKSrs4Gr c8iv1AgAtw36d3ZukmPTk9VmX0NGRgWskCoroH9Kztfi3UeYUTi5bn/AL9yD+73x aQ8w4QvmQQBq/U85J8DNgOJ6hXW4uE2XpHCEtdgVWRFatuEwWtlLNZ46gUMD+AJb QtUvCLNwOtMYbADhEDUiIDIZS3DxHUvTI8JZWN6tNCFme7tuoUiJ4hWEhHhQ07yS yebWMNRoW2UmDtVWBMsp/v7zhoroqrrIcRvAaLUBTIE/k2myl3zxEPRW7j69jl9S 7XwGGLC9Odz8ssha4UIg5fbwuUqpbJQA/PwPQVeJWR0a4OXhbFWebWEGdrXiTKP4 04dxu53buvDo8JePVLkCaQZfazl9Cg== =cm2Y -----END PGP SIGNATURE----- --9gaKO0MQEl4+jp8i--