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 EC65E1DF96D; Tue, 8 Oct 2024 12:25:41 +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=1728390344; cv=none; b=Lwg5dwNitpp0Zd2+LRLOX2Hx8DKSlZKr9B8kncgtd8jtAluN/MtEKqU0vbl4XRoSWDTV4PpMpKdRs4+oM+KYHpwGsamdL0pPNns5Hla2Yab5BsxsjQ+DC1NtFYg5CHDdqX4n1niamCEPljFc59N6G8QsreXErGRnI52O8EWhRhU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728390344; c=relaxed/simple; bh=B44zCzGUCIX1NtY3r8uI7cSHsIoSsL1pTHE/io/urC4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=abCmuiwkyYzPFaFl4ychUSHUH++sslDgeQs1xD+btmAJo44E8c2V8PSkW0KebEpKDs73rfjEThNtlkzKYrJGhu/T/m4lHV8SmSsY1hibLs6htuFHqYjid7vLDoEkvJb+qmmxAcrcqvB3oghjJxdTptesqqfvIcNSG7QJZ+D4KMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (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=none (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 C8B4F227A88; Tue, 8 Oct 2024 14:25:35 +0200 (CEST) Date: Tue, 8 Oct 2024 14:25:35 +0200 From: Christoph Hellwig To: Javier =?iso-8859-1?Q?Gonz=E1lez?= Cc: Christoph Hellwig , Jens Axboe , "Martin K. Petersen" , Keith Busch , Kanchan Joshi , hare@suse.de, sagi@grimberg.me, brauner@kernel.org, viro@zeniv.linux.org.uk, jack@suse.cz, jaegeuk@kernel.org, bcrl@kvack.org, dhowells@redhat.com, bvanassche@acm.org, asml.silence@gmail.com, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org, io-uring@vger.kernel.org, linux-block@vger.kernel.org, linux-aio@kvack.org, gost.dev@samsung.com, vishak.g@samsung.com Subject: Re: [PATCH v7 0/3] FDP and per-io hints Message-ID: <20241008122535.GA29639@lst.de> References: <20241003125400.GB17031@lst.de> <20241004053121.GB14265@lst.de> <20241004061811.hxhzj4n2juqaws7d@ArmHalley.local> <20241004062733.GB14876@lst.de> <20241004065233.oc5gqcq3lyaxzjhz@ArmHalley.local> <20241004123027.GA19168@lst.de> <20241007101011.boufh3tipewgvuao@ArmHalley.local> 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20241007101011.boufh3tipewgvuao@ArmHalley.local> User-Agent: Mutt/1.5.17 (2007-11-01) On Mon, Oct 07, 2024 at 12:10:11PM +0200, Javier González wrote: > In summary, what we are asking for is to take the patches that cover the > current use-case, and work together on what might be needed for better > FS support. And I really do not think it is a good idea. For one it actually works against the stated intent of the FDP spec. Second extending the hints to per per-I/O in the io_uring patch is actively breaking the nice per-file I/O hint abstraction we have right now, and is really unsuitable when actually used on a file and not just a block device. And if you are only on a block device I think passthrough of some form is still the far better option, despite the problems with it mentioned by Keith.