Closed madhavemuri closed 2 years ago
To enable the FI, use m0console utility like,
./m0console -f 260 -s inet:tcp:192.168.53.99@22502 -c inet:tcp:192.168.53.99@22501 -v -d '("m0_rpc_item_received", "log", 1, 0, 0)'
Connecting from inet:tcp:192.168.53.99@22501 to inet:tcp:192.168.53.99@22502 connected Console Address = inet:tcp:192.168.53.99@22501 Server Address = inet:tcp:192.168.53.99@22502 Sending FOP: 260 Fault Injection Command
m0_fi_command_req m0_buf b_nob(u64) = 20 b_addr(u8) = m0_rpc_item_received m0_buf b_nob(u64) = 3 b_addr(u8) = logpM fcr_disp(u8) = fcr_num1(u32) = 0 fcr_num2(u32) = 0
Server replied with FOP: 261 Fault Injection Command reply
m0_fi_command_rep fcp_rc(u32) = 0
Signed-off-by: Madhavrao Vemuri madhav.vemuri@seagate.com
Checklist for Author
Checklist for Author/Reviewer/GateKeeper
01motr-single-node/00userspace-tests_addb2-storage01motr-single-node/00userspace-tests_be-ut01motr-single-node/00userspace-tests_addb2-consumer01motr-single-node/00userspace-tests_obj-ut01motr-single-node/00userspace-tests_addb2-base01motr-single-node/00userspace-tests_dtm0-ut01motr-single-node/00userspace-tests_addb2-sys01motr-single-node/00userspace-tests_cas-client01motr-single-node/00userspace-tests_bulk-server-ut01motr-single-node/00userspace-tests_client-ut01motr-single-node/00userspace-tests_libm0-ut01motr-single-node/00userspace-tests_cas-service
01motr-single-node/00userspace-tests_balloc-ut01motr-single-node/00userspace-tests_buffer_pool_ut01motr-single-node/00userspace-tests_capa-ut01motr-single-node/00userspace-tests_addb2-net01motr-single-node/00userspace-tests_di-ut01motr-single-node/00userspace-tests_addb2-histogram01motr-single-node/00userspace-tests_bytecount-ut01motr-single-node/00userspace-tests_btree-ut01motr-single-node/00userspace-tests_bulk-client-ut
Cppcheck: No new warnings found :thumbsup:
01motr-single-node/28sys-kvs01motr-single-node/35m0singlenode01motr-single-node/37protocol02motr-single-node/51kem02motr-single-node/20rpc-session-cancel02motr-single-node/10pver-assign02motr-single-node/21fsync-single-node02motr-single-node/13dgmode-io02motr-single-node/14poolmach02motr-single-node/11m0t1fs02motr-single-node/26motr-user-kernel-tests02motr-single-node/08spiel03motr-single-node/06conf03motr-single-node/36spare-reservation04motr-single-node/34sns-repair-1n-1f04motr-single-node/08spiel-sns-repair-quiesce04motr-single-node/28sys-kvs-kernel04motr-single-node/11m0t1fs-rconfc-fail04motr-single-node/08spiel-sns-repair04motr-single-node/19sns-repair-abort04motr-single-node/22sns-repair-ios-fail05motr-single-node/18sns-repair-quiesce05motr-single-node/12fwait05motr-single-node/16sns-repair-multi05motr-single-node/07mount-fail05motr-single-node/15sns-repair-single05motr-single-node/23sns-abort-quiesce05motr-single-node/17sns-repair-concurrent-io05motr-single-node/07mount05motr-single-node/07mount-multiple05motr-single-node/12fsync
01motr-single-node/00userspace-tests_rpc-packet-encdec-ut01motr-single-node/00userspace-tests_fdmi-sd-ut01motr-single-node/00userspace-tests_net-prov-ut01motr-single-node/00userspace-tests_rpc-link-ut01motr-single-node/00userspace-tests_fom-stats-ut01motr-single-node/00userspace-tests_fdmi-pd-ut01motr-single-node/00userspace-tests_rpc-formation-ut01motr-single-node/00userspace-tests_balloc-ut01motr-single-node/00userspace-tests_cob-ut01motr-single-node/00userspace-tests_net-module01motr-single-node/00userspace-tests_spiel-ci-ut01motr-single-node/00userspace-tests_io-nw-xfer-ut01motr-single-node/00userspace-tests_rpc-session-ut01motr-single-node/00userspace-tests_spiel-conf-ut01motr-single-node/00userspace-tests_addb2-storage01motr-single-node/00userspace-tests_rm-ut01motr-single-node/00userspace-tests_helpers-ufid-ut01motr-single-node/00userspace-tests_io-req-ut01motr-single-node/00userspace-tests_buffer_pool_ut01motr-single-node/00userspace-tests_be-ut01motr-single-node/43m0crate01motr-single-node/00userspace-tests_dix-cm-iter01motr-single-node/00userspace-tests_fis-ut01motr-single-node/00userspace-tests_rpc-conn-pool-ut01motr-single-node/00userspace-tests_idx-ut01motr-single-node/00userspace-tests_ff2c-ut01motr-single-node/05confgen01motr-single-node/00userspace-tests_conf-ut01motr-single-node/00userspace-tests_cob-foms-ut01motr-single-node/00userspace-tests_addb2-consumer01motr-single-node/00userspace-tests_capa-ut01motr-single-node/00userspace-tests_isc-api-ut01motr-single-node/00userspace-tests_snscm_storage-ut01motr-single-node/00userspace-tests_net-bulk-mem01motr-single-node/00userspace-tests_obj-ut01motr-single-node/00userspace-tests_confc-ut01motr-single-node/00userspace-tests_reqh-fop-allow-ut01motr-single-node/00userspace-tests_mdservice-ut01motr-single-node/00userspace-tests_reqh-ut01motr-single-node/00userspace-tests_ios-bufferpool-ut01motr-single-node/00userspace-tests_io-ut01motr-single-node/00userspace-tests_rpc-rcv-session-ut01motr-single-node/00userspace-tests_dtm-dtx-ut01motr-single-node/00userspace-tests_idx-dix01motr-single-node/00userspace-tests_io-req-fop-ut01motr-single-node/00userspace-tests_net-bulk-if01motr-single-node/00userspace-tests_net-misc-ut01motr-single-node/00userspace-tests_parity_math_ssse3-ut01motr-single-node/00userspace-tests_addb2-net01motr-single-node/00userspace-tests_failure_domains_tree-ut01motr-single-node/00userspace-tests_fdmi-filterc-ut01motr-single-node/00userspace-tests_cm-cp-ut01motr-single-node/00userspace-tests_conf-pvers-ut01motr-single-node/00userspace-tests_addb2-base01motr-single-node/00userspace-tests_rpc-at01motr-single-node/00userspace-tests_dtm0-ut01motr-single-node/00userspace-tests_parity_math-ut01motr-single-node/00userspace-tests_net-test01motr-single-node/00userspace-tests_spiel-ut01motr-single-node/00userspace-tests_stats-ut01motr-single-node/00userspace-tests_addb2-sys01motr-single-node/00userspace-tests_fdmi-filter-eval-ut01motr-single-node/00userspace-tests_snscm_xform-ut01motr-single-node/00userspace-tests_ms-fom-ut01motr-single-node/00userspace-tests_fop-lock-ut01motr-single-node/00userspace-tests_dtm-nucleus-ut01motr-single-node/00userspace-tests_xcode_bufvec_fop-ut01motr-single-node/00userspace-tests_conf-diter-ut01motr-single-node/00userspace-tests_libconsole-ut01motr-single-node/00userspace-tests_sm-ut01motr-single-node/00userspace-tests_di-ut01motr-single-node/00userspace-tests_rpc-item-source-ut01motr-single-node/00userspace-tests_addb2-histogram01motr-single-node/00userspace-tests_isc-service-ut01motr-single-node/00userspace-tests_sss-ut01motr-single-node/00userspace-tests_dix-client-ut01motr-single-node/00userspace-tests_ha-state-ut01motr-single-node/00userspace-tests_poolmach-ut01motr-single-node/00userspace-tests_dtm0-log-ut01motr-single-node/06hagen01motr-single-node/00userspace-tests_rpc-machine-ut01motr-single-node/00userspace-tests_rm-rcredits-ut01motr-single-node/00userspace-tests_snscm_net-ut01motr-single-node/00userspace-tests_bytecount-ut01motr-single-node/00userspace-tests_rconfc-ut01motr-single-node/00userspace-tests_stob-ut01motr-single-node/00userspace-tests_reqh-service-ut01motr-single-node/00userspace-tests_rpc-lib-ut01motr-single-node/00userspace-tests_failure_domains-ut01motr-single-node/00userspace-tests_sync-ut01motr-single-node/00userspace-tests_pi_ut01motr-single-node/00userspace-tests_net-lnet01motr-single-node/00userspace-tests_udb-ut01motr-single-node/00userspace-tests_layout-ut01motr-single-node/04initscripts01motr-single-node/00userspace-tests_rpc-connection-ut01motr-single-node/00userspace-tests_io-pargrp-ut01motr-single-node/00userspace-tests_rpc-item-ut01motr-single-node/00userspace-tests_fdmi-fol-fini-ut01motr-single-node/00userspace-tests_confstr-ut01motr-single-node/00userspace-tests_module-ut01motr-single-node/00userspace-tests_cm-ut01motr-single-node/00userspace-tests_sns-file-lock-ut01motr-single-node/00userspace-tests_rm-rwlock-ut01motr-single-node/00userspace-tests_conf-validation-ut01motr-single-node/00userspace-tests_m0d-ut01motr-single-node/00userspace-tests_dtm-transmit-ut01motr-single-node/00userspace-tests_idx-dix-mt01motr-single-node/00userspace-tests_xcode-ut01motr-single-node/00userspace-tests_cas-client01motr-single-node/00userspace-tests_bulk-server-ut01motr-single-node/00userspace-tests_ha-ut01motr-single-node/00userspace-tests_conf-walk-ut01motr-single-node/00userspace-tests_client-ut01motr-single-node/00userspace-tests_conf-load-ut01motr-single-node/00userspace-tests_sns-cm-repair-ut01motr-single-node/00userspace-tests_libm0-ut01motr-single-node/00userspace-tests_btree-ut01motr-single-node/00userspace-tests_reqh-service-ctx-ut01motr-single-node/00userspace-tests_fom-timedwait-ut01motr-single-node/52motr-singlenode-sanity01motr-single-node/00userspace-tests_fdmi-fol-ut01motr-single-node/00userspace-tests_conf-glob-ut01motr-single-node/00userspace-tests_storage-dev-ut01motr-single-node/00userspace-tests_cas-service01motr-single-node/01net01motr-single-node/00userspace-tests_bulk-client-ut01motr-single-node/00userspace-tests_layout-access-plan-ut01motr-single-node/01kernel-tests01motr-single-node/03console01motr-single-node/00userspace-tests_dtm0-clk-src-ut01motr-single-node/02rpcping01motr-single-node/00userspace-tests_fol-ut01motr-single-node/00userspace-tests_fit-ut01motr-single-node/00userspace-tests_libfab-ut02motr-single-node/07m0d-fatal02motr-single-node/67fdmi-plugin-multi-filters02motr-single-node/53clusterusage-alert02motr-single-node/41motr-conf-update03motr-single-node/61sns-repair-motr-1n-1f03motr-single-node/72spiel-sns-motr-repair-quiesce03motr-single-node/08spiel-multi-confd03motr-single-node/69sns-repair-motr-quiesce03motr-single-node/62sns-repair-motr-mf03motr-single-node/70sns-failure-after-repair-quiesce03motr-single-node/63sns-repair-motr-1k-1f03motr-single-node/60sns-repair-motr-1f03motr-single-node/66sns-repair-motr-abort-quiesce03motr-single-node/24motr-dix-repair-lookup-insert-spiel03motr-single-node/68sns-repair-motr-shutdown03motr-single-node/64sns-repair-motr-ios-fail03motr-single-node/71spiel-sns-motr-repair03motr-single-node/24motr-dix-repair-lookup-insert-m0repair03motr-single-node/04sss03motr-single-node/65sns-repair-motr-abort04motr-single-node/73motr-io-small-disks04motr-single-node/48motr-raid0-io04motr-single-node/74motr-di-corruption-detection04motr-single-node/49motr-rpc-cancel04motr-single-node/25m0kv04motr-single-node/44motr-rm-lock-cc-io04motr-single-node/45motr-rmw05motr-single-node/23dix-repair-m0repair05motr-single-node/43motr-sync-replication05motr-single-node/42motr-utils05motr-single-node/45motr-sns-repair-N-105motr-single-node/40motr-dgmode05motr-single-node/23dix-repair-quiesce-m0repair05motr-single-node/23spiel-dix-repair-quiesce05motr-single-node/44motr-sns-repair05motr-single-node/23spiel-dix-repair
To enable the FI, use m0console utility like,
./m0console -f 260 -s inet:tcp:192.168.53.99@22502 -c inet:tcp:192.168.53.99@22501 -v -d '("m0_rpc_item_received", "log", 1, 0, 0)'
Connecting from inet:tcp:192.168.53.99@22501 to inet:tcp:192.168.53.99@22502 connected Console Address = inet:tcp:192.168.53.99@22501 Server Address = inet:tcp:192.168.53.99@22502 Sending FOP: 260 Fault Injection Command
Server replied with FOP: 261 Fault Injection Command reply
Signed-off-by: Madhavrao Vemuri madhav.vemuri@seagate.com
Problem Statement
Design
Coding
Checklist for Author
Testing
Checklist for Author
Impact Analysis
Checklist for Author/Reviewer/GateKeeper
Review Checklist
Checklist for Author
Documentation
Checklist for Author