Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os: unify Sequencer and CollectionHandle #20173

Merged
merged 12 commits into from
Feb 7, 2018
Merged

Commits on Feb 6, 2018

  1. test/bench: remove smallio bench tools

    These are stale and superceded by the fio ObjectStore (and other)
    backends.  Shed the weight!
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    5749434 View commit details
    Browse the repository at this point in the history
  2. ceph_xattr_bench: drop

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    8ae0a01 View commit details
    Browse the repository at this point in the history
  3. qa/tasks/recovery_bench: drop recovery_bench task

    This relies on smalliobench, which is gone now.  The task could
    pretty easily be resurrected if we substitute in another tool.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    e4e4079 View commit details
    Browse the repository at this point in the history
  4. ceph_test_objectstore_workloadgen: remove

    Stale test code, never run.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    9c8c66c View commit details
    Browse the repository at this point in the history
  5. os/ObjectStore: combine Sequencer and CollectionImpl in ObjectStore

    In practice we have a sequencer per collection. Combine them in the interface
    to simplify our lives!
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    abd58ad View commit details
    Browse the repository at this point in the history
  6. os/ObjectStore: make all read operations CollectionHandle-based

    Drop the coll_t shims, and convert the last few that weren't already
    handle-based.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    38d24fe View commit details
    Browse the repository at this point in the history
  7. os: make implementation flush before collection_{list,empty}

    This takes the (awkward) burden off the caller.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    c0c6de3 View commit details
    Browse the repository at this point in the history
  8. osd/PrimaryLogPG: drop unnecessary flush() on shutdown

    The ObjectStore implementation should handle this.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    08eb08a View commit details
    Browse the repository at this point in the history
  9. osd: drop explicit calls to osr->flush

    These are no longer needed as the implementations do it themselves.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    58e03a9 View commit details
    Browse the repository at this point in the history
  10. os/filestore: do not rely on ObjectStore::Transaction::osr

    This was used only to name the osr for the purposes of the tracepoint. We
    can do that ourselves!
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    31b5aec View commit details
    Browse the repository at this point in the history
  11. os/ObjectStore: remove void *osr from Transaction

    No longer used!  (It was only needed for an ugly FileStore hack.)
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    ab67958 View commit details
    Browse the repository at this point in the history
  12. test/objectstore/TestObjectStoreState: make objects match collection

    - start pool at 1
    - make hash fall within pg (just match it for now)
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    c58bd9c View commit details
    Browse the repository at this point in the history