2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-23 12:12:05 +00:00

8 Commits

Author SHA1 Message Date
chenglch
c6e663d1fd Use fifo pipe to enhance getadapter
Currently the getadapter implementation store the nics information
in multiple files. This implementaion will store the records in the
database and add the following changes:

1. Add taskstate table to record the getadapter request.
2. Add route_request hook in xcatd to avoid of too much process.
3. Add adapterinfo column to keep the adapter information.
4. Use fifo pipe to send/recv the adapter message and wake up the waiting process.
5. Use alarm signal to handle the timeout event.
2016-01-25 01:53:54 -05:00
huweihua
b0bf7931ac modify depending on samveen 's comment 2015-11-27 03:02:02 -05:00
huweihua
1aab9c6227 modify depending on gongjie's comment 2015-11-25 05:25:24 -05:00
huweihua
acd8570324 modify depending on gongjie's comment 2015-11-24 03:20:10 -05:00
huweihua
0c74d06835 remove debug info 2015-11-24 01:47:24 -05:00
huweihua
a381f2ee06 modify depending on gongjie's new comment 2015-11-24 01:44:59 -05:00
huweihua
cb01dac7ae modify depending on the comment 2015-11-23 23:18:07 -05:00
huweihua
2729ec1ec9 used for support getadapters command 2015-11-22 03:37:10 -05:00