Skip to contentSkip to conversation

oxenstored: Fix spelling of "persistent" config variable

PATCH In review Ian Jackson 3 participants 5 messages Feb 15, 2012 – Feb 20, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 oxenstored: Fix spelling of "persistent" config variable

commit 4e1aba5e529e1d01b02d04546496001e0da452cd

Author: Ian Jackson <[email protected]>
Date:   Wed Feb 15 16:09:18 2012 +0000

oxenstored: Fix spelling of "persistent" config variable

Change "persistant" to "persistent", in the code and the example/default config.

tools/ocaml/xenstored/oxenstored.conf +1 -1
index 9616d32..13ee770 100644
@@ -20,7 +20,7 @@ quota-maxwatch = 100
 quota-transaction = 10
 
 # Activate filed base backend
-persistant = false
+persistent = false
 
 # Xenstored logs
 # xenstored-log-file = /var/log/xenstored.log
tools/ocaml/xenstored/xenstored.ml +1 -1
index fdea41a..64cc106 100644
@@ -86,7 +86,7 @@ let parse_config filename =
 		("quota-maxentity", Config.Set_int Quota.maxent);
 		("quota-maxsize", Config.Set_int Quota.maxsize);
 		("test-eagain", Config.Set_bool Transaction.test_eagain);
-		("persistant", Config.Set_bool Disk.enable);
+		("persistent", Config.Set_bool Disk.enable);
 		("xenstored-log-file", Config.Set_string Logging.xenstored_log_file);
 		("xenstored-log-level", Config.String
 			(fun s -> Logging.xenstored_log_level := Logging.level_of_string s));
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Ian Jackson

commit 4e1aba5e529e1d01b02d04546496001e0da452cd

Author: Ian Jackson <[email protected]>
Date:   Wed Feb 15 16:09:18 2012 +0000

oxenstored: Fix spelling of "persistent" config variable

Change "persistant" to "persistent", in the code and the example/default config.

Quoted 32 lines
tools/ocaml/xenstored/oxenstored.conf +1 -1
index 9616d32..13ee770 100644
@@ -20,7 +20,7 @@ quota-maxwatch = 100
 quota-transaction = 10
 
 # Activate filed base backend
-persistant = false
+persistent = false
 
 # Xenstored logs
 # xenstored-log-file = /var/log/xenstored.log
tools/ocaml/xenstored/xenstored.ml +1 -1
index fdea41a..64cc106 100644
@@ -86,7 +86,7 @@ let parse_config filename =
 		("quota-maxentity", Config.Set_int Quota.maxent);
 		("quota-maxsize", Config.Set_int Quota.maxsize);
 		("test-eagain", Config.Set_bool Transaction.test_eagain);
-		("persistant", Config.Set_bool Disk.enable);
+		("persistent", Config.Set_bool Disk.enable);
 		("xenstored-log-file", Config.Set_string Logging.xenstored_log_file);
 		("xenstored-log-level", Config.String
 			(fun s -> Logging.xenstored_log_level := Logging.level_of_string s));

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Ian Campbell writes ("Re: [Xen-devel] [PATCH] oxenstored: Fix spelling of "persistent" config variable"):

Quoted 5 lines · Ian Jackson
Quoted 4 lines

commit 4e1aba5e529e1d01b02d04546496001e0da452cd

Author: Ian Jackson <[email protected]>
Date:   Wed Feb 15 16:09:18 2012 +0000
Quoted 8 lines
Quoted 6 lines

oxenstored: Fix spelling of "persistent" config variable

Change "persistant" to "persistent", in the code and the example/default config.

#3 lore raw
In reply to Ian Jackson

Shouldn't you also accept "persistant", so that older configs don't just break on upgrade?

-anil

Quoted 43 lines · Ian Jackson

commit 4e1aba5e529e1d01b02d04546496001e0da452cd

Author: Ian Jackson <[email protected]>
Date:   Wed Feb 15 16:09:18 2012 +0000

oxenstored: Fix spelling of "persistent" config variable

Change "persistant" to "persistent", in the code and the example/default config.

tools/ocaml/xenstored/oxenstored.conf +0 -0
index 9616d32..13ee770 100644
@@ -20,7 +20,7 @@ quota-maxwatch = 100

quota-transaction = 10

# Activate filed base backend

tools/ocaml/xenstored/oxenstored.conf +1 -1
-persistant = false
+persistent = false

# Xenstored logs

# xenstored-log-file = /var/log/xenstored.log
tools/ocaml/xenstored/xenstored.ml +1 -1
index fdea41a..64cc106 100644
@@ -86,7 +86,7 @@ let parse_config filename =
 		("quota-maxentity", Config.Set_int Quota.maxent);
 		("quota-maxsize", Config.Set_int Quota.maxsize);
 		("test-eagain", Config.Set_bool Transaction.test_eagain);
-		("persistant", Config.Set_bool Disk.enable);
+		("persistent", Config.Set_bool Disk.enable);
 		("xenstored-log-file", Config.Set_string Logging.xenstored_log_file);
 		("xenstored-log-level", Config.String
 			(fun s -> Logging.xenstored_log_level := Logging.level_of_string s));

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw

Anil Madhavapeddy writes ("Re: [Xen-devel] [PATCH] oxenstored: Fix spelling of "persistent" config variable"):

Quoted 1 line

Shouldn't you also accept "persistant", so that older configs don't just break on upgrade?

I don't think there can be many older configs TBH. oxenstored hasn't been available in xen upstream very long.

But if you would like to send a patch to do that I'd take it.

Ian.