Patches enabling Parallel::Forkmanager forking in discover
Brought to you by:
ssinyagin
See attached for patches enabling Parallel::ForkManager
style forking
during devdiscover.
I've tested it on my limited configs, and the output is
identical to
non-forking code. The important thing is that there is
one fork per
outfile and dd object pair so there isn't a need to
share memory.
The per outfile requirement means that each host in the
ddx file must
have its own outfile, and devdiscover must be set to
use bundling
files. I added an option to genddx to create one
filename per host
with an optional prefix (ie: for subdirectories).
Patches for Parallel::ForkManager in discovery.
Adds bundling support to genddx.
Logged In: YES
user_id=588685
Additional patch for genddx to support bundling with the
--prefix option in previous patch.