[COMMIT osv master] command line: expand environ vars for runscript and REST commands

2017-04-03 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master command line: expand environ vars for runscript and REST commands When command is run via CLI (run.py -e "CMD"), the CMD string can contain $KEY, and KEY will be replaced with corresponding value from environ. The patch implements thi

Re: [PATCH] command line: expand environ vars for runscript and REST commands

2017-04-03 Thread Nadav Har'El
On Wed, Mar 29, 2017 at 3:54 PM, Justin Cinkelj wrote: > When command is run via CLI (run.py -e "CMD"), the CMD string can contain > $KEY, and KEY will be replaced with corresponding value from environ. > The patch implements this also for commands run via REST or via runscript. > > Fixes #868 >

[PATCH] [Issue #857] Add assert and guard to prevent the next round of barrier-waits from starting before the previous round of barrier-waits completes

2017-04-03 Thread 'Rean Griffith' via OSv Development
Hi Nadav, Thanks for the review. More replies inline...[RG] On Mon, Apr 3, 2017 at 6:16 AM, Nadav Har'El > wrote: > Were you able to reproduce this problem - perhaps by reducing sleeping in > the test case, or something? > [RG] The root cause is that a thread can start the next round of waitin

Re: [PATCH] dhcp: change requested hostname selection logic

2017-04-03 Thread Justin Cinkelj
Yes, that one should be ignored. Thank you, Justin - Original Message - > From: "Nadav Har'El" > To: "Justin Cinkelj" > Cc: "Osv Dev" > Sent: Monday, April 3, 2017 4:48:03 PM > Subject: Re: [PATCH] dhcp: change requested hostname selection logic > > If I understand correctly, the patch

Re: [PATCH] dhcp: change requested hostname selection logic

2017-04-03 Thread Nadav Har'El
If I understand correctly, the patch from Waldemar Kozaczuk which I just applied makes this one unnecessary, and I shouldn't try to apply this. Right? -- Nadav Har'El n...@scylladb.com On Thu, Mar 30, 2017 at 4:29 PM, Justin Cinkelj wrote: > The old hostname (DNS name) selection for DHCPREQUES

[COMMIT osv master] Changed DHCP logic to send back hostname received as part of DHCPOFFER from DHCP server

2017-04-03 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Changed DHCP logic to send back hostname received as part of DHCPOFFER from DHCP server During init phase some DHCP servers may send suggested hostname as part of DHCPOFFER reply message. Right now OSv ignores suggested hostna

Re: [PATCH] [Issue #857] Add assert and guard to prevent the next round of barrier-waits from starting before the previous round of barrier-waits completes

2017-04-03 Thread Nadav Har'El
Were you able to reproduce this problem - perhaps by reducing sleeping in the test case, or something? Some comments below. On Mon, Apr 3, 2017 at 4:30 AM, 'rean' via OSv Development < osv-dev@googlegroups.com> wrote: > Signed-off-by: Rean Griffith > --- > include/osv/latch.hh| 3 +++ > l