-
Type:
Improvement
-
Resolution: Done
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Internal Client
-
None
-
Fully Compatible
util/util.cpp, which implements some of goodies.h, includes file_allocator.h, but only acquires the StaticObserver from it. However, by pulling in file_allocator, it creates a dependency on posix_fadvise.cpp, which is then also required in the driver.
Changing util.cpp to only require mutex.h to get the static observer removes both file_allocator.h and posix_fadvise.h from the files required to build the client driver.