[openib-general] opensm / hot-plug problem

Michael S. Tsirkin mst at mellanox.co.il
Sun May 15 08:45:53 PDT 2005


Hello!
opensm currently keeps multiple files open under
/sys/class/infiniband/mthca%d/ports/
In particular, this will prevent the OS from performing device
hot-plug removal.

In my opinion, it would be better for sm to either avoid
working directly with low-level drivers, or close the sysfs
files after reading them.
The change to close the files is probably easier to implement.

Does this make sense to people here?

-- 
MST - Michael S. Tsirkin



More information about the general mailing list