----- Ursprüngliche Mail -----
Von: "ZhaoLong Wang" <wangzhaolong1@xxxxxxxxxx>In general I like having some new and advanced way to test UBI.
The existing fault injection capability of UBI is too simple.
It uses hard-coded fault probability values and lacks other
configurable options. As a result, these interfaces are difficult
to use when digging defects in the abnormal path of code and
reproducing some problems.
The kernel provides a powerful fault injection framework, which
provides rich configurable fault injection attributes during runtime.
So it can be used to improve the fault injection capability of the
UBI driver.
This series of patches refactor the existing fault injection interface
and add some fault injection types to help testers and developers
find potential problems in the code.
But your patches seem to remove the old interface from debugfs,
this will cause breakage of existing test scripts.
So please keep the old interface too.
Thanks,
//richard