[block-cache] Remove nr_dirty_ and nr_io_pending_.
Better to use the size of the relevant list.
This commit is contained in:
@@ -267,9 +267,7 @@ 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