Re: [RFC PATCH 2/5] fs: add the interface to query user write streams

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux