Patrick Lawrence

Results 5 comments of Patrick Lawrence

I wrote a simple app (running on an ESP32) to demonstrate the behavior I'm seeing based on the unit test in `ingress.rs`: ``` #![no_std] #![no_main] #![feature(type_alias_impl_trait)] #![feature(utf8_chunks)] use atat::atat_derive::AtatResp; use...

This is a duplicate of https://github.com/fsnotify/fsevents/pull/32 although it solves the problem differently.

https://github.com/fsnotify/fsevents/pull/32 does not appear to fix the issue. I closed this PR in haste apparently (re-opening).

Actually, I think you need scale the number of pgs by the osd size relative to the max osd size. That scaling looks like this: ``` abs( ((ceph_osd_numpg > 0)...

Grok provided this optimization which I think is cleaner and easier to understand: ``` abs( ( ( (ceph_osd_numpg > 0) / clamp_min(ceph_osd_stat_bytes, 1) ) * on(job) group_left max(ceph_osd_stat_bytes) by(job) )...