Re: [PATCH v5 0/7] Extend write-hint framework, and add write-hint for Ext4 journal

From: 'Christoph Hellwig'
Date: Mon May 20 2019 - 10:29:46 EST


On Fri, May 17, 2019 at 11:01:55AM +0530, kanchan wrote:
> Sorry but can you please elaborate the issue? I do not get what is being
> statically allocated which was globally available earlier.
> If you are referring to nvme driver, available streams at subsystem level
> are being reflected for all namespaces. This is same as earlier.
> There is no attempt to explicitly allocate (using dir-receive) or reserve
> streams for any namespace.
> Streams will continue to get allocated/released implicitly as and when
> writes (with stream id) arrive.

We have made a concious decision that we do not want to expose streams
as an awkward not fish not flesh interface, but instead life time hints.

I see no reason to change from and burden the whole streams complexity
on other in-kernel callers.