[block-cache] Remove nr_dirty_ and nr_io_pending_.

Better to use the size of the relevant list.
This commit is contained in:
Joe Thornber
2017-07-24 16:08:49 +01:00
parent 467be1a69e
commit 0a06e4b21b
2 changed files with 2 additions and 11 deletions

View File

@@ -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,