Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Apr 21, 2015
  1. [listener] fix 2 cosmetic checks and keep around a useful debugging fn

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  2. [threads] make ping error message more verbose

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  3. Update TODO list

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  4. @chrissie-c

    libtap: don't close pipe fd twice

    chrissie-c authored
    libtap was closing the parent's pipe() fd twice. Sometimes, between the
    first and second close, that fd gets reopened by the logging thread as
    PF_LOCAL, and used for logging.
    
    Then libtap wakes up again after the fork and closes the fd thinking
    it's its pipe fd. knet then opens it again as AF_INET for pinging.
    
    libqb logging then errors on a sendto() and closes it AGAIN, and reopens
    it as a PF_LOCAL logging fd. Ping then has a brain haemorrage next time
    it comes round to calling sendto().
    
    Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Commits on Mar 20, 2015
  1. Update TODO list

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Commits on Mar 19, 2015
  1. [host] move dst cache updates to the right logging subsystem

    authored
    and return error codes
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  2. Update TODO list

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  3. [host] create dst_cache sync and async functions and fix link lookup …

    authored
    …race condition
    
    Prior to this change, there was a potential race condition in which, when shutting
    down a link, the destination cache would not be updated in time and pckts would
    be lost in an invalid socket.
    
    This change introduced a sync version of the dst cache update and protects
    outgoing traffic socket lookup with a mutex.
    
    The only downside of this change is that, in future, when we will introduce
    complex switching algorithms, we might have to spend a bit more time
    recalculating the network topology on link shutdown and halt traffic switching.
    
    Pro is that we have a smaller gap in lost traffic when reconfiguring the local
    node.
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Commits on Mar 18, 2015
  1. [threads] simplify code to send data to links

    authored
    in preparation to remove race condition in _dst_cache update,
    simplify the access path to common code
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  2. [onwire] fix regression in macro expansions

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Commits on Mar 12, 2015
  1. [onwire] introduce khpi_link_status_ defines to make code simpler to …

    authored
    …parse
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Commits on Mar 11, 2015
  1. [onwire] add define for knet_hostinfo structures size

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Commits on Mar 10, 2015
  1. [onwire] rename kf_plink/kf_psize/kf_pdata to their respective more d…

    authored
    …escriptive versions
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  2. [onwire] rename kf_link and kf_time to their respective more descript…

    authored
    …ive versions
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  3. [onwire] rename kf_seq_num and kf_data to their respective more descr…

    authored
    …iptive versions
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  4. [onwire] add comment

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  5. [onwire] more cleanup around _SIZE define usage

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Commits on Mar 9, 2015
  1. [onwire] rename various KNET_FRAME_ definitions to KNET_HEADER_

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  2. [onwire] cleanup and use defines

    authored
    make it easier to understand values and usage of other status info
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  3. [onwire] rename link_up_down struct to knet_hostinfo_payload_link_status

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  4. [onwire] rename knet_hinfo_data struct to knet_hostinfo

    authored
    and add comments around the various fields
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Commits on Mar 8, 2015
  1. [onwire] add comment in ifout section

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  2. [onwire] start cleaning host_info data structures

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  3. [debug] add tool to print out network pckt header size

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  4. [onwire] clenaup knet_header_payload_data structure naming

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  5. [onwire] clenaup knet_header_payload_ping structure naming

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Commits on Mar 7, 2015
  1. [cleanup] move some values from int to unsigned int

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  2. [onwire] clenaup knet_header_payload_pmtud structure naming

    authored
    and add more comments
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  3. [onwire] add more comments

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  4. [onwire] add extra comments

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  5. [onwire] cleanup knet_header_payload union

    authored
    use longer name to make it easier to identify nesting of structures
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  6. [onwire] rename knet_frame_data to knet_header_payload

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  7. [onwire] rename knet_frame to knet_header

    authored
    also start renaming variables around to make it easier to understand
    the level of nesting and add comments for each field
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  8. [internal] start renaming things to make code look decent

    authored
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  9. [internals] Simplify code maintanance by shuffling around some variables

    authored
    this allows creation of better #define to maintain some parts of the
    code related to buffers allocations.
    
    As a bonus, gcc does a better job at packing structs outside of a union
    and we save 4 bytes onwire.
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Something went wrong with that request. Please try again.