[block-cache] Create just one noop_validator
No need to create a separate one for each block.
This commit is contained in:
@@ -214,6 +214,8 @@ namespace bcache {
|
||||
unsigned write_hits_;
|
||||
unsigned write_misses_;
|
||||
unsigned prefetches_;
|
||||
|
||||
validator::ptr noop_validator_;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user