Skip to content
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.

Basic support for non-POSIX backends #25

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Sep 19, 2014

  1. refactor access to the backend

    For "non-traditional" backends that expose a different namespace than that
    directly accessible by straight POSIX calls, the access() call shouldn't be
    directly used by the benchmark. POSIX calls can still occur as a result in the
    current iteration of the code (e.g., uniqueDir option resulting in calling
    mkdir), but for the moment I assume that backends will exit if an incompatible
    option is selected.
    John Jenkins committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    321837d View commit details
    Browse the repository at this point in the history
  2. init/finalize support

    Non-POSIX systems may need special initialization/finalization code to e.g.,
    set up network contexts, ping servers for storage system view, etc.
    John Jenkins committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    6813950 View commit details
    Browse the repository at this point in the history
  3. put mkdir into the backend

    The notion of a "directory" may not be valid with a non-POSIX namespace (e.g.,
    an object store), so put the mkdir down a level. Ideally, creating directories
    should be relegated to the *_init functions so that the logic is not happening
    at the "top-level" (PrependDir), but that's a little too much code churn for
    now, so going with the easier option. Backends without a notion of directories
    should simply spit out a warning or error.
    John Jenkins committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    9458473 View commit details
    Browse the repository at this point in the history
  4. removed POSIX_Init and POSIX_Finalize

    if init/fini are going to be no-ops, have explicit no-op support
    John Jenkins committed Sep 19, 2014
    Configuration menu
    Copy the full SHA
    095ab6e View commit details
    Browse the repository at this point in the history