fix wrong value of op_w_latency perf counter

Fixes: #9217

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
This will trigger twice if m->wants_ondisk() is false.  That doesn't normally happen, but we should avoid strange behavior if it does.  Maybe introduce another bool in the repop struct?