On Tue, Jul 29, 2025 at 08:21:32PM +0530, Kanchan Joshi wrote: > Add new fcntl F_GET_MAX_WRITE_STREAMS. > This returns the numbers of streams that are available for userspace. > > And for that, use ->user_write_streams() callback when the involved > filesystem provides it. > In absence of such callback, use 'max_write_streams' queue limit of the > underlying block device. As mentioned in patch 1, I think we'd rather dispath the whole fcntl to the file system, and then use generic helpers, which will give more control of the details to the file system.