Cole Robinson 7c2d65dde2 storage: conf: Don't set any default <mode> in the XML
The XML parser sets a default <mode> if none is explicitly passed in.
This is then used at pool/vol creation time, and unconditionally reported
in the XML.

The problem with this approach is that it's impossible for other code
to determine if the user explicitly requested a storage mode. There
are some cases where we want to make this distinction, but we currently
can't.

Handle <mode> parsing like we handle <owner>/<group>: if no value is
passed in, set it to -1, and adjust the internal consumers to handle
it.
2015-05-25 20:52:55 -04:00
..
2014-12-02 07:30:10 +01:00
2014-12-02 07:30:10 +01:00
2015-03-23 09:01:30 +01:00
2015-03-23 09:01:30 +01:00
2014-03-01 23:44:58 +04:00
2014-10-06 13:15:31 +02:00
2014-03-03 17:41:26 +04:00
2013-12-02 10:21:26 +08:00
2015-05-21 17:49:02 +02:00
2014-12-02 07:30:10 +01:00
2014-03-01 23:44:58 +04:00
2014-12-02 07:30:10 +01:00
2015-04-27 16:03:31 +02:00
2015-05-04 11:43:04 +08:00
2014-12-02 07:30:10 +01:00
2013-12-02 10:21:26 +08:00
2013-09-12 17:18:32 +08:00
2014-12-02 07:30:10 +01:00