From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 908B920328; Fri, 1 Nov 2024 01:03:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730422985; cv=none; b=iHafHEri9zkWvD8hD493r9w5KdnzdhWkzCFSeyDVbDibCf+58EA+vOPxkJ/mWF5Suc/UfWdMX6CEPwCx/jKZJVrZTvG2JFgvbh4REhZcdfuxUUU8UrgGOOQzDajcKY7FOBqkve07KwjrZjr++W6JQ988MtGzNKOWaoYxLrOMuXk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730422985; c=relaxed/simple; bh=GVhdOyG4D9/kWSaCeNbk3Uqcva6Wo8dt9xAKwhBgsQ8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iWcQ018VA4rr/+2sOReQg+ZG4anZgPltlv5rCJllimRVLDitVZxpvn9y/ZsDXn5aVfOCgAVqg5Q3L+LrECWkih8oogl7GDEsfLKlRneMi9rCGvti3R+XasfBefBdFOg0F6bVjLE9odysQBAnt0c+eysLDnLMc+enK1ZHrAKrfSY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=alh1FPiE; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="alh1FPiE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65631C4CEC3; Fri, 1 Nov 2024 01:03:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730422985; bh=GVhdOyG4D9/kWSaCeNbk3Uqcva6Wo8dt9xAKwhBgsQ8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=alh1FPiEhXxMuq+r1IGkC39v7wVLcBLb3xiRdeL0NgBnSeoFRcp8deeAVVURw33HZ LUjt2airf+wAWeUkPKo2YKHf4UmLSgGWEeuwgiT4QzG4eHGWI8ENj62SSEa3L1hl8B VrstlZ41MKrZSvjTQHlxBRu5CiaI5Rz+LuN4cG/HGOsIzvEe51pSkU8SzgIuRJSAmP 6FYmeVlVa3OrPmekhvaG00TB0WfjpQFwrzCnYJjhkvMFO5lCS7CZVDC+l9WH2aZd+O ByiOaNfTJ56wvQKtvVf1Zu4axyEunyhk3GO9EImk3q7NN3kIOZHM9KZoaxRtgoBnXd pBDah45ha5P8g== Date: Fri, 1 Nov 2024 01:03:02 +0000 From: Jaegeuk Kim To: Bart Van Assche Cc: Christoph Hellwig , Keith Busch , Keith Busch , linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, linux-scsi@vger.kernel.org, io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, joshi.k@samsung.com, javier.gonz@samsung.com, Hannes Reinecke , "Martin K . Petersen" Subject: Re: [PATCHv10 9/9] scsi: set permanent stream count in block limits Message-ID: References: <20241029152654.GC26431@lst.de> <20241029153702.GA27545@lst.de> <20241029155330.GA27856@lst.de> <20241030045526.GA32385@lst.de> <20241030171450.GA12580@lst.de> 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: On 10/30, Bart Van Assche wrote: > On 10/30/24 10:14 AM, Christoph Hellwig wrote: > > On Wed, Oct 30, 2024 at 09:59:24AM -0700, Bart Van Assche wrote: > > > > > > On 10/29/24 9:55 PM, Christoph Hellwig wrote: > > > > For the temperature hints the only public user I known is rocksdb, and > > > > that only started working when Hans fixed a brown paperbag bug in the > > > > rocksdb code a while ago. Given that f2fs interprets the hints I suspect > > > > something in the Android world does as well, maybe Bart knows more. > > > > > > UFS devices typically have less internal memory (SRAM) than the size of a > > > single zone. > > > > That wasn't quite the question. Do you know what application in android > > set the fcntl temperature hints? > > I do not know whether there are any Android apps that use the > F_SET_(FILE_|)RW_HINT fcntls. > > The only use case in Android platform code I know of is this one: Daejun > Park, "f2fs-tools: add write hint support", f2fs-dev mailing list, > September 2024 (https://lore.kernel.org/all/20240904011217epcms2p5a1b15db8e0ae50884429da7be4af4de4@epcms2p5/T/). > As you probably know f2fs-tools is a software package that includes > fsck.f2fs. > > Jaegeuk, please correct me if necessary. Yes, f2fs-tools in Android calls fcntl(fd, F_SET_RW_HINT, &hint); > > Bart. > >