• S
    env: add ReuseWritableFile · 1bcafb62
    Sage Weil 提交于
    Add an environment method to reuse an existing file.  Provide a generic
    implementation that does a simple rename + open (writeable), and also a
    posix variant that is more careful about error handling (if we fail to
    open, do not rename, etc.).
    Signed-off-by: NSage Weil <sage@redhat.com>
    1bcafb62
env_posix.cc 50.1 KB