On Tue, Oct 24, 2017 at 6:21 PM, <tang.junhui@xxxxxxxxxx> wrote: >>> static void bch_btree_gc_finish(struct cache_set *c) >> available should be removed and this function should return 0. > I have changed this function to a void type, so nothing need return. Sorry, I misread that. :) >>> + stats.in_use = (c->nbuckets - c->avail_nbuckets) * 100 / c->nbuckets; >> >> This should instead call bch_update_bucket_in_use to avoid code duplication. > OK, I will modify it and resend a v2 patch later. OK, that's my only complaint. Will be glad to add v2 to my staging tree. > >> Overall I think this is a good piece of progress. > Thanks for your review and comments again. > > Tang Junhui Thanks! Mike -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html