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

Merge upstream v12.0.3 plus https://github.com/ceph/ceph/pull/14997 #115

Merged
merged 1,057 commits into from
May 26, 2017
This pull request is big! We’re only showing the most recent 250 commits.

Commits on May 5, 2017

  1. osd/PrimaryLogPG: filter snapc.snaps up front

    No reason to wait for make_writeable(); ensure we have a valid snapc
    from the start.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    10f8615 View commit details
    Browse the repository at this point in the history
  2. osd/PrimaryLogPG: keep snapset on whiteout head if luminous

    If REQUIRE_LUMINOUS is set on the OSDMap, put the SnapSet on the head
    and make it a whiteout.  This is simpler and will eventually (once all
    the old snapdir objects have been fixed up) let us remove a ton of
    snapdir-related headaches.
    
    This is surprisingly simple.  Everywhere else we work with snapdir is
    already set up to handle the snapset on the head.  The only difference is
    that we are preventing outselves from moving from the snapset-on-head
    state to the snapset-on-snapdir-with-no-head state.  The only time this
    happens is when the object is logically deleted in _delete_oid.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    2640101 View commit details
    Browse the repository at this point in the history
  3. osd/PrimaryLogPG: delete + ignore_cache is a soft hint

    We may still need to create a whiteout because clones still exist.
    
    Arguably delete+ignore_cache is not the right way to remove whiteouts and
    we should have a separate RADOS operation for this.  But we don't.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    de6f09f View commit details
    Browse the repository at this point in the history
  4. osd/osd_types: add clone_snaps to SnapSet

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    a7b5922 View commit details
    Browse the repository at this point in the history
  5. osd/osd_types: rename object_info_t::snaps -> legacy_snaps

    This will make it easier to identify users of this field that need to
    conditionally use either the old legacy_snaps or the new
    SnapSet::clone_snaps vector.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    bdaf774 View commit details
    Browse the repository at this point in the history
  6. osd: store clone list in SnapSet

    Store the per-clone snaps list in SnapSet if (1) REQUIRE_LUMINOUS is set
    in the OSDMap and (2) the SnapSet isn't a 'legacy' SnapSet that hasn't
    been converted yet by scrub.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    7f90c72 View commit details
    Browse the repository at this point in the history
  7. osd/PrimaryLogPG: convert snapdir during scrub

    During scrub, we assemble the clone legacy_snaps values and put them
    in the SnapSet.
    
    Note that we do not bother clearing legacy_snaps in the clones; this is
    more complexity to do correctly and not worth the effort; we will always
    have the SnapSet to indicate whether we need to look at the oldf ield
    or not.
    
    If the rebuild clone_snaps is not the correct size we bail out; this can
    happen if some clones are missing oi or missing entirely, or if there are
    extra clones.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    7911950 View commit details
    Browse the repository at this point in the history
  8. osd/osd_types: add num_legacy_snapsets to stats struct

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    3862309 View commit details
    Browse the repository at this point in the history
  9. osd/PrimaryLogPG: maintain pessimistic estimate of num_legacy_snapsets

    - Assume that any snapset we update, if not require_luminous, is a net-new
    legacy SnapSet.  (It might be an existing one, which would be net-0, but
    that is harder to tell.)
    
    Then, during scrub,
    
    - Any unreadable oi is assumed to include a legacy snapset
    - Any snapset we encounter if !require_luminous is legacy
    - Any object that should have a snapset but doesn't (corrupt or missing)
    is assumed to be legacy.
    - If were trying to update a legacy Snapset but have to abort, then it is
    still legacy.
    
    We could assume that a missing/broken snapset is not legacy since it has
    to be repaired anyway (and therefore shouldn't block upgrade), but I'm
    not sure.  For now, we'll take the conservative approach of blocking the
    upgrade if the snapset metadata is missing/corrupt.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    
    # Conflicts:
    #	src/osd/PrimaryLogPG.cc
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    48e3f0e View commit details
    Browse the repository at this point in the history
  10. osd/PrimaryLogPG: remove head if snapset is empty and head is whiteout

    We include a check to make sure we do not delete a dirty whiteout if this
    is a tier pool and the object is dirty.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    e3e8cae View commit details
    Browse the repository at this point in the history
  11. osd/PrimaryLogPG: clear whiteout on exists=false objects in obc cache

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    f016d4f View commit details
    Browse the repository at this point in the history
  12. osd/ECBackend: whitespace

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    e24d502 View commit details
    Browse the repository at this point in the history
  13. osd/ECBackend: populate recovery_info

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    f0db7db View commit details
    Browse the repository at this point in the history
  14. osd/ReplicatedBackend: set recovry_info.ss on non-head push

    Replicas need this in order to store the clones in SnapMapper.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    138a808 View commit details
    Browse the repository at this point in the history
  15. osd/osd_types: document snaps vectors are descending

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    bbc63bf View commit details
    Browse the repository at this point in the history
  16. osd/osd_types: pass legacy flag to from_snap_set

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    f063506 View commit details
    Browse the repository at this point in the history
  17. osd/PrimaryLogPG: only clear SnapSet::head_exists for legacy snapsets

    In the new world, head_exists is always true.  Stop clearing it in
    _delete_oid (except for legacy compatibility), and fix the various callers
    and assertions to compensate.  Note that we now use head_exists as a flag
    to guide us into the snapdir branch of finish_ctx() (which will go away
    post-luminous).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    376015f View commit details
    Browse the repository at this point in the history
  18. test/osd/osd-scrub-snaps.sh: fix test

    - objects come in a different order, meh
    - ss is on head, always, not snapdir.
    - error messages on head, not snapdir
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    c048f6a View commit details
    Browse the repository at this point in the history
  19. ceph-objectstore-tool: handle both new and legacy SnapSet format

    If we encounter legacy snaps, add to snapmapper then; otherwise, use the
    clone_snaps field in SnapSet to add all clones to snapmapper when we
    process the head object.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    aed0938 View commit details
    Browse the repository at this point in the history
  20. ceph_test_cls_refcount: fix cls_rgw.test_put_snap

    Do not touch the object before the put if we expect to see ENOENT.
    We would get it anyway with older code, but with the snapset
    changes we are on a whiteout and get ENODATA instead.
    
    And really we shouldn't have been getting ENOENT after a touch
    anyway!
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    cc53ece View commit details
    Browse the repository at this point in the history
  21. ceph_test_rados_api_list: update check_list

    We no longer see dup entries on split.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    fb969df View commit details
    Browse the repository at this point in the history
  22. ceph_test_rados_api_*: do not clean up objects (usually)

    First, this is pointless--each test runs in a namespace so they don't
    step on each other.  Second, leaving objects in place is an opportunity
    for scrub to notice any issues we created.  Third, the cleanup asserts
    that delete succeeds but if clones exist pgls will show whiteouts and then
    delete will return ENOENT.  We could disable the assert, but why bother
    even attempting a sloppy cleanup?
    
    We need to preserve cleanup behavior for a few tests (notably the object
    listing ones).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    434351b View commit details
    Browse the repository at this point in the history
  23. mon/OSDMonitor: add mon_fake_pool_delete option

    Instead of deleting a pool, add a .NNN.DELETED suffix to the end.  This
    keeps the data around long enough for it to be scrubbed later (in the
    case of a teuthology job cleanup).
    
    If you really want to delete the pool, then instead of the usual force
    flag option you can pass --yes-i-really-really-mean-it-not-faking.  :)
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    c378f14 View commit details
    Browse the repository at this point in the history
  24. ceph_test_rados_api_list: make LibRadosListNP.ListObjectsError delete…

    … pool even if faking
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    d7e6e8d View commit details
    Browse the repository at this point in the history
  25. mon/PGMonitor: do not warn about pgp_num for fake "deleted" pools

    This breaks the upgrade test from jewel.  We can probably revert it later.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    d5f77d3 View commit details
    Browse the repository at this point in the history
  26. qa/suites/rados/thrash: extra cluster create

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    dc39cba View commit details
    Browse the repository at this point in the history
  27. qa/suites/rados/basic: factor out cluster start

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    112e232 View commit details
    Browse the repository at this point in the history
  28. qa/suites/rados/thrash-erasure-code: factor out cluster create

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    6e20af4 View commit details
    Browse the repository at this point in the history
  29. qa/suites/rados/monthrash: simplify

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    c9b93af View commit details
    Browse the repository at this point in the history
  30. qa/suites/rados/verify: refactor thrash and cluster create

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    83dcc98 View commit details
    Browse the repository at this point in the history
  31. qa/suites/rados: switch require-luminous facet to use full_sequential…

    …_finally
    
    This lets us run multiple cleanup steps right before ceph
    teardown.
    
    Note that we drop the facet from multimon/ because it
    doesn't factor out cluster creation before this step
    properly.  That's fine because the require_luminous
    cleanup shouldn't be related to the multimon tests.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    5f5f370 View commit details
    Browse the repository at this point in the history
  32. qa/suites/rados: at end, scrub pgs, verify no legacy snapsets

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    8bd54ab View commit details
    Browse the repository at this point in the history
  33. osd/PrimaryLogPG: allow creation of obc for new head object

    We may be creating the head object to migrate the SnapSet to.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    751de6e View commit details
    Browse the repository at this point in the history
  34. qa/suites/upgarde/jewel-x: add final scrub and legacy snapset check

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    73f8fb9 View commit details
    Browse the repository at this point in the history
  35. osd/PG: debug scrub range

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    7104a4e View commit details
    Browse the repository at this point in the history
  36. Build support for BlkKin (LTTng + Zipkin) tracing

     * Adds --with-blkin to autoconf (default without)
     * Adds BLKIN_LIBS to necessary automake files
     * Adds documentation for testing BlkKin tracing
    
    Signed-off-by: Andrew Shewmaker <agshew@gmail.com>
    Signed-off-by: Marios-Evaggelos Kogias <marioskogias@gmail.com>
    Signed-off-by: Chendi.Xue <chendi.xue@intel.com>
    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    agshew authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    1d3255a View commit details
    Browse the repository at this point in the history
  37. cmake: add module and WITH_BLKIN option for blkin

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    5ec55b9 View commit details
    Browse the repository at this point in the history
  38. blkin: add header and initialization

    zipkin_trace.h is a wrapper around ztracer.hpp, which provides a stub
    implementation when WITH_BLKIN is not defined
    
    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    6862811 View commit details
    Browse the repository at this point in the history
  39. msg: pass Connection to decode_message

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    c8107a3 View commit details
    Browse the repository at this point in the history
  40. blkin: Messenger integration

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    612d15b View commit details
    Browse the repository at this point in the history
  41. blkin: add traces to SimpleMessenger

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    82160fb View commit details
    Browse the repository at this point in the history
  42. blkin: add traces to XioMessenger

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    5cc7c06 View commit details
    Browse the repository at this point in the history
  43. blkin: add traces to AsyncMessenger

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    679f8e6 View commit details
    Browse the repository at this point in the history
  44. blkin: osd op messages carry trace information

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    6159027 View commit details
    Browse the repository at this point in the history
  45. blkin: set up tracing in the OSD

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    a39b8c4 View commit details
    Browse the repository at this point in the history
  46. blkin: set up tracing in PGs

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    bf8772f View commit details
    Browse the repository at this point in the history
  47. blkin: add traces to ReplicatedBackend

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    6586e72 View commit details
    Browse the repository at this point in the history
  48. blkin: add traces to ECBackend

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    7d4af05 View commit details
    Browse the repository at this point in the history
  49. blkin: add traces to FileStore/Journal

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    e0a5b51 View commit details
    Browse the repository at this point in the history
  50. filestore: Initialize Zipkin traces when there is a store trace

    Avoids creating orphaned traces.
    
    Signed-off-by: Victor Araujo <ve.ar91@gmail.com>
    vear91 authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    e3524e6 View commit details
    Browse the repository at this point in the history
  51. blkin: add config variable osd_blkin_trace_all

    when set, Message::decode_trace() will always create a trace for
    incoming messages, even if they didn't pass trace information
    
    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    4516d8b View commit details
    Browse the repository at this point in the history
  52. blkin: add traces to librados and Objecter

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    f453eaf View commit details
    Browse the repository at this point in the history
  53. blkin: add config variable osdc_blkin_trace_all

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    ffdfe69 View commit details
    Browse the repository at this point in the history
  54. cmake: Add blkin libs to target_link_libraries

    Signed-off-by: Victor Araujo <ve.ar91@gmail.com>
    vh4x authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    046b2bd View commit details
    Browse the repository at this point in the history
  55. librados: Overload aio_operate with blkin trace info parameter

    This will enable passing trace information from rbd to librados for
    aio_reads and aio_writes.
    
    Signed-off-by: Victor Araujo <ve.ar91@gmail.com>
    vear91 authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    e0a1532 View commit details
    Browse the repository at this point in the history
  56. src/blkin: add blkin submodule

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    bbe6d24 View commit details
    Browse the repository at this point in the history
  57. cmake: build blkin instead of using find_package

    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    26678e6 View commit details
    Browse the repository at this point in the history
  58. CMakeLists.txt: default WITH_BLKIN=ON

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    bdd6c3f View commit details
    Browse the repository at this point in the history
  59. CMakeLists.txt: fix libcommon link to blkin

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    60baa90 View commit details
    Browse the repository at this point in the history
  60. msg/Message: make {encode,decode}_trace unconditional

    These are protocol features and cannot vary based on our compilation.
    Encode and decode unconditionally.  The callers have already guarded these
    field additions with a message version bump and are conditionally calling
    decode_trace.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    25eb142 View commit details
    Browse the repository at this point in the history
  61. common/zipkin_trace: fix blkin_trace_info encoding

    - encode the same regardless of whether it is compiled in (!)
    - encode in endian- and struct alignment-safe way.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    838dd2a View commit details
    Browse the repository at this point in the history
  62. blkin: drop boost dependency

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    4ea342c View commit details
    Browse the repository at this point in the history
  63. blkin: fix -fPIC option

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    91d270a View commit details
    Browse the repository at this point in the history
  64. blkin: remove installed files

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    90e5290 View commit details
    Browse the repository at this point in the history
  65. blkin: fix cmake compile options

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    32d3119 View commit details
    Browse the repository at this point in the history
  66. blkin: fix test

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    3eb554c View commit details
    Browse the repository at this point in the history
  67. CMakeLists.txt: WITH_BLKIN off for now

    We are unconditionally linking lttng-ust, which make selinux complain. We
    should either
    
     - fix selinux rules and unconditionally link
     - dlopen at runtime based on an option (like we do for the current
       tracepoints)
     - ???
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    b4eab62 View commit details
    Browse the repository at this point in the history
  68. os/bluestore/KernelDevice: remove weird aio_wake from sync read()

    I'm not entirely sure why we were ever signaling the cond here; the read
    is synchronous!
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    5457991 View commit details
    Browse the repository at this point in the history
  69. os/bluestore/BlockDevice: fix racy aio_{wake,wait}() on IOContext

    Thread 1 (_do_read)                 Thread 2 (_aio_thread)
    queues aio
    ioc->aio_wait()
      locks ioc->lock
      num_waiting++
                                        finishes aios
                                        ioc->aio_wake
                                          if (num_waiting)
                                            lock ioc->lock (blocks)
      num_running == 0, continue
      ioc->unlock
                                            ioc->lock taken
    do_read destroys ioc
                                            use after free, may block forever
    
    The last bit of the race may vary; the key thing is that thread 2 is
    taking a lock that thread 1 can destroy; thread 2 doesn't have it pinned
    in memory.
    
    Fix this by simplifying the aio_wake, aio_wait.  Since it is mutually
    exclusive with a callback completion, we can avoid calling it at all when
    a callback in present, and focus on keeping it simple.
    
    Avoid use-after-free by making sure the last decrement happens under
    the lock in the aio_wake/wait case.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    1026593 View commit details
    Browse the repository at this point in the history
  70. os/bluestore: remove useless IOContext::num_reading

    If we are a syncrhonous read, we don't need this: we don't aio_wait for
    sync reads.  If we are an aio_read, we are in the aio_running count anyway,
    and there is also no purpose for this counter.
    
    I'm a bit unsure about the NVME use of this counter; I switched it to use
    num_running (pretty sure we aren't mixing reads and writes on a single
    IOContext) *but* it might make more sense to switch to a private counter.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    e8ab3fd View commit details
    Browse the repository at this point in the history
  71. Merge pull request ceph#14051 from SpandanKumarSahu/bug#17195

    rbd: stop indefinite thread waiting in krbd udev handling
    
    Reviewed-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed May 5, 2017
    Configuration menu
    Copy the full SHA
    128f593 View commit details
    Browse the repository at this point in the history
  72. qa/workunits/rgw/run-s3tests.sh: run s3-tests

    This works out of the box with a vstart environment and
    
     RGW=1 ../src/vstart.sh -n -l
     PATH=bin:$PATH ../qa/workunits/rgw/run-s3tests.sh
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    40fe1d1 View commit details
    Browse the repository at this point in the history
  73. test/encoding/generate-corpus-objects.sh: simplify object corpus popu…

    …lation
    
    Script that generates corpus objects.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    b38b663 View commit details
    Browse the repository at this point in the history
  74. cls/rgw: list_plain_entries() stops before bi_log entries

    list_plain_entries() was using encode_obj_versioned_data_key() to set
    its end_key, which gives a prefix of BI_BUCKET_OBJ_INSTANCE_INDEX[=2]
    
    that range between start_key and end_key would not only span the
    BI_BUCKET_OBJS_INDEX[=0] prefixes, but BI_BUCKET_LOG_INDEX[=1] prefixes
    as well. this can result in list_plain_entries() trying and failing to
    decode a rgw_bi_log_entry as a rgw_bucket_dir_entry
    
    Fixes: http://tracker.ceph.com/issues/19876
    
    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley committed May 5, 2017
    Configuration menu
    Copy the full SHA
    b29a163 View commit details
    Browse the repository at this point in the history
  75. test/encoding/generate-corpus-objects: fix typo

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    b89dff4 View commit details
    Browse the repository at this point in the history
  76. Merge pull request ceph#14981 from cbodley/wip-rgw-bi-list-plain

    cls/rgw: list_plain_entries() stops before bi_log entries
    Reviewed-by: Orit Wasserman <owasserm@redhat.com>
    oritwas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    0c5b2a9 View commit details
    Browse the repository at this point in the history
  77. test/osd/osd-dup.sh: lower wb fd throttle limits

    osd-dup.sh was losing OSDs to EMFILE, mostly on arm64 (not clear why).
    
    Signed-off-by: Dan Mick <dan.mick@redhat.com>
    dmick committed May 5, 2017
    Configuration menu
    Copy the full SHA
    b37d0b4 View commit details
    Browse the repository at this point in the history
  78. ceph-object-corpus: kraken objects

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    0eb0694 View commit details
    Browse the repository at this point in the history
  79. messages/MCommand: fix type on decode

    Wow, this has been broken since v0.38, but apparently
    the message never made it into the object corpus so
    we never noticed!
    
    In reality the bug is harmless: decode_message() will
    set_header which clobbers whatever version the default
    ctor fills in, so this only affects ceph-dencoder's
    test.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    c5a4608 View commit details
    Browse the repository at this point in the history
  80. Merge pull request ceph#14305 from liewegas/wip-zipkin-partial

    osd: zipkin tracing
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    425769f View commit details
    Browse the repository at this point in the history
  81. Merge pull request ceph#14510 from liewegas/wip-bluefs-sync-write

    os/bluestore/BlueFS: add bluefs_sync_write option
    
    Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    7c8a2a1 View commit details
    Browse the repository at this point in the history
  82. Merge pull request ceph#14793 from dmick/wip-prio-and-daemonperf

    ceph: perfcounter priorities and daemonperf updates to use them
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    7f72100 View commit details
    Browse the repository at this point in the history
  83. Merge pull request ceph#14958 from ovh/bp-fix-finisher-warning

    common/Finisher: fix uninitialized variable warning
    common/Finisher: fix uninitialized variable warning
    
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    209a4b8 View commit details
    Browse the repository at this point in the history
  84. Merge pull request ceph#14979 from liewegas/wip-19874

    mon: fix prime_pg_temp overrun
    common/Finisher: fix uninitialized variable warning
    
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    liewegas committed May 5, 2017
    Configuration menu
    Copy the full SHA
    952a7be View commit details
    Browse the repository at this point in the history
  85. qa: improve time handling for test_exports test

    Also catches corner-case found by Zheng where an unjournaled directory will
    cause export pinning to fail because it cannot be made a subtree until its
    parent is stable.
    
    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    batrick committed May 5, 2017
    Configuration menu
    Copy the full SHA
    9552efd View commit details
    Browse the repository at this point in the history
  86. mds: handle export pin on unjournaled directory

    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    batrick committed May 5, 2017
    Configuration menu
    Copy the full SHA
    383d521 View commit details
    Browse the repository at this point in the history
  87. mds: call maybe_export_pin on all fetched dirfrags

    If the dirfrag is pinned to the current mds, it needs to be made into an aux
    subtree.
    
    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    batrick committed May 5, 2017
    Configuration menu
    Copy the full SHA
    048abc3 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2017

  1. msg/async/net_handler: errno should be stored before next calling

    Signed-off-by: Zhou Zhengping <johnzzpcrystal@gmail.com>
    johnzzpcrystal committed May 6, 2017
    Configuration menu
    Copy the full SHA
    1dbcd90 View commit details
    Browse the repository at this point in the history
  2. mds: handle aux subtree when splitting/merging dirfrag

    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel authored and batrick committed May 6, 2017
    Configuration menu
    Copy the full SHA
    26dd9e8 View commit details
    Browse the repository at this point in the history
  3. Merge pull request ceph#14970 from dachary/wip-crush-documentation

    crush: update documentation for negative choose step
    
    Reviewed-by: Loic Dachary <ldachary@redhat.com>
    Loic Dachary committed May 6, 2017
    Configuration menu
    Copy the full SHA
    6152fd9 View commit details
    Browse the repository at this point in the history
  4. mgr: do not use pointers for MgrStandby members

    it's simpler and easier to manage the life cycle of them this way.
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 6, 2017
    Configuration menu
    Copy the full SHA
    260fea0 View commit details
    Browse the repository at this point in the history
  5. mgr: do the shutdown in the right order

    Fixes: http://tracker.ceph.com/issues/19813
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 6, 2017
    Configuration menu
    Copy the full SHA
    2b8961c View commit details
    Browse the repository at this point in the history
  6. mds: check mdsdir against dest

    Introduced by aebc1ca. Found by Zheng.
    
    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    batrick committed May 6, 2017
    Configuration menu
    Copy the full SHA
    0c9c294 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2017

  1. Merge pull request ceph#14968 from TsaiJin/wip-lock-pg-when-scrub-ava…

    …ilable
    
    osd: sched_scrub() lock pg only if all scrubbing conditions are fulfilled
    
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    Reviewed-by: Pan Liu <liupan1111@gmail.com>
    liewegas committed May 8, 2017
    Configuration menu
    Copy the full SHA
    fd61780 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ceph#14919 from tchaikov/wip-19825

    mon: check is_shutdown() in timer callbacks
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    liewegas committed May 8, 2017
    Configuration menu
    Copy the full SHA
    916c5e3 View commit details
    Browse the repository at this point in the history
  3. osd: clean nonused work queue

    it was restructured by 3cc4827
    
    Signed-off-by: Wei Jin <wjin.cn@gmail.com>
    wjin committed May 8, 2017
    Configuration menu
    Copy the full SHA
    27cc945 View commit details
    Browse the repository at this point in the history
  4. Merge pull request ceph#14956 from liewegas/wip-bdev-ioc-lock

    os/bluestore: fix use after free race with aio_wait
    
    Reviewed-by: Haomai Wang <haomai@xsky.com>
    Reviewed-by: Jianpeng Ma <jianpeng@intel.com>
    yuyuyu101 committed May 8, 2017
    Configuration menu
    Copy the full SHA
    867b1d8 View commit details
    Browse the repository at this point in the history
  5. pybind/mgr/rest: completely terminate cherrypy in shutdown

    cherrypy.engine.stop() doesn't actually completely kill cherrypy,
    which means cherrypy.engine.block() never returns, so this module's
    thread never completes cleanly.
    
    Signed-off-by: Tim Serong <tserong@suse.com>
    tserong committed May 8, 2017
    Configuration menu
    Copy the full SHA
    afd9c3a View commit details
    Browse the repository at this point in the history
  6. mon/PGMap.cc: fix "osd_epochs" section of dump_basic

    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed May 8, 2017
    Configuration menu
    Copy the full SHA
    cf06362 View commit details
    Browse the repository at this point in the history
  7. tools (rbd*): migrate atomic_t to std::atomic<>

    Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
    Jesse Williamson committed May 8, 2017
    Configuration menu
    Copy the full SHA
    93621f5 View commit details
    Browse the repository at this point in the history
  8. librbd: migrate atomic_t to std::atomic<>

    Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
    Jesse Williamson committed May 8, 2017
    Configuration menu
    Copy the full SHA
    08c6d5d View commit details
    Browse the repository at this point in the history
  9. rbd_mirror: migrate std::atomic<unsigned> to std::atomic<bool>

    Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
    Jesse Williamson committed May 8, 2017
    Configuration menu
    Copy the full SHA
    40762b8 View commit details
    Browse the repository at this point in the history
  10. doc: Re-word the warnings about using git subtrees.

    Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
    ivancich committed May 8, 2017
    Configuration menu
    Copy the full SHA
    b2d4b48 View commit details
    Browse the repository at this point in the history
  11. Merge pull request ceph#14999 from ivancich/wip-mod-git-subtree-README

    doc: Re-word the warnings about using git subtrees.
    liewegas committed May 8, 2017
    Configuration menu
    Copy the full SHA
    840581e View commit details
    Browse the repository at this point in the history
  12. include/denc: clean up ENCODE_DUMP a bit

    - PATH_MAX for string
    - ENCODE_DUMP -> ENCODE_DUMP_PATH
    - some comments!
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 8, 2017
    Configuration menu
    Copy the full SHA
    439fdbe View commit details
    Browse the repository at this point in the history
  13. Merge pull request ceph#14995 from SUSE/wip-mgr-rest-exit

    pybind/mgr/rest: completely terminate cherrypy in shutdown
    
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 8, 2017
    Configuration menu
    Copy the full SHA
    a4bffab View commit details
    Browse the repository at this point in the history
  14. Merge pull request ceph#14962 from liewegas/wip-denc-dump

    include/denc: support ENCODE_DUMP
    
    Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
    liewegas committed May 8, 2017
    Configuration menu
    Copy the full SHA
    39d5bdf View commit details
    Browse the repository at this point in the history
  15. Merge pull request ceph#14990 from wjin/fix

    osd: clean nonused work queue
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    liewegas committed May 8, 2017
    Configuration menu
    Copy the full SHA
    0b449db View commit details
    Browse the repository at this point in the history
  16. Merge pull request ceph#14925 from fangyuxiangGL/fix_unneccesary_write

    rgw: don't do unneccesary write if buffer with zero length
    mattbenjamin committed May 8, 2017
    Configuration menu
    Copy the full SHA
    7b2cd27 View commit details
    Browse the repository at this point in the history
  17. Merge pull request ceph#14656 from chardan/jfw-wip-halflife_atomic_t-…

    …rodan
    
    rbd, librbd: migrate atomic_t to std::atomic
    
    Reviewed-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed May 8, 2017
    Configuration menu
    Copy the full SHA
    a5c36ce View commit details
    Browse the repository at this point in the history
  18. Merge pull request ceph#14976 from trociny/wip-19871

    rbd-nbd: relax size check for newer kernel versions
    
    Reviewed-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed May 8, 2017
    Configuration menu
    Copy the full SHA
    41dd93d View commit details
    Browse the repository at this point in the history
  19. common: Remove redundant includes

    Fixes: http://tracker.ceph.com/issues/19883 (Partially)
    
    Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
    badone committed May 8, 2017
    Configuration menu
    Copy the full SHA
    766528e View commit details
    Browse the repository at this point in the history

