[ovs-git] Open vSwitch: ovsdb: Allow recovery from transient write errors in log implementation. (branch-1.4)

dev at openvswitch.org dev at openvswitch.org
Fri May 3 19:40:05 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.4 has been updated
       via  e58f54a4aa1d1b04f1e311e35d5fd7c0e5ff3db7 (commit)
      from  04722c9acf48a7a6fcedcfb1bc1d31cf4fc256c1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e58f54a4aa1d1b04f1e311e35d5fd7c0e5ff3db7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e58f54a4aa1d1b04f1e311e35d5fd7c0e5ff3db7
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb: Allow recovery from transient write errors in log implementation.
		
Until now, the OVSDB data journaling implementation has made write errors
"sticky", so that a single write error persists as long as ovsdb-server is
alive.  However, some kinds of write errors (such as ENOSPC) can be
transient in practice.  I don't know of a good reason to make such errors
sticky, so this commit makes the journaling code retry writes even after
an error occurs, allowing ovsdb-server to recover from transient errors.

Reported-by: likunyun <kunyunli at hotmail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 ovsdb/log.c |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list