From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.51 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795689901; b=yjkdsHpHQqbKTKAKEirlJOupjP+Kzxv4F7SVT9wLkNIEjs8zc78HTZElB8jQZ2x16Ng5 cwMlfnaS0/Zta7IrLAPA/rrPRbwvVMsso+InJCV+KL9Cy6aaU7zgReJXWAnscF8iqQF6m F4WH2xr1NAeqYrJdxt5HWiQh4CIkFRzPkDmqM/6+i8poklLcBOX0eijxeWGy9TsdJH5WB +sfw5bEf+U5KcM8UEveKI8wtv2o1EVlkfVAPv2uclHmT8PKS+tk3bf4kuIPEUR+r3Fij4 x2gjTlU/UDy8NFHkx+9V7u2Mq/Z62l4Zvc2XSvT8sCTW49Ah7lfR7DJ1rWC/Hmy/PIw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795689901; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=dTzX6/OrqoSYIYFMnL47MVuXS44X2MuyVzOdV4a6oao=; b=IDod5U8zgrQyRm7+pFOKGG+hUI3FvPmVzduzqLbLkHiisG8b871Pam7VRqUvxh3vS4mO rdCQl6VzYeqzmgUQgrGcWnFQ66DO0c8KNPMPcEuYepLT/zQ1/fDJt6elfj6SYYobM6DiK OW+V0XJRTtI8TSqLhrdpmcUBAESZfdvztnEUBGCIIO4or2WrBaoFnz6QeRkLdrIwI2e95 INx+KKJUsneX/CR+MpeRqkpdzCVam1MQfEqrBnxBeJM3QjqbrmdcPGbWoO4ldsS6zigFS jm6l488mnFig0idktA7/SXQUV7v/bk8nmtIDnOY/cpQgdequm+VxBcf33ycLYALPy4g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="tR/VI8cP"; arc=none smtp.remote-ip=209.85.221.51 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2AC54606A32C for ; Thu, 26 Nov 2026 10:45:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2AC54606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=tR/VI8cP Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-48e47347279so4154361f8f.1 for ; Thu, 26 Nov 2026 02:45:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795689899; x=1796294699; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=dTzX6/OrqoSYIYFMnL47MVuXS44X2MuyVzOdV4a6oao=; b=tR/VI8cPcpG5hymT+T1jcM5A1W7L8XQdJUT+lNdQZXkVX5/qwTisGBB28S9PUlJsJ3 07xKsPLkA0fzaUCLNWHD6ptTWhEJyZ/YpopYg50jdi4XQiqSpBJEduMI9nMjK3kLW/dc SK2nfH7/vFX/59Ji2uVyc0V1+f2jvFsSc+bR5DsewBYNgIFkASD7O2uYPV2xtYditdqh 08vGmNfJZQeDPhdI+4ijTOI+LRWnffKfBLoVsVB1lfqZ0iTk02RXZm27biW8v74SGE0Q 1fUak9psa8IkZFIMAsMVsPq5d0hSKpbhVb4lo3tv0klvXAWVqs1YAK7Xoz0HGESm7LTS hhBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795689899; x=1796294699; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=dTzX6/OrqoSYIYFMnL47MVuXS44X2MuyVzOdV4a6oao=; b=tVhgaDPzgMGz1RHM+9Y4fsJ7XQ0cO2Pdm+/C4n5JBEbzqITGf3wjzpS0k65bt70VVq uCgYe/nja0jDPS+oqn9bE/qSdG/LIGiQT2I86I9w1yy5fkKDL4/6lVAx9Eio1wlLgi3y DTBOuF2Bgsc9iDyNLgttmG3IaRjE8IZ4VqHKHNJTUxwN589hvQKF0PniRtZjFMzrajF7 531XNBjwPPkG4ITAErqN7CyMM8S+XaylW0jJF57B6WUipX8wF9mg6x5YgI5lDGHdZ7PN BTC8wrJ3ahCqnfFDRdatFNB/3lnMaRVqCEFzuqfXEqgj9SFXjc9BiZs0NyAp/ah4F/zq U2YA== X-Forwarded-Encrypted: i=1; AL+hErHbdCF+cOUoIn+vabNtmzSoIVSQvNG2/YIjhU2q7YUeQ0rzj/P6ALlxDh2pCMty3u0+ZaJxEEIymdo4@vger.kernel.org X-Gm-Message-State: APuU4Z+W/oY+XqvgtFildxxYFj4iiLaBfpFGblXDEh0Y1rrLcWqz7VAY xV44wfBETqaS4Rjfz1X2FTdOiNgT3wr2RSYIMY9mbGdXe4Jo22QFMeqj X-Gm-Gg: AZFdTZddVIJAv0SyQ2hyLgO5SiEtvslAs+uscUfTVvP9iAb+1OIjgPrdstIfQaJ3N8X W81cOCJTSVTlkxfX5GYXvcVmMyyRYrVcR8uSP+wy1Z/qmNzhycE98V5GHH+mNkwfPt5bWfIG3lM n4TfP4I/4iFbrO8zIVJ/jtC5jVlUwsa8x74nvSpmN7v6x9z3CFIJciqWrrm31BMY1qAVanUNX6b iVUULeK0WfRVFtNexJrXdoE6vAxtKj4KP7IhdUqExlYA6LNxA0Uhn0sDAf4qWWcyrfB06dGA/in ZUL7BNDb25deKT5EGPM9a9/pnVXv/gF0bN3ppFhZajbH8bNK88PaMLo7Eqebq4GuwButEap7kzS FdhOMRrWkMc47kcGchFAxk3ytP6uAGvDVvSUUcUdh9PL7C831YNaWlDZQg9pA4h3In2DH5lgpfz DYhdWxxN0AwKd0NGGBiKVYklogXRf7FRI9g0sJdthwmezhE/6aDH3x8RWue16UAIDparD36Fn2u Ub0+0ywAI4pWe/n4onwfAMKYa175r/Wzfn3b74aOyA0sQLV81N61qKPzNpMbr5uFpO1MZZ8m7yz UHpBg7ydNXEeHLj6Zlkfoib0CnUoukuT55HkRNuMkhGTJSETpjGssYHAKXcWVLej6qEkWSGsCZL V4n/YL5uXsrXDsgZY3BcZH8KDjtFpA977YPVy0PuoldSAAyZ9oFStKRZiBk8wQlhXXaJwP+4t96 HWL/g= X-Received: by 2002:a5d:5888:0:b0:490:a481:7ac8 with SMTP id ffacd0b85a97d-4abb532ea79mr37997103f8f.29.1795689899355; Thu, 26 Nov 2026 02:44:59 -0800 (PST) Received: from ?IPV6:2a01:4b00:bd21:4f00:7cc6:d3ca:494:116c? ([2a01:4b00:bd21:4f00:7cc6:d3ca:494:116c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab658e2c8csm40898578f8f.2.2026.11.26.02.44.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Nov 2026 02:44:58 -0800 (PST) Message-ID: <0b76171b-7f2e-41d2-8a5c-102dbe4cb85b@gmail.com> Date: Thu, 26 Nov 2026 10:44:53 +0000 X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v2 0/8] ext4: Add dma-buf read/write support To: Mengmeng Zhao , Anuj Gupta , Christoph Hellwig , Christian Brauner Cc: Anuj Gupta , Nitesh Shetty , Jens Axboe , Sumit Semwal , Christian Koenig , Philipp Stanner , Dan Williams , Matthew Wilcox , Jan Kara , Alexander Viro , Theodore Ts'o , Andreas Dilger , Baokun Li , Ojaswin Mujoo , Ritesh Harjani , Zhang Yi , Jonathan Corbet , Shuah Khan , Randy Dunlap , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, nvdimm@lists.linux.dev, linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, linux-doc@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Li Wang , Mengmeng Zhao References: <20261113070621.273953-1-mengmeng.zhao@linux.dev> <20261120154153.GC28611@lst.de> <361c4312-f77b-495f-9ee4-e0b9612b4463@linux.dev> <20261124084025.2101804-1-anuj20.g@samsung.com> <3bce3a69-e41c-4683-b1ca-9477dd41a7e0@linux.dev> Content-Language: en-US From: Pavel Begunkov In-Reply-To: <3bce3a69-e41c-4683-b1ca-9477dd41a7e0@linux.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 11/26/26 01:25, Mengmeng Zhao wrote: > On 11/24/26 16:40, Anuj Gupta wrote: >> On Mon, Nov 23, 2026 at 09:51:41AM +0800, Mengmeng Zhao wrote: >>> Hi Anuj, I'd be happy to help pull our patches together into a single >>> unified series and send it out for review, if you're okay with that—and >>> would appreciate your review once it's posted as well. Please let me know how >>> you'd like to coordinate, or if you have any updates in progress on your >>> side before I put the series together. >> >> Hi Mengmeng, >> >> We already have updates in progress on the XFS side. >> >> We will consolidate the combined series along with your ext4 work and >> related patches, keeping your authorship. >> >> One more thing that we are looking at combining is the ability to share >> the registration across files. Pavel had mentioned this earlier in our >> xfs series [1] and posted a series too [2] which needs some more work. >> >> FWIW, we also had ext4 changes, but intentionally started with one >> filesystem (XFS) so that the common interface could settle first. >> >> [1] https://lore.kernel.org/linux-block/4649a20f-aba9-418e-987f-66f21ab24410@gmail.com/ >> [2] https://lore.kernel.org/linux-block/cover.1793751001.git.asml.silence@gmail.com/ > > Hi Anuj, > > Sounds good, that makes sense given the ongoing XFS and shared registration > updates. Thanks for including our ext4 patches and keeping the authorship. > Feel free to loop me in once you post the combined series—I'd be happy to > help review and test it. > > I looked at Pavel's patchset as well, and noticed it adds a new f_dma_io_tag > field to struct file, whereas Christoph and Christian want to avoid bloating > struct file. Did I miss something, or do you have a different approach in mind > to avoid adding fields to struct file? I'll resend it later, how to store the tag is the least interesting part, it can just move inside the block/ext4/etc code, which would be uglier, but whatever. -- Pavel Begunkov