Commits on May 9, 2017

  1. os/bluestore: reorder _deferred_aio_finish

    Remove the OpSequencer from the deferred_queue before
    marking the txc's completed.  This prevents a race with
    _txc_finish trying to reap the completed sequencer that
    is still on the deferred_queue, triggering an assert
    in the intrusive list hook dtor.
    
    Fixes: http://tracker.ceph.com/issues/19880
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    a8c1cf3 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ceph#14907 from ukernel/wip-19820

    ceph-fuse: use user space permission check by default
    ukernel committed May 9, 2017
    Configuration menu
    Copy the full SHA
    69de7bc View commit details
    Browse the repository at this point in the history
  3. Merge pull request ceph#14984 from dmick/wip-osd-dup

    test/osd/osd-dup.sh: lower wb fd throttle limits
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    dmick committed May 9, 2017
    Configuration menu
    Copy the full SHA
    6a70b07 View commit details
    Browse the repository at this point in the history
  4. mds: update export targets even when not active

    Problem caught test_migration_on_shutdown. Migration could not proceed because
    export_targets were not being updated.
    
    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    batrick committed May 9, 2017
    Configuration menu
    Copy the full SHA
    88e6db1 View commit details
    Browse the repository at this point in the history
  5. test/objectstore/: Check put_ref return value

    Signed-off-by: zhanglei <243290414@qq.com>
    ztczll committed May 9, 2017
    Configuration menu
    Copy the full SHA
    c12128a View commit details
    Browse the repository at this point in the history
  6. buffer, osd: add missing crc cache miss perf counter

    This helps tracking if/how effective is the CRC cache in bufferlists.
    
    Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
    branch-predictor committed May 9, 2017
    Configuration menu
    Copy the full SHA
    33afac4 View commit details
    Browse the repository at this point in the history
  7. cmake: do not link messenger tests against libos

    objectstore is not used by these tests.
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 9, 2017
    Configuration menu
    Copy the full SHA
    585546a View commit details
    Browse the repository at this point in the history
  8. mds: properly cleanup export states

    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed May 9, 2017
    Configuration menu
    Copy the full SHA
    6bdd9e7 View commit details
    Browse the repository at this point in the history
  9. mds: fix dir auth calculation in CDir::merge

    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed May 9, 2017
    Configuration menu
    Copy the full SHA
    68adc96 View commit details
    Browse the repository at this point in the history
  10. doc: dev add a note about ccache

    Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
    theanalyst committed May 9, 2017
    Configuration menu
    Copy the full SHA
    1d9558a View commit details
    Browse the repository at this point in the history
  11. osd/PG.cc: unify the call of checking whether lock is held

    Signed-off-by: Jin Cai <caijin.caij@alibaba-inc.com>
    TsaiJin committed May 9, 2017
    Configuration menu
    Copy the full SHA
    c15626c View commit details
    Browse the repository at this point in the history
  12. build/ops: rpm: fix python-Sphinx package name for SUSE

    This commit moves "BuildRequires: python-sphinx" down to the RH/CentOS/Fedora
    distro conditional and adds a "BuildRequires: python-Sphinx" to the SUSE
    conditional.
    
    Signed-off-by: Jan Matejek <jmatejek@suse.com>
    Signed-off-by: Nathan Cutler <ncutler@suse.com>
    smithfarm committed May 9, 2017
    Configuration menu
    Copy the full SHA
    0688f57 View commit details
    Browse the repository at this point in the history
  13. ceph-disk: separate ceph-osd --check-needs-* logs

    It is using the OSD id zero but have nothing to do with OSD zero and
    this is confusing to the user. The log themselves do not need to be kept
    around and are stored in the run directory so that they can be disposed
    of after reboot.
    
    Fixes: http://tracker.ceph.com/issues/19888
    
    Signed-off-by: Loic Dachary <loic@dachary.org>
    ldachary committed May 9, 2017
    Configuration menu
    Copy the full SHA
    c7b3c46 View commit details
    Browse the repository at this point in the history
  14. Merge pull request ceph#14985 from johnzzpcrystal/store_errno

    msg/async/net_handler: errno should be stored before calling next function
    
    Reviewed-by: Haomai Wang <haomai@xsky.com>
    tchaikov committed May 9, 2017
    Configuration menu
    Copy the full SHA
    73340ee View commit details
    Browse the repository at this point in the history
  15. Merge pull request ceph#14886 from badone/wip-async-osd-scrub-sleep

    osd: Implement asynchronous scrub sleep
    
    Reviewed-by: Josh Durgin <jdurgin@redhat.com>
    tchaikov committed May 9, 2017
    Configuration menu
    Copy the full SHA
    1116556 View commit details
    Browse the repository at this point in the history
  16. Merge pull request ceph#14478 from theanalyst/doc/dev/ccache

    doc: dev add a note about ccache
    
    Reviewed-by: Nathan Cutler <ncutler@suse.com>
    Reviewed-by: Loic Dachary <ldachary@redhat.com>
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 9, 2017
    Configuration menu
    Copy the full SHA
    a0ee9e6 View commit details
    Browse the repository at this point in the history
  17. Merge pull request ceph#14952 from tchaikov/wip-19813

    mgr: do the shutdown in the right order
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    7a4dfe8 View commit details
    Browse the repository at this point in the history
  18. Merge pull request ceph#15015 from smithfarm/wip-sphinx

    build/ops: rpm: fix python-Sphinx package name for SUSE
    
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
    smithfarm committed May 9, 2017
    Configuration menu
    Copy the full SHA
    46d52c5 View commit details
    Browse the repository at this point in the history
  19. common/bit_vector: utilize deep-copy during data decode

    BlueStore utilizes an in-memory cache of bufferlists. If the bit vector
    directly manipulates the shallow-copied bufferlist, it can corrupt
    the CRC.
    
    Fixes: http://tracker.ceph.com/issues/19863
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed May 9, 2017
    Configuration menu
    Copy the full SHA
    58b6520 View commit details
    Browse the repository at this point in the history
  20. osd/OSDMap: get_min_compat_client()

    Calculate the oldest client we allow to connect.  Provide both a release
    name (e.g., firefly) and a version string (e.g., "0.80").
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    e02a8e2 View commit details
    Browse the repository at this point in the history
  21. osd/OSDmap: add require_min_compat_client field

    This is a persistent record of the compatibility for old clients that
    we will enforce.  Once set, the mon will eventually prevent newer features
    of the OSDMap or CRUSH maps from being used if they violate this
    requirement.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    a1c6646 View commit details
    Browse the repository at this point in the history
  22. mon/OSDMonitor: default require_min_compat_client to hammer for new c…

    …lusters
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    481411e View commit details
    Browse the repository at this point in the history
  23. crush: move default tunables up to hammer

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    38c756d View commit details
    Browse the repository at this point in the history
  24. mon/OSDMonitor: set OSDMap require_min_compat_client on upgrade

    Fill in this field once require_luminous is set.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    c025323 View commit details
    Browse the repository at this point in the history
  25. mon/OSDMonitor: switch primary-{affinity,temp} checks to require_min_…

    …compat_client
    
    If require_min_compat_client is set (we've finished luminous upgrade), use
    that to enforce primary_temp and primary_affinity settings.  Otherwise,
    use the legacy config option.
    
    Drop the assert in update_from_paxos.
    
    After luminous we can remove the config options entirely.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    f3fa3c0 View commit details
    Browse the repository at this point in the history
  26. mon/OSDMonitor: drop allow_pg_upmap option; use require_min_compat_cl…

    …ient instead
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    7c35fd0 View commit details
    Browse the repository at this point in the history
  27. mon/OSDMonitor: prevent injection of crush map violating require_min_…

    …compat_client
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    5274db8 View commit details
    Browse the repository at this point in the history
  28. include/ceph_features: rename OSDMAP_REMAP -> OSDMAP_PG_UPMAP

    Missed this with the remap -> upmap rename a few weeks back.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    9fccc7a View commit details
    Browse the repository at this point in the history
  29. crush/CrushWrapper: has_[incompat_]chooseargs()

    We'll use this for feature bit compat checks with clients and osds.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    04b9e9f View commit details
    Browse the repository at this point in the history
  30. osd/OSDMap: add CRUSH_CHOOSEARGS feature bit

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    ef1ef28 View commit details
    Browse the repository at this point in the history
  31. qa/suites: set initial require_min_compat_client

    For cases where we are selecting crush tunables beyond the default
    min of hammer.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    1de9c90 View commit details
    Browse the repository at this point in the history
  32. qa/releases/luminous: set require_min_compat_client after upgrade

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    a17e320 View commit details
    Browse the repository at this point in the history
  33. mon/OSDMonitor: 'osd set-require-min-compat-client ...'

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    f08de01 View commit details
    Browse the repository at this point in the history
  34. test/cli: fix cli tests

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    48648c4 View commit details
    Browse the repository at this point in the history
  35. Merge pull request ceph#14959 from liewegas/wip-crush-compat

    mon,osd: add require_min_compat_client setting to enforce and clarify client compatibility
    
    Reviewed-by: Loic Dachary <ldachary@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    623c04e View commit details
    Browse the repository at this point in the history
  36. Merge pull request ceph#14854 from ceph/wip-reduce-smoke

    qa/suites: Reduce fs combination tests for smoke, use bluestore
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    liewegas committed May 9, 2017
    Configuration menu
    Copy the full SHA
    bfcd2ff View commit details
    Browse the repository at this point in the history

Commits on May 10, 2017

  1. pybind: fix open flags calculation

    (O_WRONLY | O_RDWR) is invaild open flags
    
    Fixes: http://tracker.ceph.com/issues/19890
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed May 10, 2017
    Configuration menu
    Copy the full SHA
    2c25c99 View commit details
    Browse the repository at this point in the history
  2. test/messenger/simple*: throw when fails to malloc

    silences the warning of "Null pointer passed as an argument to a
    'nonnull' parameter" from clang analyzer.
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 10, 2017
    Configuration menu
    Copy the full SHA
    f314bce View commit details
    Browse the repository at this point in the history
  3. libradosstriper: do not assign garbage to returned value

    if `rc` is not zero, the returned `ssize` is either garbage or
    undefined. this silences warning from clang analyzer:
    
    Assigned value is garbage or undefined
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 10, 2017
    Configuration menu
    Copy the full SHA
    8bbafd2 View commit details
    Browse the repository at this point in the history
  4. rgw: when create_bucket use the same num_shards with info.num_shards

    pr ceph#14388 only fix the num_shards in BucketInfo, "init_bucket_index" function still use local num_shards
    
    Fixes: http://tracker.ceph.com/issues/19745
    
    Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
    lu.shasha committed May 10, 2017
    Configuration menu
    Copy the full SHA
    4ce64a1 View commit details
    Browse the repository at this point in the history
  5. Merge pull request ceph#15016 from dachary/wip-19888-ceph-disk

    ceph-disk: separate ceph-osd --check-needs-* logs
    
    Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
    Loic Dachary committed May 10, 2017
    Configuration menu
    Copy the full SHA
    acccedd View commit details
    Browse the repository at this point in the history
  6. qa/suites/fs: reserve more space for mds in full tests

    Fixes: http://tracker.ceph.com/issues/19891
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed May 10, 2017
    Configuration menu
    Copy the full SHA
    9778b81 View commit details
    Browse the repository at this point in the history
  7. os/bluestore: pre-calculate number of ghost buffers to evict

    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed May 10, 2017
    Configuration menu
    Copy the full SHA
    27e546a View commit details
    Browse the repository at this point in the history
  8. tools: change compare_exchange_weak to compare_exchange_strong

    On non x86 platforms without a dedicated compare-exchange instruction, std::compare_exchange_weak()
    could fail.
    
    Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
    Jesse Williamson committed May 10, 2017
    Configuration menu
    Copy the full SHA
    e573245 View commit details
    Browse the repository at this point in the history
  9. librbd: cleanup logging code under librbd/io

    Signed-off-by: runsisi <runsisi@zte.com.cn>
    runsisi authored and runsisi committed May 10, 2017
    Configuration menu
    Copy the full SHA
    0bb7402 View commit details
    Browse the repository at this point in the history
  10. Merge pull request ceph#14937 from SpandanKumarSahu/bug#17453

    mgr: remove non-existent MDS daemons from FSMap
    
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    Reviewed-by: Sage Weil <sage@redhat.com>
    liewegas committed May 10, 2017
    Configuration menu
    Copy the full SHA
    9af1a1e View commit details
    Browse the repository at this point in the history
  11. Merge pull request ceph#15013 from TsaiJin/wip-pg-lock-cleanup

    osd/PG.cc: unify the call of checking whether lock is held
    
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    liewegas committed May 10, 2017
    Configuration menu
    Copy the full SHA
    1fc5690 View commit details
    Browse the repository at this point in the history
  12. Merge pull request ceph#15003 from badone/wip-redundant-headers

    common: Remove redundant includes
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    liewegas committed May 10, 2017
    Configuration menu
    Copy the full SHA
    696f061 View commit details
    Browse the repository at this point in the history
  13. Merge pull request ceph#14996 from xiexingguo/wip-fix-dump_basic

    mon/PGMap.cc: fix "osd_epochs" section of dump_basic
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    liewegas committed May 10, 2017
    Configuration menu
    Copy the full SHA
    58f20ff View commit details
    Browse the repository at this point in the history
  14. Merge pull request ceph#14957 from ovh/bp-crc-cache-miss-counter

    buffer, osd: add missing crc cache miss perf counter
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    liewegas committed May 10, 2017
    Configuration menu
    Copy the full SHA
    99aeb52 View commit details
    Browse the repository at this point in the history
  15. Merge pull request ceph#14911 from ovh/bp-small-enc-eradication

    os/bluestore: use denc for varint encoding
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    liewegas committed May 10, 2017
    Configuration menu
    Copy the full SHA
    511e866 View commit details
    Browse the repository at this point in the history
  16. Merge pull request ceph#14905 from johnzzpcrystal/aio

    test/fsx:  Remove the dead code associated with aio backend
    
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    liewegas committed May 10, 2017
    Configuration menu
    Copy the full SHA
    bd71ca3 View commit details
    Browse the repository at this point in the history
  17. Merge pull request ceph#14975 from runsisi/wip-io-logging

    librbd: cleanup logging code under librbd/io
    
    Reviewed-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed May 10, 2017
    Configuration menu
    Copy the full SHA
    fd0fdcf View commit details
    Browse the repository at this point in the history
  18. Merge pull request ceph#15030 from chardan/jfw-wip-halflife_atomic_t-…

    …fix-compare_exchange_weak
    
    tools: change compare_exchange_weak to compare_exchange_strong
    
    Reviewed-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed May 10, 2017
    Configuration menu
    Copy the full SHA
    2a616dd View commit details
    Browse the repository at this point in the history
  19. qa: turn off spurious standby health warning

    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    batrick committed May 10, 2017
    Configuration menu
    Copy the full SHA
    a4cb109 View commit details
    Browse the repository at this point in the history
  20. qa: add health warning test for insufficient standbys

    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    batrick committed May 10, 2017
    Configuration menu
    Copy the full SHA
    02c41f6 View commit details
    Browse the repository at this point in the history
  21. cmake: use cmake module to detect endianness

    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 10, 2017
    Configuration menu
    Copy the full SHA
    e0347b3 View commit details
    Browse the repository at this point in the history
  22. common/sctp_crc32: include acconfig.h for the detecting endianness

    so byteorder.h can be a pure c++ header.
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 10, 2017
    Configuration menu
    Copy the full SHA
    833705e View commit details
    Browse the repository at this point in the history
  23. byteorder: remove the cruft to detect endianness

    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 10, 2017
    Configuration menu
    Copy the full SHA
    ba2a94c View commit details
    Browse the repository at this point in the history
  24. radosstriper: do not use GCC extension to initialize struct members

    it's obsolete since GCC 2.5 and is not portable. see
    https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 10, 2017
    Configuration menu
    Copy the full SHA
    c44cdc2 View commit details
    Browse the repository at this point in the history
  25. byteorder: use gcc intrinsics for byteswap

    * use gcc intrinsics for byteswap
    * use template to wrap them.
    * add the modeline for emacs/vim
    * update the caller of the mswab/swab accordingly
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 10, 2017
    Configuration menu
    Copy the full SHA
    b7a194e View commit details
    Browse the repository at this point in the history
  26. byteorder: refactor ceph_le{16,32,64} using template

    to improve the readablity and easier for debugging.
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 10, 2017
    Configuration menu
    Copy the full SHA
    5e3f837 View commit details
    Browse the repository at this point in the history
  27. mds: delay export until dir is stable

    This catches an assertion failure due to exports on unjournaled directories:
    
        2017-05-10 12:45:18.193640 7eff65a04700  7 mds.0.migrator export_dir [dir 10000000003 /a/ [2,head] auth pv=3 v=1 cv=0/0 ap=1+2+2 state=1073742082|complete f()->f(v0 m2017-05-10 12:45:14.977151 1=0+1) n()->n(v0 rc2017-05-10 12:45:14.977151 1=0+1) hs=0+1,ss=0+0 | child=1 authpin=1 0x55ef655de000] to 1
        2017-05-10 12:45:18.193654 7eff65a04700 15 mds.0.18 hit export target 10 @ 2017-05-10 12:45:18.193653
        2017-05-10 12:45:18.193661 7eff65a04700 10 mds.0.cache.dir(10000000003) auth_pin by 0x55ef650cc130 on [dir 10000000003 /a/ [2,head] auth pv=3 v=1 cv=0/0 ap=2+2+2 state=1073742082|complete f()->f(v0 m2017-05-10 12:45:14.977151 1=0+1) n()->n(v0 rc2017-05-10 12:45:14.977151 1=0+1) hs=0+1,ss=0+0 | child=1 authpin=1 0x55ef655de000] count now 2 + 2
        2017-05-10 12:45:18.193701 7eff65a04700  7 mds.0.cache request_start_internal request(mds.0:4) op 5377
        2017-05-10 12:45:18.193708 7eff65a04700  7 mds.0.migrator dispatch_export_dir request(mds.0:4)
        2017-05-10 12:45:18.198281 7eff66205700 20 mgrc operator() 234 counters, of which 0 new
        2017-05-10 12:45:18.198294 7eff66205700 20 mgrc send_report encoded 2006 bytes
        2017-05-10 12:45:18.198298 7eff66205700  1 -- 127.0.0.1:6825/693985647 --> 127.0.0.1:6826/1025 -- mgrreport(+0-0 packed 2006) v2 -- 0x55ef655abe00 con 0
        2017-05-10 12:45:18.198364 7eff6a9ab700 10 _calc_signature seq 14 front_crc_ = 2388339344 middle_crc = 0 data_crc = 0 sig = 5026349537430007662
        2017-05-10 12:45:18.198376 7eff6a9ab700 20 Putting signature in client message(seq # 14): sig = 5026349537430007662
        2017-05-10 12:45:18.198411 7eff65a04700 -1 /home/pdonnell/ceph/src/mds/MDCache.cc: In function 'void MDCache::make_trace(std::vector<CDentry*>&, CInode*)' thread 7eff65a04700 time 2017-05-10 12:45:18.194136
        /home/pdonnell/ceph/src/mds/MDCache.cc: 8225: FAILED assert(parent)
    
         ceph version 12.0.1-2198-ge757c02 (e757c025fa3270b12fb2fca17cf159fa1bd72747)
         1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x55ef5b780f02]
         2: (MDCache::make_trace(std::vector<CDentry*, std::allocator<CDentry*> >&, CInode*)+0x1cb) [0x55ef5b4fa12b]
         3: (Migrator::get_export_lock_set(CDir*, std::set<SimpleLock*, std::less<SimpleLock*>, std::allocator<SimpleLock*> >&)+0x55) [0x55ef5b5e8215]
         4: (Migrator::dispatch_export_dir(boost::intrusive_ptr<MDRequestImpl>&, int)+0xa74) [0x55ef5b5f72d4]
         5: (Migrator::export_dir(CDir*, int)+0x9ca) [0x55ef5b5ea75a]
         6: (MDBalancer::handle_export_pins()+0x7b4) [0x55ef5b61ab24]
         7: (MDBalancer::tick()+0x1e8) [0x55ef5b61b748]
         8: (MDSRankDispatcher::tick()+0x5f1) [0x55ef5b44bdb1]
         9: (Context::complete(int)+0x9) [0x55ef5b43bcc9]
         10: (SafeTimer::timer_thread()+0x452) [0x55ef5b77dd52]
         11: (SafeTimerThread::entry()+0xd) [0x55ef5b77f15d]
         12: (()+0x76ba) [0x7eff6d4bb6ba]
         13: (clone()+0x6d) [0x7eff6c52782d]
    
    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    batrick committed May 10, 2017
    Configuration menu
    Copy the full SHA
    b6ba30b View commit details
    Browse the repository at this point in the history

Commits on May 11, 2017

  1. common: Remove redundant includes

    Fixes: http://tracker.ceph.com/issues/19883 (Partially)
    
    Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
    badone committed May 11, 2017
    Configuration menu
    Copy the full SHA
    2f3cd60 View commit details
    Browse the repository at this point in the history
  2. qa/suites/fs: fix write size calculation in full tests

    'max_avail' has already taken full_ratio into account
    
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed May 11, 2017
    Configuration menu
    Copy the full SHA
    bbb3369 View commit details
    Browse the repository at this point in the history
  3. client: fix UserPerm::gid_in_group()

    Fixes: http://tracker.ceph.com/issues/19903
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed May 11, 2017
    Configuration menu
    Copy the full SHA
    3977c30 View commit details
    Browse the repository at this point in the history
  4. Merge pull request ceph#14598 from batrick/mds-balancer-pin

    mds: support export pinning on directories
    ukernel committed May 11, 2017
    Configuration menu
    Copy the full SHA
    b67a599 View commit details
    Browse the repository at this point in the history
  5. osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting)

    when a callback is called, it could be facing a PG already shut down by
    OSD. but if that callback wants to shut that PG down. it should check
    the PG's status first.
    
    Fixes: http://tracker.ceph.com/issues/19902
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 11, 2017
    Configuration menu
    Copy the full SHA
    f3c44a0 View commit details
    Browse the repository at this point in the history
  6. Merge pull request ceph#14921 from batrick/ptrwaiter-balance

    mds: relocate PTRWAITER put near get
    ukernel committed May 11, 2017
    Configuration menu
    Copy the full SHA
    80b7672 View commit details
    Browse the repository at this point in the history
  7. mds: fix use-after-free in Locker::file_update_finish()

    The capability may have already been freed when executing
    Locker::file_update_finish()
    
    Fixes: http://tracker.ceph.com/issues/19828
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed May 11, 2017
    Configuration menu
    Copy the full SHA
    9f751d6 View commit details
    Browse the repository at this point in the history
  8. Merge pull request ceph#14704 from batrick/i19589

    mds: fix mantle script to not fail for last rank
    
    Reviewed-by: Michael Sevilla <mikesevilla3@gmail.com>
    John Spray committed May 11, 2017
    Configuration menu
    Copy the full SHA
    1b1fc05 View commit details
    Browse the repository at this point in the history
  9. Merge pull request ceph#14743 from ukernel/wip-19635

    mds: issue new caps when sending reply to client
    
    Reviewed-by: John Spray <john.spray@redhat.com>
    John Spray committed May 11, 2017
    Configuration menu
    Copy the full SHA
    745902a View commit details
    Browse the repository at this point in the history
  10. osd/OSDMap: bump encoding version for require_min_compat_client

    Otherwise, OSDMap::decode() throws expcetion when decoding old
    version osdmap
    
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed May 11, 2017
    Configuration menu
    Copy the full SHA
    4a09e94 View commit details
    Browse the repository at this point in the history
  11. osd/PrimaryLogPG: drop parameter count_bytes for write_update_size_an…

    …d_usage
    
    Signed-off-by: runsisi <runsisi@zte.com.cn>
    runsisi committed May 11, 2017
    Configuration menu
    Copy the full SHA
    bb6d2de View commit details
    Browse the repository at this point in the history
  12. osd/PrimayLogPG: update modified range to include the whole object si…

    …ze for write_full op
    
    Signed-off-by: runsisi <runsisi@zte.com.cn>
    runsisi committed May 11, 2017
    Configuration menu
    Copy the full SHA
    1fdc927 View commit details
    Browse the repository at this point in the history
  13. test/fio_ceph_objectstore: fix fio plugin build failure by engine_data

    The commit in fio axboe/fio@710bf9c
    changed engine_data to a union which leads build of fio_ceph_objectstore failed.
    
    Signed-off-by: Lisa Li xiaoyan.li@intel.com
    lixiaoy1 committed May 11, 2017
    Configuration menu
    Copy the full SHA
    2c91e91 View commit details
    Browse the repository at this point in the history
  14. mds: use debug_mds for most subsys

    DOUT_COND was obsoleted by f41887e.
    
    Balancer and Mantle use a dout hack to continue working since we will probably
    specifically want very verbose balancer output in the future.
    
    Fixes: http://tracker.ceph.com/issues/19734
    
    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    batrick committed May 11, 2017
    Configuration menu
    Copy the full SHA
    bdf1a7a View commit details
    Browse the repository at this point in the history
  15. Merge pull request ceph#15017 from dillaman/wip-19863

    common/bit_vector: utilize deep-copy during data decode
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    liewegas committed May 11, 2017
    Configuration menu
    Copy the full SHA
    381f465 View commit details
    Browse the repository at this point in the history
  16. Merge pull request ceph#15010 from shashalu/fix-bucket-create

    rgw: when create_bucket use the same num_shards with info.num_shards
    
    Reviewed-by: Casey Bodley <cbodley@redhat.com>
    cbodley committed May 11, 2017
    Configuration menu
    Copy the full SHA
    84fb0cd View commit details
    Browse the repository at this point in the history
  17. Merge pull request ceph#14906 from mikulely/lc-cleanup-2

    rgw: cleanup lc continuation
    
    Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
    cbodley committed May 11, 2017
    Configuration menu
    Copy the full SHA
    9fbea01 View commit details
    Browse the repository at this point in the history
  18. Merge pull request ceph#14411 from mikulely/rgw-cleanup-rados

    rgw: rgw_rados drop deprecated global var
    
    Reviewed-by: Casey Bodley <cbodley@redhat.com>
    cbodley committed May 11, 2017
    Configuration menu
    Copy the full SHA
    6e8d337 View commit details
    Browse the repository at this point in the history
  19. Merge pull request ceph#10260 from weiqiaomiao/wqm-wip-clean-opstate

    rgw: clean unuse code in cls_statelog_check_state
    
    Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
    Reviewed-by: Casey Bodley <cbodley@redhat.com>
    cbodley committed May 11, 2017
    Configuration menu
    Copy the full SHA
    74ddaa5 View commit details
    Browse the repository at this point in the history
  20. osd/OSDMap: fix feature commit comment

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed May 11, 2017
    Configuration menu
    Copy the full SHA
    44ad0ac View commit details
    Browse the repository at this point in the history
  21. Merge pull request ceph#15056 from liewegas/wip-fix-osdmap-comment

    osd/OSDMap: fix feature commit comment
    liewegas committed May 11, 2017
    Configuration menu
    Copy the full SHA
    bc6e9a3 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2017

  1. Merge pull request ceph#13610 from liewegas/wip-snapset

    osd: eliminate snapdir objects and move clone snaps vector into SnapSet
    
    Reviewed-by: Josh Durgin <jdurgin@redhat.com>
    liewegas committed May 12, 2017
    Configuration menu
    Copy the full SHA
    d0a73ec View commit details
    Browse the repository at this point in the history
  2. pybind: fix cephfs.OSError initialization

    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "cephfs.pyx", line 672, in cephfs.LibCephFS.open (/home/zhyan/Ceph/ceph-2/build/src/pybind/cephfs/pyrex/cephfs.c:10160)
      File "cephfs.pyx", line 155, in cephfs.OSError.__init__ (/home/zhyan/Ceph/ceph-2/build/src/pybind/cephfs/pyrex/cephfs.c:1889)
    TypeError: __init__() takes exactly 3 positional arguments (2 given)
    
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed May 12, 2017
    Configuration menu
    Copy the full SHA
    e6493f6 View commit details
    Browse the repository at this point in the history
  3. test/common: Check block_device_model return value

    Signed-off-by: zhanglei <243290414@qq.com>
    ztczll committed May 12, 2017
    Configuration menu
    Copy the full SHA
    fc9fa8a View commit details
    Browse the repository at this point in the history
  4. Merge pull request ceph#14940 from ceph/wip-radosgw-admin-package-move

    debian/rpm: move radosgw-admin to ceph-common
    
    Reviewed-by: Boris Ranto <branto@redhat.com>
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 12, 2017
    Configuration menu
    Copy the full SHA
    05e2528 View commit details
    Browse the repository at this point in the history
  5. Merge pull request ceph#15009 from tchaikov/wip-kill-warnings

    libradosstriper: do not assign garbage to returned value
    
    Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
    tchaikov committed May 12, 2017
    Configuration menu
    Copy the full SHA
    a4d4a9b View commit details
    Browse the repository at this point in the history
  6. Merge pull request ceph#15040 from tchaikov/wip-19902

    osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting)
    
    Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
    Reviewed-by: Sage Weil <sage@redhat.com>
    tchaikov committed May 12, 2017
    Configuration menu
    Copy the full SHA
    e08283a View commit details
    Browse the repository at this point in the history
  7. Merge pull request ceph#15019 from badone/wip-redundant-headers-2

    common: Remove redundant includes
    
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 12, 2017
    Configuration menu
    Copy the full SHA
    5a32cd3 View commit details
    Browse the repository at this point in the history
  8. Merge pull request ceph#15012 from tchaikov/wip-byteswap

    byteorder: use gcc intrinsics for byteswap
    
    Reviewed-by: Jason Dillaman <dillaman@redhat.com>
    Reviewed-by: Casey Bodley <cbodley@redhat.com>
    Reviewed-by: Sage Weil <sage@redhat.com>
    tchaikov committed May 12, 2017
    Configuration menu
    Copy the full SHA
    6fbcac4 View commit details
    Browse the repository at this point in the history
  9. Merge pull request ceph#15029 from xiexingguo/wip-bluestore-20170510

    os/bluestore: pre-calculate number of ghost buffers to evict
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    tchaikov committed May 12, 2017
    Configuration menu
    Copy the full SHA
    c826222 View commit details
    Browse the repository at this point in the history
  10. Merge pull request ceph#15004 from liewegas/wip-19880

    os/bluestore: fix deferred write race
    
    Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
    tchaikov committed May 12, 2017
    Configuration menu
    Copy the full SHA
    cf8b54a View commit details
    Browse the repository at this point in the history
  11. Merge pull request ceph#13111 from cbodley/wip-rgw-mdlog-trim

    rgw multisite: automated mdlog trimming
    
    Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
    yehudasa committed May 12, 2017
    Configuration menu
    Copy the full SHA
    404cee7 View commit details
    Browse the repository at this point in the history
  12. rbd-mirror: resolve admin socket path names collision

    If global admin_socket parameter is set, for PoolReplayer admin
    sockets generate and use unique paths in $run_dir. Provide the socket
    paths in output of PoolReplayer's "rbd mirror status" admin socket
    command.
    
    A possible use case:
    
    1) run "rbd mirror status $pool_replayer" command using global admin
       socket (known from configuration) and obtain socket paths for the
       PoolReplayer local and remote context sockets.
    2) Use these paths to run commands provides by the contexts.
    
    Fixes: http://tracker.ceph.com/issues/19907
    Signed-off-by: Mykola Golub <mgolub@mirantis.com>
    Mykola Golub committed May 12, 2017
    Configuration menu
    Copy the full SHA
    cd71ffc View commit details
    Browse the repository at this point in the history

