summaryrefslogtreecommitdiffstats
path: root/daemons/cmirrord/local.c
Commit message (Collapse)AuthorAgeFilesLines
* cmirrord: add missing checks for kernel_sendZdenek Kabelac2012-06-201-1/+3
| | | | Log errors if kernel_send fails.
* cmirrord: add test for closedir() and close()Zdenek Kabelac2012-06-201-4/+10
|
* Fix bug in cmirror that caused incorrect status info to print on some nodes.Jonathan Earl Brassow2012-04-261-1/+1
| | | | | | | | | | | | | | | | Looking at the code in cmirrord/local.c, we can see the various different request types handled in different ways. Some information that is non-changing does not need to go around the cluster and can be short-circuited. For example, once the cluster mirror is in-sync, it is pointless to continue sending that query around the cluster. We can save network bandwidth and reply directly back to the kernel. When it comes to status information, there are two types 'TABLE' and 'INFO'. The 'TABLE' information never changes and belongs to the group of requests that can be safely short-circuited. The 'STATUS' information can change - and will change if a device fails. Thus it cannot be short-circuited, but this is exactly what was found. The 'STATUS' information request was being short-circuited and therefore never reporting the failure condition to anyone other than the "server" that experienced it directly.
* Remove some whitespaces.Milan Broz2012-03-101-1/+1
| | | | (test commit)
* Use __attribute__ consistently throughout.Alasdair Kergon2010-07-091-1/+1
|
* Signal handling FIXMEs.Alasdair Kergon2010-01-191-13/+13
| | | | A few integer type changes.
* Clean up include files.Alasdair Kergon2010-01-181-13/+7
|
* Fix some compiler warnings.Jonathan Earl Brassow2010-01-181-5/+7
|
* Misc compilation clean-ups.Alasdair Kergon2010-01-181-4/+4
|
* Add daemons/cmirrord files to git - somehow got messed up with cvs rename.Dave Wysochanski2009-09-041-0/+420
When clogd was renamed to cmirrord, somehow git got the remove of the old files but not the add of the new files. This patch adds the new files. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>