common: Detailed platform-specific FIXME
authorMathieu Parent <math.parent@gmail.com>
Mon, 14 Jan 2013 10:23:46 +0000 (11:23 +0100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 22 Jan 2013 07:03:41 +0000 (18:03 +1100)
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
(This used to be ctdb commit d202b2fdd4fd70172e5e44583627b57a1b7ad2ed)

ctdb/common/system_aix.c
ctdb/common/system_freebsd.c
ctdb/common/system_gnu.c
ctdb/common/system_kfreebsd.c

index 16b627ca47998e017ae0f4be81197ab2bf855db7..3f2e92aa6c60a4fcca10499914da1fa17fa54263 100644 (file)
@@ -359,6 +359,7 @@ int ctdb_sys_read_tcp_packet(int s, void *private_data,
 
 bool ctdb_sys_check_iface_exists(const char *iface)
 {
+       /* FIXME AIX: Interface always considered present */
        return true;
 }
 
@@ -375,18 +376,18 @@ int ctdb_get_peer_pid(const int fd, pid_t *peer_pid)
 
 char *ctdb_get_process_name(pid_t pid)
 {
-       /* FIXME: not implemented */
+       /* FIXME AIX: get_process_name not implemented */
        return NULL;
 }
 
 bool ctdb_get_lock_info(pid_t req_pid, struct ctdb_lock_info *lock_info)
 {
-       /* FIXME: not implemented */
+       /* FIXME AIX: get_lock_info not implemented */
        return false;
 }
 
 bool ctdb_get_blocker_pid(struct ctdb_lock_info *reqlock, pid_t *blocker_pid)
 {
-       /* FIXME: not implemented */
+       /* FIXME AIX: get_blocker_pid not implemented */
        return false;
 }
index 37f1c74b451cb2f1e9eb0b5c715f0cdf214cf9aa..2fb3f45ebd09841928278b6b0e4354ae821b2d21 100644 (file)
@@ -75,7 +75,7 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6)
  */
 int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
 {
-       /* FIXME We dont do gratuitous arp on Hurd yet */
+       /* FIXME FreeBSD: We dont do gratuitous arp yet */
        return 0;
 }
 
@@ -360,29 +360,30 @@ int ctdb_sys_read_tcp_packet(int s, void *private_data,
 
 bool ctdb_sys_check_iface_exists(const char *iface)
 {
+       /* FIXME FreeBSD: Interface always considered present */
        return true;
 }
 
 int ctdb_get_peer_pid(const int fd, pid_t *peer_pid)
 {
-       /* FIXME not implemented */
+       /* FIXME FreeBSD: get_peer_pid not implemented */
        return 1;
 }
 
 char *ctdb_get_process_name(pid_t pid)
 {
-       /* FIXME: not implemented */
+       /* FIXME FreeBSD: get_process_name not implemented */
        return NULL;
 }
 
 bool ctdb_get_lock_info(pid_t req_pid, struct ctdb_lock_info *lock_info)
 {
-       /* FIXME: not implemented */
+       /* FIXME FreeBSD: get_lock_info not implemented */
        return false;
 }
 
 bool ctdb_get_blocker_pid(struct ctdb_lock_info *reqlock, pid_t *blocker_pid)
 {
-       /* FIXME: not implemented */
+       /* FIXME FreeBSD: get_blocker_pid not implemented */
        return false;
 }
index 8a3b5b1e54089ea321f7391a846cf93757009f61..b141da39f90bce84a7660ce206dad6e1bbfd649f 100644 (file)
@@ -74,7 +74,7 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6)
  */
 int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
 {
-       /* FIXME We dont do gratuitous arp on Hurd yet */
+       /* FIXME GNU/Hurd: We dont do gratuitous arp yet */
        return 0;
 }
 
@@ -353,29 +353,30 @@ int ctdb_sys_read_tcp_packet(int s, void *private_data,
 
 bool ctdb_sys_check_iface_exists(const char *iface)
 {
+       /* FIXME GNU/Hurd: Interface always considered present */
        return true;
 }
 
 int ctdb_get_peer_pid(const int fd, pid_t *peer_pid)
 {
-       /* FIXME not implemented */
+       /* FIXME GNU/Hurd: get_peer_pid not implemented */
        return 1;
 }
 
 char *ctdb_get_process_name(pid_t pid)
 {
-       /* FIXME: not implemented */
+       /* FIXME GNU/Hurd: get_process_name not implemented */
        return NULL;
 }
 
 bool ctdb_get_lock_info(pid_t req_pid, struct ctdb_lock_info *lock_info)
 {
-       /* FIXME: not implemented */
+       /* FIXME GNU/Hurd: get_lock_info not implemented */
        return false;
 }
 
 bool ctdb_get_blocker_pid(struct ctdb_lock_info *reqlock, pid_t *blocker_pid)
 {
-       /* FIXME: not implemented */
+       /* FIXME GNU/Hurd: get_blocker_pid not implemented */
        return false;
 }
index 55958651866b142f0cbaec6a998b12c17e00d79a..85442ed28d58cacd83e27a7635960fb52ad8c7ae 100644 (file)
@@ -74,7 +74,7 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6)
  */
 int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
 {
-       /* FIXME We dont do gratuitous arp on Hurd yet */
+       /* FIXME kFreeBSD: We dont do gratuitous arp yet */
        return 0;
 }
 
@@ -353,29 +353,30 @@ int ctdb_sys_read_tcp_packet(int s, void *private_data,
 
 bool ctdb_sys_check_iface_exists(const char *iface)
 {
+       /* FIXME kFreeBSD: Interface always considered present */
        return true;
 }
 
 int ctdb_get_peer_pid(const int fd, pid_t *peer_pid)
 {
-       /* FIXME not implemented */
+       /* FIXME kFreeBSD: get_peer_pid not implemented */
        return 1;
 }
 
 char *ctdb_get_process_name(pid_t pid)
 {
-       /* FIXME: not implemented */
+       /* FIXME kFreeBSD: get_process_name not implemented */
        return NULL;
 }
 
 bool ctdb_get_lock_info(pid_t req_pid, struct ctdb_lock_info *lock_info)
 {
-       /* FIXME: not implemented */
+       /* FIXME kFreeBSD: get_lock_info not implemented */
        return false;
 }
 
 bool ctdb_get_blocker_pid(struct ctdb_lock_info *reqlock, pid_t *blocker_pid)
 {
-       /* FIXME: not implemented */
+       /* FIXME kFreeBSD: get_blocker_pid not implemented */
        return false;
 }