Commits on May 14, 2017

  1. mailmap: Weibing Zhang mailmap affiliation

    Signed-off-by: Weibing Zhang <atheism.zhang@gmail.com>
    atheism committed May 14, 2017
    Configuration menu
    Copy the full SHA
    1624b06 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2017

  1. Merge pull request ceph#15046 from ukernel/wip-osdmap-encode

    osd/OSDMap: bump encoding version for require_min_compat_client
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    liewegas committed May 15, 2017
    Configuration menu
    Copy the full SHA
    d53127a View commit details
    Browse the repository at this point in the history
  2. Merge pull request ceph#15021 from runsisi/wip-fix-writefull

    osd/PrimayLogPG: update modified range to include the whole object size for write_full op
    
    Reviewed-by: Sage Weil <sage@redhat.com>
    liewegas committed May 15, 2017
    Configuration menu
    Copy the full SHA
    a869c9a View commit details
    Browse the repository at this point in the history
  3. Merge pull request ceph#15007 from ztczll/master

    test/objectstore/: Check put_ref return value
    
    Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
    liewegas committed May 15, 2017
    Configuration menu
    Copy the full SHA
    ade9fec View commit details
    Browse the repository at this point in the history
  4. Merge pull request ceph#15076 from atheism/atheism-mailmap

    mailmap: Weibing Zhang mailmap affiliation
    liewegas committed May 15, 2017
    Configuration menu
    Copy the full SHA
    3e138f8 View commit details
    Browse the repository at this point in the history
  5. mailmap:ztczll affiliation

    Signed-off-by: zhanglei <243290414@qq.com>
    ztczll committed May 15, 2017
    Configuration menu
    Copy the full SHA
    c003d90 View commit details
    Browse the repository at this point in the history
  6. Merge pull request ceph#15044 from lixiaoy1/master

    test/fio_ceph_objectstore: fix fio plugin build failure by engine_data
    
    Reviewed-by: Casey Bodley <cbodley@redhat.com>
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 15, 2017
    Configuration menu
    Copy the full SHA
    43a5582 View commit details
    Browse the repository at this point in the history
  7. fio: update README.md so only the fio ceph engine is built

    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 15, 2017
    Configuration menu
    Copy the full SHA
    1a0a89d View commit details
    Browse the repository at this point in the history
  8. Merge pull request ceph#14978 from cernceph/dvanders_quota

    client: client_quota no longer optional
    
    Reviewed-by: John Spray <john.spray@redhat.com>
    John Spray committed May 15, 2017
    Configuration menu
    Copy the full SHA
    0f250a8 View commit details
    Browse the repository at this point in the history
  9. Merge pull request ceph#14991 from ukernel/wip-19828

    mds: fix use-after-free in Locker::file_update_finish()
    
    Reviewed-by: John Spray <john.spray@redhat.com>
    John Spray committed May 15, 2017
    Configuration menu
    Copy the full SHA
    d63962f View commit details
    Browse the repository at this point in the history
  10. Merge pull request ceph#15035 from batrick/quiet-mds-grow-shrink

    qa: silence spurious insufficient standby health warnings
    
    Reviewed-by: Yan, Zheng <zyan@redhat.com>
    John Spray committed May 15, 2017
    Configuration menu
    Copy the full SHA
    897b5f5 View commit details
    Browse the repository at this point in the history
  11. Merge pull request ceph#15039 from ukernel/wip-19903

    client: fix UserPerm::gid_in_group()
    
    Reviewed-by: John Spray <john.spray@redhat.com>
    John Spray committed May 15, 2017
    Configuration menu
    Copy the full SHA
    a1e51df View commit details
    Browse the repository at this point in the history
  12. Merge pull request ceph#15026 from ukernel/wip-19891

    qa/suites/fs: reserve more space for mds in full tests
    
    Reviewed-by: John Spray <john.spray@redhat.com>
    John Spray committed May 15, 2017
    Configuration menu
    Copy the full SHA
    17f669a View commit details
    Browse the repository at this point in the history
  13. Merge pull request ceph#15048 from trociny/wip-19907

    rbd-mirror: resolve admin socket path names collision
    
    Reviewed-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed May 15, 2017
    Configuration menu
    Copy the full SHA
    6b86362 View commit details
    Browse the repository at this point in the history
  14. Merge pull request ceph#15081 from tchaikov/wip-fio-readme

    fio: update README.md so only the fio ceph engine is built
    
    Reviewed-by: Casey Bodley <cbodley@redhat.com>
    cbodley committed May 15, 2017
    Configuration menu
    Copy the full SHA
    bd58423 View commit details
    Browse the repository at this point in the history
  15. Merge pull request ceph#15079 from ztczll/master

    mailmap: ztczll affiliation
    
    Reviewed-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 15, 2017
    Configuration menu
    Copy the full SHA
    6db74cf View commit details
    Browse the repository at this point in the history
  16. mds: add perf counters for file system operations

    Shows the types of operations that clients are doing by adding counters to the
    spot where the MDS responds to clients. This avoids counting operations that
    were restarted while waiting for locks or for metadata to load.  Does not
    support per-client activity. This is the first step towards comprehensive
    performance tracking in the file system.
    
    Signed-off-by: Michael Sevilla <mikesevilla3@gmail.com>
    michaelsevilla committed May 15, 2017
    Configuration menu
    Copy the full SHA
    6de3e18 View commit details
    Browse the repository at this point in the history
  17. Merge pull request ceph#15091 from ceph/luminous

    merge v12.0.2 release tag
    liewegas committed May 15, 2017
    Configuration menu
    Copy the full SHA
    880dde8 View commit details
    Browse the repository at this point in the history
  18. qa/cephfs: Fix for test_data_scan

    Don't assume that test_data_scan will be run on exactly 2 MDS nodes.
    
    Fixes: http://tracker.ceph.com/issues/19893
    Signed-off-by: Douglas Fuller <dfuller@redhat.com>
    Douglas Fuller committed May 15, 2017
    Configuration menu
    Copy the full SHA
    7f659e1 View commit details
    Browse the repository at this point in the history
  19. Merge pull request ceph#15052 from batrick/i19734

    mds: use debug_mds for most subsys
    
    Reviewed-by: John Spray <john.spray@redhat.com>
    John Spray committed May 15, 2017
    Configuration menu
    Copy the full SHA
    6f1bf0d View commit details
    Browse the repository at this point in the history

