Whamcloud - gitweb
* lctl set_route <nid> <up/down> enables or disables particular portals
authoreeb <eeb>
Thu, 25 Sep 2003 12:15:16 +0000 (12:15 +0000)
committereeb <eeb>
Thu, 25 Sep 2003 12:15:16 +0000 (12:15 +0000)
commita14f741223ce7e957b591201a6de2d5ec57ae7fa
treee5c8a49f2d49a097e47f2566f65b0e479bef6744
parent54d10471b064ec7bfc3e2b39af9d085ad16fe259
* lctl set_route <nid> <up/down> enables or disables particular portals
  routers (i.e. gateways) without forgetting network topology
  (i.e. adding/deleting routes).

* Socknal and qswnal automatically notify their local router and make an
  upcall when they detect peer death.

* portals router load balances over equivalent routes

* ENETUNREACH returned when a NAL thinks the router isn't loaded.

* Improved socknal network failure detection.

* /proc/sys/socknal/* interface

  - timeout is the socknal I/O timeout (50 by default) in seconds .

  - eager_ack is a boolean (set by default) that enables setting
    TCP_QUICKACK after every incoming message to ensure peer zero-copy
    sends complete quickly.

  - zero_copy is the size (2k by default) in bytes, below which message
    fragments are copied into a socket, rather than using zero-copy sends.
    Setting this above PAGE_SIZE will disable zero copy.

* Socknal autoconnect option to create all peer connections eagerly or not.
  If more than one autoconnect reaches the same peer NID, with the eager
  option (this was the previous default), all connections will be made when
  one is required, otherwise only one at a time will be attempted (the new
  default).  NB socknal still load balances over all established
  connections.

* Generalised portals upcall to "cmd <action> [params]".  Current upcalls
  are...

  - upcall LBUG file fn line

  - upcall ROUTER_NOTIFY <nal> <nid> <timestamp> up|down
    where <nal> is the kernel NAL number (defined in <linux/kp30.h>)
          <nid> is the peer's NID in 0xhex
          <timestamp> is seconds since 1/1/1970

* Added 'lctl --net' option, to make 1-line network lctl commands easy.

* Added Light-weight event tracing.
42 files changed:
lnet/include/linux/kp30.h
lnet/include/lnet/lnetctl.h
lnet/include/lnet/ptlctl.h
lnet/klnds/qswlnd/qswlnd.c
lnet/klnds/qswlnd/qswlnd.h
lnet/klnds/qswlnd/qswlnd_cb.c
lnet/klnds/socklnd/socklnd.c
lnet/klnds/socklnd/socklnd.h
lnet/klnds/socklnd/socklnd_cb.c
lnet/klnds/toelnd/toenal_cb.c
lnet/libcfs/Makefile.am
lnet/libcfs/debug.c
lnet/libcfs/lwt.c [new file with mode: 0644]
lnet/libcfs/module.c
lnet/router/router.c
lnet/router/router.h
lnet/utils/parser.c
lnet/utils/portals.c
lnet/utils/ptlctl.c
lustre/portals/include/linux/kp30.h
lustre/portals/include/portals/ptlctl.h
lustre/portals/knals/qswnal/qswnal.c
lustre/portals/knals/qswnal/qswnal.h
lustre/portals/knals/qswnal/qswnal_cb.c
lustre/portals/knals/socknal/socknal.c
lustre/portals/knals/socknal/socknal.h
lustre/portals/knals/socknal/socknal_cb.c
lustre/portals/knals/toenal/toenal_cb.c
lustre/portals/libcfs/Makefile.am
lustre/portals/libcfs/debug.c
lustre/portals/libcfs/lwt.c [new file with mode: 0644]
lustre/portals/libcfs/module.c
lustre/portals/router/router.c
lustre/portals/router/router.h
lustre/portals/utils/parser.c
lustre/portals/utils/portals.c
lustre/portals/utils/ptlctl.c
lustre/utils/lconf
lustre/utils/lctl.c
lustre/utils/obd.c
lustre/utils/obdctl.h
lustre/utils/parser.c