Memory leak during Degraded Read operation
* Gradual increase in ios process memory on k8s environment
In degraded read ti_goff_ivec not cleared after operations
@@ -413,7 +413,8 @@ void target_ioreq_fini(struct target_ioreq *ti)
if ( opcode == M0_OC_WRITE ) {
m0_buf_free( &ti->ti_attrbuf );
m0_free( (void *)ti->ti_cksum_seg_b_nob );
- }
+ } else if ( opcode == M0_OC_READ )
+ m0_indexvec_free(&ti->ti_goff_ivec);
m0_free(ti);
M0_LEAVE();
