>>>>> "Jan" == Jan Kara <jack@xxxxxxx> writes: Jan> So a key question for a feature like this is: How many stream IDs Jan> are devices going to support? Because AFAIR so far the answer was Jan> "it depends on the device". However the design how stream IDs can Jan> be used greatly differs between "a couple of stream IDs" and Jan> e.g. 2^32 stream IDs. Without this information I don't think the Jan> discussion would be very useful. So can you provide some rough Jan> numbers? Both SCSI and NVMe have a 16-bit stream ID field. So you are capped at 64K unique identifiers. However, the number of streams a device can have open concurrently is expected to be much smaller than that. This leaves us with the interesting problem of how to divide up the available streams. Whether to support application- and kernel allocated streams concurrently. And how we deal with explicitly closing streams after use. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html