[block-cache] add comment to stop me removing the list sizes again.

This commit is contained in:
Joe Thornber 2017-08-14 10:17:56 +01:00
parent 4489a9bae6
commit 398d53e0d6

View File

@ -266,6 +266,9 @@ namespace bcache {
block_list dirty_;
block_list clean_;
// Because the block_list type doesn't have a constant time
// size() method, we have to manually keep track of the list
// sizes (tedious and error prone).
unsigned nr_locked_;
unsigned nr_dirty_;