bcache: fix mistaken code comments in bcache.h
This patch updates the code comment in struct cache with correct array names, to make the code to be more comprehensible. Signed-off-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
@@ -423,9 +423,9 @@ struct cache {
|
|||||||
/*
|
/*
|
||||||
* When allocating new buckets, prio_write() gets first dibs - since we
|
* When allocating new buckets, prio_write() gets first dibs - since we
|
||||||
* may not be allocate at all without writing priorities and gens.
|
* may not be allocate at all without writing priorities and gens.
|
||||||
* prio_buckets[] contains the last buckets we wrote priorities to (so
|
* prio_last_buckets[] contains the last buckets we wrote priorities to
|
||||||
* gc can mark them as metadata), prio_next[] contains the buckets
|
* (so gc can mark them as metadata), prio_buckets[] contains the
|
||||||
* allocated for the next prio write.
|
* buckets allocated for the next prio write.
|
||||||
*/
|
*/
|
||||||
uint64_t *prio_buckets;
|
uint64_t *prio_buckets;
|
||||||
uint64_t *prio_last_buckets;
|
uint64_t *prio_last_buckets;
|
||||||
|
|||||||
Reference in New Issue
Block a user