Re: [PATCH] sysbench: fix A/B testing device configuration conflicts
Luis Chamberlain <[email protected]>
| Newsgroups | dev.linux.lists.kdevops |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Sep 16, 2025 at 02:46:45PM +0200, Daniel Gomez wrote: > From: Daniel Gomez <[email protected]> > > The sysbench workflow automatically enables A/B testing for atomic write > tests, but the single CONFIG_SYSBENCH_DEVICE configuration causes device > conflicts where both baseline and dev nodes try to use the same physical > device. > > This commit implements separate device configuration for A/B testing: > > * Add CONFIG_SYSBENCH_DEVICE_BASELINE for baseline nodes > * Add CONFIG_SYSBENCH_DEVICE_DEV for dev nodes > * Update CONFIG_SYSBENCH_DEVICE to work with single-node setups > * Add Ansible device resolution logic to automatically assign the > correct device based on node group membership > * Add validation script to detect device conflicts and provide > clear error messages with solutions > * Integrate validation into sysbench Makefile to run automatically > > The solution maintains backward compatibility for non-A/B configurations > while eliminating device conflicts in A/B testing scenarios. > > Generated-by: Claude AI > Signed-off-by: Daniel Gomez <[email protected]> Applied and pushed, thanks! Luis