[openib-general] [PATCH 8/10] sysfs interface implementation

Roland Dreier rdreier at cisco.com
Tue Oct 3 11:19:42 PDT 2006


    Ramachandra> This is similar to what is done in the SRP driver. In
    Ramachandra> fact I had chosen this approach of adding targets
    Ramachandra> looking at the SRP driver as the input parameters
    Ramachandra> that are required here are almost same as that of the
    Ramachandra> SRP driver.

Yes, I think this is probably fine.  The really hard rule for sysfs is
that only one value should be shown per file -- I don't think we're as
strict with what gets written into the files.

With that said, perhaps configfs would make more sense here (and I've
been meaning to see if it makes sense to move SRP to configfs too).

 - R.




More information about the general mailing list