date | project | content | link |
|---|
| 19:01 Tuesday | FreeBSD | Commit by pjd :: r 212067 /head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c: ( link) Eliminate confusing while () loop. In the first version of the code it was there to avoid gotos, but in the current version it serves no purpose.
MFC after: 2 weeks | # |
| 12:05 Tuesday | FreeBSD | Commit by pjd :: r 212052 /head/sbin/hastd/pjdlog.c: ( link) | # |
| 12:03 Tuesday | FreeBSD | Commit by pjd :: r 212051 /head/sbin/hastd/secondary.c: ( link) | # |
| 10:41 Tuesday | FreeBSD | Commit by pjd :: r 212050 /head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c: ( link) When upgrading a pool which contain root file system, give user a hint that he should update boot code.
MFC after: 2 weeks | # |
| 09:38 Tuesday | FreeBSD | Commit by pjd :: r 212049 /head/sbin/hastd/ (event.c event.h): ( link) | # |
| 06:22 Tuesday | FreeBSD | Commit by pjd :: r 212046 /head/sbin/hastd/primary.c: ( link) Mask only those signals that we want to handle. Suggested by: jilles MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com | # |
| 23:26 Monday | FreeBSD | Commit by pjd :: r 212038 /head/sbin/hastd/ (5 files): ( link) Because it is very hard to make fork(2) from threaded process safe (we are limited to async-signal safe functions in the child process), move all hooks execution to the main (non-threaded) process. Do it by maintaining connection (socketpair) between child and parent and sending events from the child to parent, so it can execute the hook. This is step in right direction for others reasons too. For example there is one less problem to drop privs in worker processes. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com | # |
| 23:19 Monday | FreeBSD | Commit by pjd :: r 212037 /head/sbin/hastd/hastd.c: ( link) We only want to know if descriptors are ready for reading. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com | # |
| 23:16 Monday | FreeBSD | Commit by pjd :: r 212036 /head/sbin/hastd/proto_socketpair.c: ( link) When someone gives NULL as data, assume this is because he want to declare connection side only. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com | # |
| 22:28 Monday | FreeBSD | Commit by pjd :: r 212034 /head/sbin/hastd/primary.c: ( link) | # |
| 22:26 Monday | FreeBSD | Commit by pjd :: r 212033 /head/sbin/hastd/ (4 files): ( link) | # |
| 00:31 Monday | FreeBSD | Commit by pjd :: r 211984 /head/sbin/hastd/ (primary.c hast.conf.5 secondary.c): ( link) Execute hook when connection between the nodes is established or lost. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com | # |
| 00:12 Monday | FreeBSD | Commit by pjd :: r 211983 /head/sbin/hastd/ (primary.c hast.conf.5 secondary.c): ( link) | # |
| 00:06 Monday | FreeBSD | Commit by pjd :: r 211982 /head/sbin/hastd/primary.c: ( link) Use sigtimedwait(2) for signals handling in primary process. This fixes various races and eliminates use of pthread* API in signal handler. Pointed out by: kib With help from: jilles MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com | # |
| 22:55 Sunday | FreeBSD | Commit by pjd :: r 211981 /head/sbin/hastd/primary.c: ( link) - Move functionality responsible for checking one connection to separate function to make code more readable.
- Be sure not to reconnect too often in case of signal delivery, etc. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
| # |
| 22:17 Sunday | FreeBSD | Commit by pjd :: r 211979 /head/sbin/hastd/primary.c: ( link) | # |
| 21:42 Sunday | FreeBSD | Commit by pjd :: r 211978 /head/sbin/hastd/ (control.c hast.conf.5): ( link) | # |
| 21:41 Sunday | FreeBSD | Commit by pjd :: r 211977 /head/sbin/hastd/ (hastd.c primary.c secondary.c): ( link) | # |
| 21:39 Sunday | FreeBSD | Commit by pjd :: r 211976 /head/sbin/hastd/ (hooks.c hooks.h): ( link) - Add hook_fini() which should be called after fork() from the main hastd process, once it start to use hooks.
- Add hook_check_one() in case the caller expects different child processes and once it can recognize it, it will pass pid and status to hook_check_one(). MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
| # |
| 21:37 Sunday | FreeBSD | Commit by pjd :: r 211975 /head/sbin/hastd/synch.h: ( link) | # |