Add diagnostics and fix CEPH_OSD_OP_CACHE_TRY_FLUSH case