Home
last modified time | relevance | path

Searched refs:congested (Results 1 – 4 of 4) sorted by relevance

/fs/bcachefs/
A Dsysfs.c173 read_attribute(congested);
833 sysfs_printf(congested, "%u%%", in SHOW()
834 clamp(atomic_read(&ca->congested), 0, CONGESTED_MAX) in SHOW()
A Dio_read.c53 s64 congested; in bch2_target_congested() local
68 congested = atomic_read(&ca->congested); in bch2_target_congested()
71 congested -= (now - last) >> 12; in bch2_target_congested()
73 total += max(congested, 0LL); in bch2_target_congested()
A Dio_write.c62 if (atomic_read(&ca->congested) < CONGESTED_MAX) in bch2_congested_acct()
65 &ca->congested); in bch2_congested_acct()
68 } else if (atomic_read(&ca->congested) > 0) { in bch2_congested_acct()
69 atomic_dec(&ca->congested); in bch2_congested_acct()
A Dbcachefs.h669 atomic_t congested; member

Completed in 22 milliseconds