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

dev at openvswitch.org dev at openvswitch.org
Tue Mar 12 19:38:07 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, master has been updated
       via  a7bf837f065d81fbc0dab0a372a7b756094a5322 (commit)
      from  3634eb9929d8e78bf0f3ee514814447b2ef86fd1 (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 a7bf837f065d81fbc0dab0a372a7b756094a5322
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a7bf837f065d81fbc0dab0a372a7b756094a5322
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