avocado-framework-tests / avocado-misc-tests

Community maintained Avocado tests repository
Other
22 stars 123 forks source link

fio: Move pmem create code out of fio test #2695

Open abdhaleegit opened 1 year ago

abdhaleegit commented 1 year ago

As currently the fio code has pmem configuration code, so in long term we should move tihs out of fio

PraveenPenguin commented 1 year ago

@abdhaleegit I feel it should be targeted to fio test as well as PMEM just a device configuration that can be YAML input so having different test cases will increase maintenance cost

abdhaleegit commented 1 year ago

@PraveenPenguin I mean pmem device creation should be out of fio, only fio takes pmem device name.. which is already created. and the pmem can be created manually or by calling pmem code explicitly in cfg

PraveenPenguin commented 1 year ago

@PraveenPenguin I mean pmem device creation should be out of fio, only fio takes pmem device name.. which is already created. and the pmem can be created manually or by calling pmem code explicitly in cfg

If not implement that had take on this but why to drop the code and have this user pre-requisite, as we have Avocado API which does these operation