[PATCHv10 9/9] scsi: set permanent stream count in block limits
Jaegeuk Kim
jaegeuk at kernel.org
Thu Oct 31 18:03:02 PDT 2024
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.
>
>
More information about the Linux-nvme
mailing list