Message ID | 5ea1ddc9e6f6cad1d249919ca9e8d5ad@linux.vnet.ibm.com |
---|---|
State | Accepted |
Headers | show |
Series | external/mambo: rename env var PMEM_MODES to PMEM_MODE | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | warning | Failed to apply on branch master (82aed17a5468aff6b600ee1694a10a60f942c018) |
snowpatch_ozlabs/apply_patch | fail | Failed to apply to any branch |
On Thu, 2020-02-27 at 10:50 -0600, acsawdey wrote: > This patch just renames the env var to be non-plural to match PMEM_DISK. > > A related patch going in to mambo will make the actual mode used in > mambo be called "private" instead of "cow" to reflect the fact that > you're getting a private copy of the image file and that any data > written to it will be lost when mambo exits. Unlike the old bogusdisk > driver, there is no separate .cow file where the writes go. > > Thanks, > Aaron > > Signed-off-by: Aaron Sawdey <acsawdey at linux.ibm.com> Thanks Acked-by: Michael Neuling <mikey@neuling.org> > diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl > index 07c38ab2..15d00a47 100644 > --- a/external/mambo/skiboot.tcl > +++ b/external/mambo/skiboot.tcl > @@ -301,8 +301,8 @@ if { [info exists env(PMEM_VOLATILE)] } { > set pmem_sizes [split $env(PMEM_VOLATILE) ","] > } > set pmem_modes "" > -if { [info exists env(PMEM_MODES)] } { > - set pmem_modes [split $env(PMEM_MODES) ","] > +if { [info exists env(PMEM_MODE)] } { > + set pmem_modes [split $env(PMEM_MODE) ","] > } > set pmem_root [mysim of addchild $root_node "pmem" ""] > mysim of addprop $pmem_root int "#address-cells" 2 >
On Fri, Feb 28, 2020 at 3:50 AM acsawdey <acsawdey@linux.vnet.ibm.com> wrote: > > This patch just renames the env var to be non-plural to match PMEM_DISK. > > A related patch going in to mambo will make the actual mode used in > mambo be called "private" instead of "cow" to reflect the fact that > you're getting a private copy of the image file and that any data > written to it will be lost when mambo exits. Unlike the old bogusdisk > driver, there is no separate .cow file where the writes go. > > Thanks, > Aaron Thanks, merged as a08549a9e7a4e3f5eb3dd5525097d472fc363888
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl index 07c38ab2..15d00a47 100644 --- a/external/mambo/skiboot.tcl +++ b/external/mambo/skiboot.tcl @@ -301,8 +301,8 @@ if { [info exists env(PMEM_VOLATILE)] } { set pmem_sizes [split $env(PMEM_VOLATILE) ","] } set pmem_modes "" -if { [info exists env(PMEM_MODES)] } { - set pmem_modes [split $env(PMEM_MODES) ","] +if { [info exists env(PMEM_MODE)] } { + set pmem_modes [split $env(PMEM_MODE) ","] } set pmem_root [mysim of addchild $root_node "pmem" ""] mysim of addprop $pmem_root int "#address-cells" 2
This patch just renames the env var to be non-plural to match PMEM_DISK. A related patch going in to mambo will make the actual mode used in mambo be called "private" instead of "cow" to reflect the fact that you're getting a private copy of the image file and that any data written to it will be lost when mambo exits. Unlike the old bogusdisk driver, there is no separate .cow file where the writes go. Thanks, Aaron Signed-off-by: Aaron Sawdey <acsawdey at linux.ibm.com>