From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77BA841D62D for ; Wed, 29 Jul 2026 13:11:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785330693; cv=none; b=qIbc4T75hd0+baWvm7T0ychZWwRq+snc4BKlfWsH2kYJjH8lcbGr5MOB14J8oL+uC3TqNN3bJPDyimG5tRJqxH9RSpGH7UE45T3vX0Z8LPN2eBwfBBqW3yeTztYHPUOltaFZwl2IBcdYqiA8amdMHq2Y2EVO5cJ4Xl9GAB17yi0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785330693; c=relaxed/simple; bh=iCKby9e1qhvE8ns2sICVS+CCbRWmXfOjz3bB7l8ahOg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SHH13oW/JYlPRPwIp2gZ1ZJK48JRYN45pWc6O1l6c+Brk4zyuil8C2USDWYqrlS6Bl4vER4LXX0k8kR+37CJxqIgbdaQHXw+v88fUkZAiuaQV6cnDugQ8a9EJ3O5HnpvLb/bjYww7CayVRLYDO8rDKPqSt7igK16lH3DTsVHuhw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Jti4ijP6; arc=none smtp.client-ip=209.85.128.48 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.b="Jti4ijP6" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-49557167508so8120185e9.1 for ; Wed, 29 Jul 2026 06:11:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785330690; x=1785935490; 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=QlPatibx3g8XfK6S5eprVRseiFbSJCNNQ3hXCye36cc=; b=Jti4ijP6nIE18iAiAjCvzk7mtWD9uz6VNgJit+2+WuC97b8pScL9tVa28/B7KhF1e6 6qBRiH4ncAICQI6XhK5XOV/2qsaxwo/f/oJmnCgNx2vo09a6sQtcBSS7pRXnSqxFDJGY INpBceOL/EqOodFVGAxNBVghwit1FrKOGVvhaUoDsKfB2I0x5a5hNYhSotMKW3frkoQI Un8BtM07xXis4VfUBUjrapU6CSGh2KhiceUEN6HRqsuTPC4pRlQEN7UnWjKm8NIESBvv YUAAYlsGBXioHmaXaAYAQZe4TvPo8pV8I6t24ZujjdUL+tNRxbyyQRntMzULHkrAclbQ 8QRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785330690; x=1785935490; 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=QlPatibx3g8XfK6S5eprVRseiFbSJCNNQ3hXCye36cc=; b=XruIWXCfh9QQJpF2wc31bfMuPLdzafCZU23ftpkxc3Tm5o/XpZusG+npyDkpK4INpr E263Op5HGUosw2zSgdTI8M8fPlm5Jm86dukvzBfFpd3xTGuJ3dQlONqYl1MDP1oFxvXj K5kuMz3wGcyTdzEByZuawwnIqBiBd+ouv+5lpxXUjLxTV+P6bogHkepH2r8Hf7bEfbsf JZV1AhvdxbZ7JnoLYw19WxA040G5OgehYomRD/+tOa0k94ROq1b+NuTiqPf3EzAngJB8 zVOPf6+C3v37WhT/O0ECw2F9rqWrg2Bwpd4mHDWZfxqbvMz5bjRwkORnBz04B/yF3JR1 6p2Q== X-Forwarded-Encrypted: i=1; AHgh+RpCzPzWGwBgORhc+4Oe6K3INQTuwbNBYabkAXuulwgs2Rfb/3KayHrnBPPX0/442yLg/tWlraYaiP8h2Q==@vger.kernel.org X-Gm-Message-State: AOJu0YyRs4NXFTxvCKEBzD2xblxt+f0CNUSHO8a6OZQcfRYUIOGtno1q koRScSy/sRWzhzdH9V6LO4rdTRdmgm3qwm9AIxUKeLHZRPRWv52pE1nu X-Gm-Gg: AR+sD12zOnYvY03GDv8F8X87JXkGlNpvk8D6WH8MUQt6k4dq6+3qjGqnWRRAcl6XCaL +ygf4lHvzV7rV7L0iwqHc4QfDM/ToZP+0vr2z0vo9Tk386cArNORLCFu88lYzwUzDwjydunFKgI eYmMdVGLNCIpROPk7CBdnkSOelL2oU3Wp3RytzFtLMmfAaMpsn2GWS1u1QJ3VKZd11Xe8xDXYms RAySxY2cngBDuZTGv0MEIUhedj1SImdPCEXveth3+462lZtZM2HX6/NWufcaCaiJR1nZSH2Gt/I u93Qha6nfwN2lA4QQW6au2kdNqfXTaELOtLBJ/Ba4G8VEoRqg0kDp8D9f0g6iIAzgtlBOuA28VG t78DNH0/LEaxFz/RdgusdnfuiV0oWePXDB7rgh72T5jxPNQLu8jFvy8cR1724kYFo/6u/M6gSha 2VSd6IPcdo9+HIMpux1BuFQvpBqku67nUwhmGMRN6DkXphrc4FwuKQQhsWfdeVixTT5ArMMsg1K OYVVsrSJM+9kIsAxHkkojn/LdTIod3SPvLSmfm6A9dXkNWPgv3AwlNQokNA8Emnx8TPXI7jeCbD AZP4Nqw8SCxoBIK8J74= X-Received: by 2002:a05:600c:3485:b0:493:b243:8ffc with SMTP id 5b1f17b1804b1-496c6586bbcmr69846215e9.35.1785330689440; Wed, 29 Jul 2026 06:11:29 -0700 (PDT) Received: from ?IPV6:2620:10d:c096:325:77fd:1068:74c8:af87? ([2620:10d:c092:600::1:640]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-496c45c338fsm157280305e9.8.2026.07.29.06.11.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Jul 2026 06:11:28 -0700 (PDT) Message-ID: <60df6af0-3bf0-4954-8181-a0acca7c21c4@gmail.com> Date: Wed, 29 Jul 2026 14:11:16 +0100 Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 01/14] dma-buf: introduce initial file I/O infrastructure To: Christoph Hellwig Cc: Jens Axboe , Keith Busch , Sagi Grimberg , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org, io-uring@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Alexander Viro , Christian Brauner , Andrew Morton , Sumit Semwal , =?UTF-8?Q?Christian_K=C3=B6nig?= , Nitesh Shetty , Kanchan Joshi , Anuj Gupta , Tushar Gohad , William Power , Phil Cayton , Jason Gunthorpe , Damien Le Moal , Alasdair Kergon , Mike Snitzer , Mikulas Patocka , Benjamin Marzinski , Vishal Verma , David Sterba , Ilya Dryomov , dm-devel@lists.linux.dev, nvdimm@lists.linux.dev, linux-btrfs@vger.kernel.org, ceph-devel@vger.kernel.org References: <20260729065927.GA9534@lst.de> <340dd033-2a45-49e7-afd6-95dbbbf624da@gmail.com> <20260729112808.GA30851@lst.de> Content-Language: en-US From: Pavel Begunkov In-Reply-To: <20260729112808.GA30851@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 7/29/26 12:28, Christoph Hellwig wrote: > On Wed, Jul 29, 2026 at 11:37:19AM +0100, Pavel Begunkov wrote: >> On 7/29/26 07:59, Christoph Hellwig wrote: >>> The method name feels a bit convoluted, but given all the >>> previous discussions I don't care too strongly. I'll leave >>> the dma-buf side review to those who understand it. >> >> I assume you mean this: > > Yes. > >> >> + int (*init_dma_buf_io_ctx)(struct file *, struct dma_buf_io_ctx *); >> >> I agree, and all dma_buf_io_[ctx,map] look clunky, but I don't >> see what I can drop out of the name. Suggestions? Maybe I at least >> should make the fs op sth like "register_dma_buf". > > I just remember scares from the last discussion :) > > register_dma_buf sounds fine to be, but unless I misremember there > were objections to that before. I'm going to respin the set in a couple of days, just going to leave it as is unless we find better options. -- Pavel Begunkov