Commits on May 16, 2017

  1. Merge pull request ceph#14769 from ukernel/wip-19755

    osdc/Filer: truncate large file party by party
    
    Reviewed-by: John Spray <john.spray@redhat.com>
    John Spray committed May 16, 2017
    Configuration menu
    Copy the full SHA
    ea4a165 View commit details
    Browse the repository at this point in the history
  2. Merge pull request ceph#15018 from ukernel/wip-19890

    pybind: fix open flags calculation
    
    Reviewed-by: John Spray <john.spray@redhat.com>
    John Spray committed May 16, 2017
    Configuration menu
    Copy the full SHA
    5efad43 View commit details
    Browse the repository at this point in the history
  3. Merge pull request ceph#14938 from michaelsevilla/f19362

    mds: add perf counters for file system operations
    
    Reviewed-by: John Spray <john.spray@redhat.com>
    John Spray committed May 16, 2017
    Configuration menu
    Copy the full SHA
    71e3a85 View commit details
    Browse the repository at this point in the history
  4. Merge pull request ceph#15094 from fullerdj/wip-djf-19893

    qa/cephfs: Fix for test_data_scan
    
    Reviewed-by: John Spray <john.spray@redhat.com>
    John Spray committed May 16, 2017
    Configuration menu
    Copy the full SHA
    3155335 View commit details
    Browse the repository at this point in the history
  5. 12.0.3

    Jenkins Build Slave User committed May 16, 2017
    Configuration menu
    Copy the full SHA
    f2337d1 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2017

  1. osd/PG: Add two new mClock implementations of the PG sharded operator…

    … queue
    
    Create an mClock priority queue, which can in turn be used for two new
    implementations of the PG shards operator queue. The first
    (mClockOpClassQueue) prioritizes operations based on which class they
    belong to (recovery, scrub, snaptrim, client op, osd subop). The
    second (mClockClientQueue) also incorporates the client identifier, in
    order to promote fairness between clients.
    
    In addition, also remove OpQueue's remove_by_filter and all possible
    associated subclass implementations and tests.
    
    Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
    ivancich committed May 22, 2017
    Configuration menu
    Copy the full SHA
    319f1f2 View commit details
    Browse the repository at this point in the history
  2. Squashed 'src/dmclock/' changes from d6586d7..a26d29e

    a26d29e Modify cmake files to match naming of cmake's upstream gtest and ceph's boost.
    e23e63f Reorganize CMakeLists.txt files, so that projects that incorporate dmclock can control whether add_test is called. Now, add_test is called only at the top-level. Projects that incorporate dmclock can use add_subdirectory on subdirectories beneath the top-level to selective exactly what is included.
    
    git-subtree-dir: src/dmclock
    git-subtree-split: a26d29ef46ef8fbd5512a1f36637af7d3099c307
    ivancich committed May 22, 2017
    Configuration menu
    Copy the full SHA
    5b02d98 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    385df31 View commit details
    Browse the repository at this point in the history
  4. Modify cmake files to take advantage or re-organization of dmclock's

    cmake set-up, specifically not allowing dmclock to call add_test.
    Remove dmclock tests from being dependencies on ceph's "test" target.
    
    Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
    ivancich committed May 22, 2017
    Configuration menu
    Copy the full SHA
    8215686 View commit details
    Browse the repository at this point in the history
  5. Merge tag 'v12.0.3' into wip-12-0-3-alt

    v12.0.3
    
    Conflicts:
    	ceph.spec.in
    	src/test/librados/c_write_operations.cc
    smithfarm committed May 22, 2017
    Configuration menu
    Copy the full SHA
    aed3cbf View commit details
    Browse the repository at this point in the history

