Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-24 Thread Hanna Reitz
On 24.01.22 10:23, Markus Armbruster wrote: Hanna Reitz writes: On 21.01.22 15:26, Markus Armbruster wrote: Hanna Reitz writes: On 21.01.22 11:27, Markus Armbruster wrote: Hanna Reitz writes: The problem I face is that currently there is no ergonomic way to wait until the QSD is up and

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-24 Thread Markus Armbruster
Hanna Reitz writes: > On 21.01.22 15:26, Markus Armbruster wrote: >> Hanna Reitz writes: >> >>> On 21.01.22 11:27, Markus Armbruster wrote: Hanna Reitz writes: > The problem I face is that currently there is no ergonomic way to wait > until the QSD is up and running (besides

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-24 Thread Hanna Reitz
On 21.01.22 15:26, Markus Armbruster wrote: Hanna Reitz writes: On 21.01.22 11:27, Markus Armbruster wrote: Hanna Reitz writes: The problem I face is that currently there is no ergonomic way to wait until the QSD is up and running (besides looping until the PID file exists), and I don’t

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-21 Thread Markus Armbruster
Hanna Reitz writes: > On 21.01.22 11:27, Markus Armbruster wrote: >> Hanna Reitz writes: >>> The problem I face is that currently there is no ergonomic way to wait >>> until the QSD is up and running (besides looping until the PID file >>> exists), and I don’t think a utility program that

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-21 Thread Hanna Reitz
On 21.01.22 11:27, Markus Armbruster wrote: Hanna Reitz writes: On 21.01.22 07:10, Markus Armbruster wrote: Hanna Reitz writes: On 20.01.22 17:00, Markus Armbruster wrote: Kevin Wolf writes: Am 19.01.2022 um 14:44 hat Hanna Reitz geschrieben: On 19.01.22 13:58, Markus Armbruster

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-21 Thread Markus Armbruster
Hanna Reitz writes: > On 21.01.22 07:10, Markus Armbruster wrote: >> Hanna Reitz writes: >> >>> On 20.01.22 17:00, Markus Armbruster wrote: Kevin Wolf writes: > Am 19.01.2022 um 14:44 hat Hanna Reitz geschrieben: >> On 19.01.22 13:58, Markus Armbruster wrote: >>> Hanna

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-21 Thread Hanna Reitz
On 21.01.22 07:10, Markus Armbruster wrote: Hanna Reitz writes: On 20.01.22 17:00, Markus Armbruster wrote: Kevin Wolf writes: Am 19.01.2022 um 14:44 hat Hanna Reitz geschrieben: On 19.01.22 13:58, Markus Armbruster wrote: Hanna Reitz writes: We want to add a --daemonize argument to

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-21 Thread Markus Armbruster
Hanna Reitz writes: > On 20.01.22 17:00, Markus Armbruster wrote: >> Kevin Wolf writes: >> >>> Am 19.01.2022 um 14:44 hat Hanna Reitz geschrieben: On 19.01.22 13:58, Markus Armbruster wrote: > Hanna Reitz writes: > >> We want to add a --daemonize argument to QSD's command

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-20 Thread Hanna Reitz
On 20.01.22 17:00, Markus Armbruster wrote: Kevin Wolf writes: Am 19.01.2022 um 14:44 hat Hanna Reitz geschrieben: On 19.01.22 13:58, Markus Armbruster wrote: Hanna Reitz writes: We want to add a --daemonize argument to QSD's command line. Why? OK, s/we/I/.  I find it useful, because

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-20 Thread Markus Armbruster
Kevin Wolf writes: > Am 19.01.2022 um 14:44 hat Hanna Reitz geschrieben: >> On 19.01.22 13:58, Markus Armbruster wrote: >> > Hanna Reitz writes: >> > >> > > We want to add a --daemonize argument to QSD's command line. >> > >> > Why? >> >> OK, s/we/I/.  I find it useful, because without such

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-19 Thread Kevin Wolf
Am 19.01.2022 um 14:44 hat Hanna Reitz geschrieben: > On 19.01.22 13:58, Markus Armbruster wrote: > > Hanna Reitz writes: > > > > > We want to add a --daemonize argument to QSD's command line. > > Why? > > OK, s/we/I/.  I find it useful, because without such an option, I need to > have whoever

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-19 Thread Hanna Reitz
On 19.01.22 13:58, Markus Armbruster wrote: Hanna Reitz writes: We want to add a --daemonize argument to QSD's command line. Why? OK, s/we/I/.  I find it useful, because without such an option, I need to have whoever invokes QSD loop until the PID file exists, before I can be sure that

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-19 Thread Markus Armbruster
Hanna Reitz writes: > We want to add a --daemonize argument to QSD's command line. Why? > This will > require forking the process before we do any complex initialization > steps, like setting up the block layer or QMP. Therefore,

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2022-01-03 Thread Hanna Reitz
On 30.12.21 17:00, Vladimir Sementsov-Ogievskiy wrote: 22.12.2021 14:41, Hanna Reitz wrote: We want to add a --daemonize argument to QSD's command line.  This will require forking the process before we do any complex initialization steps, like setting up the block layer or QMP.  Therefore, we

Re: [PATCH 1/3] qsd: Add pre-init argument parsing pass

2021-12-30 Thread Vladimir Sementsov-Ogievskiy
22.12.2021 14:41, Hanna Reitz wrote: We want to add a --daemonize argument to QSD's command line. This will require forking the process before we do any complex initialization steps, like setting up the block layer or QMP. Therefore, we must scan the command line for it long before our current

[PATCH 1/3] qsd: Add pre-init argument parsing pass

2021-12-22 Thread Hanna Reitz
We want to add a --daemonize argument to QSD's command line. This will require forking the process before we do any complex initialization steps, like setting up the block layer or QMP. Therefore, we must scan the command line for it long before our current process_options() call. Instead of