On 03/06/2015 10:25 PM, Nicholas A. Bellinger wrote:
That's what I was getting at above: configfs works great for exactly what we're using it for, but there are other things sysfs does better so we may want to use both.
Just posted a small series for allowing fabric drivers to expose this using a new 'dynamic_session' TPG attribute, so that user-space can optionally perform dynamic -> explicit se_node_acl conversion.
<snip>
However, given iSCSI IQNs are on average ~64 bytes (max 224 bytes), that is still enough for listing 64 (or 18 worst case) sessions created by dynamically generated se_node_acls .
Nick thanks for implementing the support for listing dynamic ACLs via configfs. This will come in handy, ACK. I'll follow up separately on the broader use-both-sysfs-and-configfs question I had.
Regards -- Andy -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html