Commits on May 23, 2017

  1. Make change so dmclock tests are not built unless WITH_TESTS and

    WITH_DMCLOCK_TESTS are both set. This is so openSUSE Leap will build
    correctly.
    
    Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
    ivancich committed May 23, 2017
    Configuration menu
    Copy the full SHA
    04071b6 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2017

  1. Configuration menu
    Copy the full SHA
    48ad90c View commit details
    Browse the repository at this point in the history

Commits on May 25, 2017

  1. build/ops: rpm: make librbd1 %post scriptlet depend on coreutils

    Fixes: http://tracker.ceph.com/issues/20052
    Signed-off-by: Giacomo Comes <comes@naic.edu>
    Signed-off-by: Nathan Cutler <ncutler@suse.com>
    (cherry picked from commit 88ac9da)
    
    Conflicts:
    	ceph.spec.in (trivial resolution)
    smithfarm committed May 25, 2017
    Configuration menu
    Copy the full SHA
    f53119d View commit details
    Browse the repository at this point in the history
  2. build/ops: rpm: move RDMA build dependency to distro-conditional section

    SUSE ships this package under the name "rdma-core-devel". See
    https://build.opensuse.org/package/view_file/openSUSE:Factory/rdma-core/rdma-core.spec?expand=1
    
    Signed-off-by: Nathan Cutler <ncutler@suse.com>
    (cherry picked from commit ba641b5)
    smithfarm committed May 25, 2017
    Configuration menu
    Copy the full SHA
    497ca24 View commit details
    Browse the repository at this point in the history
  3. build/ops: rpm: move python-prettytable to distro-conditional section

    The correct package name in SUSE is python-PrettyTable
    
    Signed-off-by: Nathan Cutler <ncutler@suse.com>
    (cherry picked from commit 08bc5e6)
    
    Conflicts:
    	ceph.spec.in (no python-CherryPy downstream, yet)
    smithfarm committed May 25, 2017
    Configuration menu
    Copy the full SHA
    a181f30 View commit details
    Browse the repository at this point in the history
  4. cmake: added empty RPATH to libcls_sdk.so

    Signed-off-by: Nathan Cutler <ncutler@suse.com>
    smithfarm committed May 25, 2017
    Configuration menu
    Copy the full SHA
    4593fce View commit details
    Browse the repository at this point in the history
  5. rpm: drop %{epoch} from new rados-objclass-devel subpackage

    Introduced in b7215b0
    
    Signed-off-by: Nathan Cutler <ncutler@suse.com>
    (cherry picked from commit c9169a7)
    smithfarm committed May 25, 2017
    Configuration menu
    Copy the full SHA
    881270c View commit details
    Browse the repository at this point in the history
  6. cmake: fix boost components for WITH_SYSTEM_BOOST

    when using WITH_SYSTEM_BOOST dont set header-only packages
    for BOOST_COMPONENTS. On some distros these packages dont
    exist.
    
    Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
    (cherry picked from commit 23b0732)
    (cherry picked from commit f807387)
    bassam authored and smithfarm committed May 25, 2017
    Configuration menu
    Copy the full SHA
    70f0edd View commit details
    Browse the repository at this point in the history
  7. cmake: build boost::context only if rgw Beast frontend is in use

    boost::context is currently (1.63) unsupported for s390x and anyway
    it makes sense to conditionalize Boost components so they are only
    built with the Ceph components that need them (like is already being
    done for mgr).
    
    Signed-off-by: Nathan Cutler <ncutler@suse.com>
    Signed-off-by: Tim Serong <tserong@suse.com>
    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    (cherry picked from commit 7fe6305)
    smithfarm committed May 25, 2017
    Configuration menu
    Copy the full SHA
    60d10fb View commit details
    Browse the repository at this point in the history
  8. build/ops: rpm: reverse s390 bcond conditional block

    I'm not a fan of "if NOT x - then - else" blocks.
    
    Signed-off-by: Nathan Cutler <ncutler@suse.com>
    (cherry picked from commit d97ab76)
    smithfarm committed May 25, 2017
    Configuration menu
    Copy the full SHA
    159cf41 View commit details
    Browse the repository at this point in the history
  9. build/ops: rpm: no rgw Beast frontend on s390x

    Since the Beast frontend uses boost::context which is not supported on
    s390x.
    
    Signed-off-by: Nathan Cutler <ncutler@suse.com>
    (cherry picked from commit 84e80b7)
    smithfarm committed May 25, 2017
    Configuration menu
    Copy the full SHA
    4b3e261 View commit details
    Browse the repository at this point in the history
  10. ceph.spec.in, debian/control: build/runtime dependency for cherrypy

    Signed-off-by: Dan Mick <dan.mick@redhat.com>
    (cherry picked from commit bd6f2d9)
    
    Conflicts:
    	ceph.spec.in (trivial resolution)
    dmick authored and smithfarm committed May 25, 2017
    Configuration menu
    Copy the full SHA
    9a0b1a1 View commit details
    Browse the repository at this point in the history