• K
    Implement GetUniqueId for Mac · bb98ca3c
    krad 提交于
    Summary:
    Persistent read cache relies on the accuracy of the GetUniqueIdFromFile
    to generate a unique key for a given block of data. Currently we don't have an
    implementation for Mac.
    
    This patch adds an implementation.
    
    Test Plan: Run unit tests
    
    Reviewers: sdong
    
    Subscribers: andrewkr, dhruba, leveldb
    
    Differential Revision: https://reviews.facebook.net/D58413
    bb98ca3c
io_posix.cc 18.0 KB