Searched refs:sectors_to_gc (Results 1 – 4 of 4) sorted by relevance
197 atomic_set(&c->sectors_to_gc, c->cache->sb.bucket_size * c->nbuckets / 16); in set_gc_sectors()306 atomic_set(&c->sectors_to_gc, -1); in force_wake_up_gc()
659 atomic_t sectors_to_gc; member
195 if (atomic_sub_return(bio_sectors(bio), &op->c->sectors_to_gc) < 0) in bch_data_insert_start()
1870 if (atomic_read(&c->sectors_to_gc) < 0) in gc_should_run()