[block-cache] reverse earlier patch which took out manual counts for
nr_dirty etc. The block list type doesn't have a constant time size() method.
This commit is contained in:
@@ -267,7 +267,9 @@ namespace bcache {
|
||||
block_list clean_;
|
||||
|
||||
unsigned nr_locked_;
|
||||
unsigned nr_dirty_;
|
||||
|
||||
unsigned nr_io_pending_;
|
||||
block_list io_pending_;
|
||||
|
||||
typedef bi::member_hook<block,
|
||||
|
||||
Reference in New Issue
Block a user