Searched refs:max_dirty (Results 1 – 4 of 4) sorted by relevance
9 size_t max_dirty = 1024 + nr_keys / 2; in bch2_nr_btree_keys_need_flush() local11 return max_t(ssize_t, 0, nr_dirty - max_dirty); in bch2_nr_btree_keys_need_flush()18 size_t max_dirty = 4096 + (nr_keys * 3) / 4; in __bch2_btree_key_cache_must_wait() local20 return nr_dirty - max_dirty; in __bch2_btree_key_cache_must_wait()32 size_t max_dirty = 2048 + (nr_keys * 5) / 8; in bch2_btree_key_cache_wait_done() local34 return nr_dirty <= max_dirty; in bch2_btree_key_cache_wait_done()
119 uint16_t max_dirty; member
260 if (!bbl->max_dirty || bbl->nr_dirty < bbl->max_dirty) in xfs_btree_bload_drop_buf()
97 xnr->bload.max_dirty = XFS_B_TO_FSBT(sc->mp, 256U << 10); /* 256K */ in xrep_newbt_init_ag()