From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 29D194334BC; Mon, 5 Oct 2026 09:11:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791191478; cv=none; b=g266cl6mcTJGzCEbHJHSvB1O/pmNRV+XrERT+kOLBKGGFb4uCs/7mGU/80yYDxneYiw44TP7NJrNiUIDoHaWknSu6Orcp6uA0M+3/O069t3JJsDxtDJbGT1tYs2enE3RKibqAJGSJaSmUc8BDUZSU20dVGe4TlvvSwWjjMMfRis= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791191478; c=relaxed/simple; bh=GPIZUU+3LzlHpt8dWN7uSDKYHB5h2wSJfQNyM6QkLWc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r0YGps6l/N2C9LeWB4q8c7Mduhi9N/KNplOYR6GkaobkdtTqb00tVsvsEPH29UzRvIGfwLRktEaHik0O7iHAhUfHP9V4DCmXWyOHitCZCVQK18x18ca61HV9vin9HOKPXQBPlZq3h7Ke9I2azyocu1RkMtgUP3bu+ArYAn+aJCI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id BD5A468C4E; Mon, 5 Oct 2026 11:11:11 +0200 (CEST) Date: Mon, 5 Oct 2026 11:11:11 +0200 From: Christoph Hellwig To: Pavel Begunkov Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org, io-uring@vger.kernel.org, Christoph Hellwig , Sumit Semwal , Christian =?iso-8859-1?Q?K=F6nig?= , Keith Busch , Sagi Grimberg , Alexander Viro , Christian Brauner , Jan Kara , Andrew Morton , Jens Axboe , Nitesh Shetty , Kanchan Joshi , Anuj Gupta , Tushar Gohad , William Power , Phil Cayton , Matthew Brost , Alasdair Kergon , Mike Snitzer , Mikulas Patocka , Benjamin Marzinski , dm-devel@lists.linux.dev Subject: Re: [PATCH v7 05/13] block: add dma-buf support for raw bdev Message-ID: <20261005091111.GB10727@lst.de> References: Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) On Mon, Sep 28, 2026 at 02:32:21PM +0100, Pavel Begunkov wrote: > Add a simple proxy implementation of init_dma_buf_io_ctx() forwarding > the call to a new struct block_device_operations operation. Also reject > dma-buf backed iterators for buffered IO. > > Reviewed-by: Christoph Hellwig > [pavel: reject dma-buf without O_DIRECT] > Signed-off-by: Pavel Begunkov The Sashiko report about the errno on fallback here looks real, and is probably easily fixed by setting a proper errno.