Motr  M0
Fault Injection at run time DLD

Typically used in UT suites, the fault injection functionality can be used in system tests as well. In order to control fault injections a service of a special M0_CST_FIS type is enabled and started in motr instance allowing it accept respective FOPs. From now on any cluster participant is able to post a particular FOP to the motr instance that is to control its fault injection point states based on received information.

Note
Fault injection mechanisms take effect only in debug builds when appropriate build configuration parameters were applied. And in release builds FI appears disabled, so even with FI service up and running the posted commands are going to cause no effect despite reported success code.