From 9ae54cdc5735a6c7aed5db6583f7d435f80af1d7 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Fri, 4 Mar 2011 16:59:26 -0800 Subject: [PATCH] refresh --- meta | 7 +++---- patches/port_down | 13 ++++++++++--- patches/refresh-temp | 10 ---------- 3 files changed, 13 insertions(+), 17 deletions(-) delete mode 100644 patches/refresh-temp diff --git a/meta b/meta index 7f2c93e..9bdc9b3 100644 --- a/meta +++ b/meta @@ -1,6 +1,6 @@ Version: 1 -Previous: c2a9f454ba55167907b20e0631a17faeef5d175c -Head: c5836d0f4ee6cbe81bea4783e05276b0fabe6e82 +Previous: b8086a4e32649b5ad5c2a8e22e578684f912bd60 +Head: b91dc82c3bb2ad85ef7fc3e0bb36c0e5c103df9e Applied: addr_open: e7ef183f278fe49b7143a43f54a99c2d48ede2d7 open_dev: 38544713261375f38a37f522f894bfe22e0f6775 @@ -8,8 +8,7 @@ Applied: sm_lid: 69568d2aafa655c848afc8e6e7901a2fe8a428ab sm_lid_get: 8674939a44983901764a2b9080ce93328438eee2 port_up: aaa9f5293c50708c4c290da35667bff7c51dd785 - port_down: b8cd7e6a6aeb7e10fec9dfc7dcb252194d49934e - refresh-temp: c5836d0f4ee6cbe81bea4783e05276b0fabe6e82 + port_down: b91dc82c3bb2ad85ef7fc3e0bb36c0e5c103df9e Unapplied: addr_size: 8de02c47fbf595132105a7050ad6f755f49f9a7a Hidden: diff --git a/patches/port_down b/patches/port_down index 4ac591e..19fb70d 100644 --- a/patches/port_down +++ b/patches/port_down @@ -3,10 +3,17 @@ Top: 4a725c3b21d37e7ff6d4e2430fc69ddf4d72920a Author: Sean Hefty Date: 2011-02-23 14:41:48 -0800 -Transition ports and endpoints down +Handle port down events -Add code to transition a port or endpoint into an inactive state. -We will use then when processing port down events. +Process port down or error events. While a port is down, the +ibacm service will fail all requests to endpoints on that port. +Cached data is not invalidated however, under the assumption +that the port state is temporary. (A future enhancement can +optimize the cleanup.) + +Since a port can now transition between up and down, we need +to fixup a couple of places to avoid initializing structures +multiple times. Signed-off-by: Sean Hefty diff --git a/patches/refresh-temp b/patches/refresh-temp deleted file mode 100644 index f066037..0000000 --- a/patches/refresh-temp +++ /dev/null @@ -1,10 +0,0 @@ -Bottom: 4a725c3b21d37e7ff6d4e2430fc69ddf4d72920a -Top: 4a725c3b21d37e7ff6d4e2430fc69ddf4d72920a -Author: Sean Hefty -Date: 2011-03-04 16:53:19 -0800 - -Refresh of port_down - ---- - - -- 2.46.0