2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 18:16:39 +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
bfc5a88ee2 modify sleep bug 2015-11-27 04:40:48 -05:00
huweihua
a04f074c08 fix some bug found by cheng long 2015-11-27 03:47:48 -05:00
huweihua
cac6a5c8af add sleep when waitpid 2015-11-27 03:16:02 -05:00
huweihua
c8685b21ab modify write file error 2015-11-27 03:04:41 -05:00
huweihua
1f19b92529 modify depending on gongjie and chenglong 's comment 2015-11-25 05:19:33 -05:00
huweihua
b30037e485 modify depending on comments 2015-11-24 03:14:35 -05:00
huweihua
98da02d631 used for support getadapters command 2015-11-22 03:38:20 -05:00