From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795689901; b=Ffq0nB+LeZ5zUH+R8Px6xV9KK7XjJN6wE+KrrviaFgn/hFRnYzLva0jjdo+jkGs9WsU6 TKCPbMO7Ga3X/Al6EPWDW4YKCaF4Uor09aMqNM6yTW0wzRoAe6W9+fCSHMsxgLYSJO0Ac aTnEOU8yg5PpxyTmQBR9vjO4JitabpxEqpyEQ83MDam8GnR07+wOZlRi1S7vhB3jDmBTs Xl8PIA5eKTa3fU9lqn+b1p7pZeLT0QOTDRJMWiQHHdaDUHKnQCTGwbBek7Q/WrwhSypbd Ots8JR6UIh5AfY+Toj2oUhEq5I9ODTq2Z8wNbw2sWmgXodB4o3ahCefaLN2vwSrppjQ== 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=p+Pyn+IzzbFU8cVIe1rXhrrETDRwBlZxjZqx9EWvFj27sopr9/GjUaTxZGibr1YaaO4K WIGJdnhcCh7alLec/xtaTki5xFMOec0Zd2NV4B8BPfSQ0h9a0aXBvP0QcfOBUZ0RoSG8t M3Umvs0tQVbORDzbjAVwWLPwEjvQ9H6pcF8lMDeogsFjkQ/yP3qq2Q1oqLPc3o4b4Mc4z HuDEbCx1k2IsfbqGii+5kIiMbGYzJnkG2NZe09bPsnQjvT2dnKv94dYL0zRtLUccvT1nn 23gtEJYVEdCoF2EgLMLF/rNxAz6K0vavB0WZUwnp8YsutZwd4BGyE0WzjOWVWJ7evpA== 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.48 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 269F9606A326 for ; Thu, 26 Nov 2026 10:45:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 269F9606A326 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-f48.google.com with SMTP id ffacd0b85a97d-4a32576da88so3922209f8f.3 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=GrpcD+bxLwQuFjcFfQlv3xDw4NM7PM1iSC5LDvL6LK/0VkpMNZIEpFoZai1/hQBT8v V9XEvd/QMc7NbQTOdQv394b1LKwBMznfIozTLY+JveIlwlseN+a97VBUksIgzHfVFN3a XHQy2mqbwfAiRKDiETjzPLAEgJlP1EKyarttaaHcquXxsE/ZfesjsXhrfjPPuW0xcSqI XWCxyQ5YmXzULBUXekipVT3/4MAPHmrBCJINYOExUqAupWWlP+0eVDbuwZVYnXhaokv4 fBB0g1Su06d9EhZhmQRL9qeu/0AQ7TcuUc2hEfAGhHJGazyyocuW1qxp2CTa5+UfAhv/ KrTg== X-Forwarded-Encrypted: i=1; AL+hErEydzHGZmVT/m68CzYt0h/fE/ASU4+vmwojEwSz9UdJGqctlIXboZXppG5vKD4aF0aihd1ews/+apRMb7c=@vger.kernel.org X-Gm-Message-State: APuU4Z8Puv+Gw17R83ugTummWr3dCKgfHVE1EP6J4SaDxxmtWDxXuC3K su+092k31CCJXv/OBRQEc8gp2qartXAp04xDc/BEwai7hsuVLWQg8EMW X-Gm-Gg: AZFdTZdJKu9Sea07Bk5tQcJb7ySSQL/+vdCnA3iEKyev8QIVh4ykhQEbhGgugnt3TRn 2vmsE0dEj+JK4H17VohfhNv3ivv15XnfyThNK0aJzX7v+onfKHMlFY3in8cyQ2xltJEYkjfI85f S2cqvZh0StWRICeHrXC8M0Ltn+kXltwdfiklvDu5Q5eEB7c1f/PShwcG9HcNirtFrsMV/BMRZ1X a7fNAJnTNOqXbqc/+cWg5OQ4X8bL6CN5zFSX3qiy62Ojktdl4kStiQdKI2JD81Jwx9kPSQykWdZ yh+6uI3VtZr01Couks8oDx5iFtupKVVHs0EZG2S3qVy4N26/KB8w/O63uBu0dwGERnNAKD1n++S i2z7+ZBXXt+Nib/byzuRoFHy+ZbID8mEqB37P06jQFhKLo+yGPqr54V4BTWzsbE9gVHNNicU8eq JtlWXsQoFTlki7jCUOihcPL/mBXIsQDWXtukIEuQ8FgyNuPB5g8FIbtyzaBGL6o0Iq70n0NIeHO E8RZzgoC/xWPqzb/fDBD+v6V2bu1GrR4d6jxuS0jae1qrlD5nXyMOZR19AypzlxcP4pyQqJjIL1 sSoELsIk7qyXC3Fi9DcoNUAiFj5wiDfprcqueyOtGcs5605QOdR0YasdfwQpZhRZdgRyPBBJFWd mzqjEpU3y//YD3/YuXXs6bEicwf74AkX3aOgfL9iNSCcOmVMWWpZxTuM/+XfBJ7AlkuxrQB5wzw d4D5o= 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-kernel@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