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

bluestore: latest and greatest #6896

Merged
merged 197 commits into from
Jan 3, 2016
Merged

bluestore: latest and greatest #6896

merged 197 commits into from
Jan 3, 2016

Commits on Jan 1, 2016

  1. rocksdb: latest master

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    feb2d3f View commit details
    Browse the repository at this point in the history
  2. os/newstore: recycle rocksdb log files

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    be0528f View commit details
    Browse the repository at this point in the history
  3. os/newstore: fixed fragment size

    Instead of a single, variable-length fragment for each object,
    set a fixed size (newstore_min_frag_size = 1 MB) and stripe the
    object over these.  The last fragment will be smaller
    than 1 MB if the object is not a multiple of 1 MB.
    
    On write, this is basically free: we can just as cheaply write
    4 inodes created together and fsync them than we can one.  On
    overwrite, it allows us to replace individual fragments and avoid
    write-ahead many cases.
    
    On read it is a bit slower because of inode lookups and disk
    seeks.  In the common case (big object written sequentially) we
    hope that fs prefetching will hide most of it (e.g., all inodes
    will be loaded together in the same metadata btree node, and the
    files' data is written sequentially on disk).
    
    Allowing for a singe large fragment in the case of a sequentially
    written large object may save us something, but it complicates
    the code significantly.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    2993504 View commit details
    Browse the repository at this point in the history
  4. os/newstore: dump onode contents

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    f0f815f View commit details
    Browse the repository at this point in the history
  5. os/newstore: set alloc hint on new frags

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    0af0dbd View commit details
    Browse the repository at this point in the history
  6. os/newstoer: add newstore types to ceph-dencoder

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    b2db842 View commit details
    Browse the repository at this point in the history
  7. os/newstore: define a fid_backpointer_t type

    Signed-off-by: Sage Weil <sage@redhat.com>
    
    fix wal_oP_t
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    9291e16 View commit details
    Browse the repository at this point in the history
  8. os/newstore: do not set/change frag_size if there are overlays

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    84646ab View commit details
    Browse the repository at this point in the history
  9. os/newstore: fix collection_list vs max entries

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    5e566dd View commit details
    Browse the repository at this point in the history
  10. os/newstore: make key names more efficient

    - pack u32 and u64 in binary (instead of in hex)
    - avoid duplicating the object name while making things still
      sort by (key,name).  Use < when key < name, = when key == name,
      > when key > name) as a prefix.  And in the = case (which is
      basically always) include the name just once.
    
    Note that this breaks on-disk compatibility.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    2dae3df View commit details
    Browse the repository at this point in the history
  11. os/newstore: make collection_list tolerate sloppy start position

    Because of this change (ceph#6076), the hobject_t will contain pool id, hence
    the ghobject_t having this hobject_t will be not equal to ghobject_t().
    
    In newstore, this will cause assertion failure:
    FAILED assert(k >= start_key && k < end_key)
    
    The fix is to make compatible with previous change to create a
    ghobject_t object with pool id and shard id in newstore.
    
    Fixes: ceph#13801
    Reported-by: Zhi Zhang <zhangz.david@outlook.com>
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    32e7683 View commit details
    Browse the repository at this point in the history
  12. os/newstore: consume a raw block device

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    5658665 View commit details
    Browse the repository at this point in the history
  13. os/newstore: create db dir

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    ad9f9fa View commit details
    Browse the repository at this point in the history
  14. os/newstore: always create db.wal

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    3a4d583 View commit details
    Browse the repository at this point in the history
  15. newstore -> bluestore

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    a62ffb0 View commit details
    Browse the repository at this point in the history
  16. os/bluestore: separate Allocator from freelist storage

    FreelistManager perists our freelist.  Allocator is a policy that
    allocates it.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    9d01b8d View commit details
    Browse the repository at this point in the history
  17. os/bluestore/BlockDevice: fix read return value

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    d704628 View commit details
    Browse the repository at this point in the history
  18. os/bluestore: fix _do_read return value

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    a869f92 View commit details
    Browse the repository at this point in the history
  19. kv/RocksDBStore: take custom Env

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    65f720a View commit details
    Browse the repository at this point in the history
  20. os/bluestore/Allocator: init_rm_free

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    08a94d9 View commit details
    Browse the repository at this point in the history
  21. os/bluestore/StupidAllocator: fix misc bugs

    Can't use invalid iterator; fix init_rm_free.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    1446048 View commit details
    Browse the repository at this point in the history
  22. os/bluestore/StupidAllocator: fix locking

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    1ffd5e6 View commit details
    Browse the repository at this point in the history
  23. os/bluestore/BlueStore: fix _do_read

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    1b8d5b6 View commit details
    Browse the repository at this point in the history
  24. ceph_test_objectstore: less verbose on hash collision test

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    226b347 View commit details
    Browse the repository at this point in the history
  25. ceph_test_objectstore: less verbose

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    6f5ac50 View commit details
    Browse the repository at this point in the history
  26. os/bluestore/BlueFS: simple file system to back rocksdb

    BlueFS is a simple file system that will back rocksdb.
    BlueRocksEnv is the rocksdb::Env implementation that
    glues them together.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    dd04391 View commit details
    Browse the repository at this point in the history
  27. os/bluestore/BlockDevice: move to simple mutex model

    Just for now, while we get the rest of this working.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    653882c View commit details
    Browse the repository at this point in the history
  28. os/bluestore/BlueStore: share space with BlueFS

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    e4f6148 View commit details
    Browse the repository at this point in the history
  29. os/bluestore/BlueFS: many fixes

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    2d05378 View commit details
    Browse the repository at this point in the history
  30. ceph-bluefs-tool: simple tool to export bluefs content

    Currently we just do a dump.  We'll add more
    functionality later.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    b8630ee View commit details
    Browse the repository at this point in the history
  31. os/bluestore/BlueFS: readdir list dirs, too

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    98485de View commit details
    Browse the repository at this point in the history
  32. os/bluestore/BlueFS: ref count BlueFS::File *

    There are FileWriters that exist when the file is
    deleted.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    3649a80 View commit details
    Browse the repository at this point in the history
  33. kv/RocksDBStore: rocksdb_separate_wal_dir option

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    9341eec View commit details
    Browse the repository at this point in the history
  34. ceph_test_objectstore: trivial init fix

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    ac05b4c View commit details
    Browse the repository at this point in the history
  35. os/bluestore/BlueFS: fix read

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    b073028 View commit details
    Browse the repository at this point in the history
  36. os/bluestore/BlueFS: simplify extent list

    Merge contiguous extents.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    dd90149 View commit details
    Browse the repository at this point in the history
  37. os/bluestore/BlueFS: periodically compact log

    Rewrite only the current metadata in a fresh log
    periodically to free log space.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    73adec4 View commit details
    Browse the repository at this point in the history
  38. vstart.sh: debug bluefs and rocksdb

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    9785bc9 View commit details
    Browse the repository at this point in the history
  39. os/bluestore/BlueFS: prevent read+write sharing

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    05be4c6 View commit details
    Browse the repository at this point in the history
  40. os/bluestore/BlueFS: avoid lock during reads

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    e7cce09 View commit details
    Browse the repository at this point in the history
  41. os/bluestore/BlockDevice: check aio return values

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    db754e7 View commit details
    Browse the repository at this point in the history
  42. os/bluestore/BlockDevice: fix alignment check

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    f6f4ed3 View commit details
    Browse the repository at this point in the history
  43. os/bluestore/BlockDevice: debug read result

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    e3fd279 View commit details
    Browse the repository at this point in the history
  44. os/bluestore/BlockDevice: lock device while open

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    ef06380 View commit details
    Browse the repository at this point in the history
  45. os/bluestore: reenable rocksdb recycling

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    ccce793 View commit details
    Browse the repository at this point in the history
  46. os/bluestore/BlueFS: fix writes spanning extents

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    13655fb View commit details
    Browse the repository at this point in the history
  47. os/bluestore/BlueFS: fix overwrite

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    1727ceb View commit details
    Browse the repository at this point in the history
  48. os/bluestore/BlockDevice: restructure interface

    use atomics, do not track in-flight extents or magically cope
    with racing ios (that is the users responsibility).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    b487987 View commit details
    Browse the repository at this point in the history
  49. os/bluestore: disable overlay for now

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    9f114ac View commit details
    Browse the repository at this point in the history
  50. os/bluestore/BlueStore: fix zero gap bug

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    02605a6 View commit details
    Browse the repository at this point in the history
  51. os/bluestore: support second block.wal device

    Use this device for the bluefs log.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    3745afb View commit details
    Browse the repository at this point in the history
  52. os/bluestore/BlueFS: fix replay of unlink

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    2e1edef View commit details
    Browse the repository at this point in the history
  53. os/bluestore/BlueFS: flush log if needed

    If a file has dirty metadata (but no dirty data), we
    still need to flush the log when it is flushed.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    9565f0d View commit details
    Browse the repository at this point in the history
  54. os/bluestore: label all block devices

    Label all of our block devices with a simple label
    that includes the osd_uuid.  Wire this into the
    ObjectStore and OSD probe mechanism.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    31307a5 View commit details
    Browse the repository at this point in the history
  55. rocksdb: pull up to master, include EnvMirror

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    07a47a3 View commit details
    Browse the repository at this point in the history
  56. os/bluestore/BlueStore: drop internal EnvMirror

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    de300b1 View commit details
    Browse the repository at this point in the history
  57. os/bluestore/BlueFS: all overwrites on open_for_write

    rocksdb will occasionally overwrite an existing file
    if it is not present/valid in the manifest.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    f80b335 View commit details
    Browse the repository at this point in the history
  58. os/bluestore: less debug noise

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    8094355 View commit details
    Browse the repository at this point in the history
  59. os/bluestore: block.db support

    Support a mid- to fast device that will preferentially
    store the rocksdb data (and wal, if block.wal is not
    present).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    485557a View commit details
    Browse the repository at this point in the history
  60. ceph_test_objectstore: clean up synthetic collections

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    c96e025 View commit details
    Browse the repository at this point in the history
  61. os/bluestore/BlockDevice: inject block failures

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    5fb09a9 View commit details
    Browse the repository at this point in the history
  62. os/bluestore: statfs

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    a17fe3e View commit details
    Browse the repository at this point in the history
  63. os/bluestore: record kv backend

    Record kv backend at mkfs time instead of relying on current value
    of config option.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    423f797 View commit details
    Browse the repository at this point in the history
  64. os/bluestore/FreelistManager: drop unused db ref

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    7664ffa View commit details
    Browse the repository at this point in the history
  65. os/bluestore: add extent_ref_map_t

    This will be used to refcount extents for some subset
    of the store (objects with same name or hash value?).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    648f132 View commit details
    Browse the repository at this point in the history
  66. os/bluestore/bluestore_types: localize types

    Prefix with bluestore_
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    bc0f2e6 View commit details
    Browse the repository at this point in the history
  67. os/kstore: add new KStore backend

    This is based on BlueStore, but with all of the block-related code
    and complexity ripped out, and a simple striping strategy added
    in its place.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    669bec7 View commit details
    Browse the repository at this point in the history
  68. os/KeyValueStore: drop kinetic #include

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    e3affe6 View commit details
    Browse the repository at this point in the history
  69. ceph_objectstore_test: fix warning

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    02bd7d5 View commit details
    Browse the repository at this point in the history
  70. os/bluestore/BlueStore: fix object key decode with key

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    196786d View commit details
    Browse the repository at this point in the history
  71. os/kstore/KStore: fix object key decode with key

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    499b40f View commit details
    Browse the repository at this point in the history
  72. os/bluestore: clear coll_map on umount, fsck finish

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    197c5ae View commit details
    Browse the repository at this point in the history
  73. kv/RocksDBStore: behave if options string is empty

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    08f919e View commit details
    Browse the repository at this point in the history
  74. os/bluestore/BlueStore: fix _open_bdev() failure path

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    65e5ff4 View commit details
    Browse the repository at this point in the history
  75. os/bluestore: default to 64k min_alloc_size

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    22073a0 View commit details
    Browse the repository at this point in the history
  76. Makefile-rocksdb.am: update

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    aa844e5 View commit details
    Browse the repository at this point in the history
  77. rocksdb: fix recycle replay

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    3f8d46c View commit details
    Browse the repository at this point in the history
  78. os/bluestore/BlueStore: fix error path if label set fails

    Reported-by: David Zafman <dzafman@redhat.com>
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    8c04a3b View commit details
    Browse the repository at this point in the history
  79. rpm, debian: package ceph-bluefs-tool

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    0633468 View commit details
    Browse the repository at this point in the history
  80. os/bluestore: bluestore bluefs = true

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    6b28449 View commit details
    Browse the repository at this point in the history
  81. os/bluestore: fix fsck contains vs intersects

    Any overlap is an error.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    993c87f View commit details
    Browse the repository at this point in the history
  82. vstart.sh: less noisy debug

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    1f05196 View commit details
    Browse the repository at this point in the history
  83. os/bluestore: don't create block.{db,wal} by default

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    510b4c7 View commit details
    Browse the repository at this point in the history
  84. os/bluestore/BlueStore: better error msg for bdev label check

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    4ebe78c View commit details
    Browse the repository at this point in the history
  85. os/fs/FS.h: fix aio_t::pread

    Allocate aligned buffer.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    6925a06 View commit details
    Browse the repository at this point in the history
  86. os/bluestore: fail mount of fsck finds errors

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    2158371 View commit details
    Browse the repository at this point in the history
  87. script/crash_bdev: simple script to inject bdev failures

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    9df3d96 View commit details
    Browse the repository at this point in the history
  88. os/bluestore: better debugging on fsck alloc errors

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    b1df8cb View commit details
    Browse the repository at this point in the history
  89. os/bluestore: update freelist in individual transactions

    We submit each operation's transaction individually to rocksdb,
    and then since a final transction to flush them all.  However,
    they may not commit atomically (all together), which means we
    need to leave the individual freelist updates within each
    transaction.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    5e4d3d2 View commit details
    Browse the repository at this point in the history
  90. os/bluestore/BlueFS: ignore flush when buffer is small

    Rocksdb does a flush after every append, each of which is often
    less than a full block.  This is very inefficient when our
    _flush() will send that to disk (and block).
    
    Avoid this most of the time by ignoring small flush requests
    entirely, unless the force flag is set (e.g., by fsync).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    1605e04 View commit details
    Browse the repository at this point in the history
  91. os/bluestore/BlueFS: do not dirty file when overwriting bytes

    The rocksdb log recycle option allows us to overwrite previously
    allocated space in an old log file to avoid updating the file
    metadata on normal file systems.  Take advantage of that here to
    by implementing what is effectively O_NOCMTIME semantics: we do
    not dirty the file metadata just because mtime is updated.
    Instead, we dirty the file only if we allocate new space or if
    the size has to be increased.
    
    Note that on my NVME drive a single-thread rados bench test, we
    jump from 30MB/sec to 50MB/sec 128KB writes as soon as we start
    recycling previous logs (about 40 second into the run).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    be598b7 View commit details
    Browse the repository at this point in the history
  92. os/bluestore/BlueFS: get_usage()

    Return (and log) usage for all bdevs.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    cf5d139 View commit details
    Browse the repository at this point in the history
  93. os/bluestore/BlueStore: use BlueFS::get_usage()

    ...just so we log bdev utilization in the log.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    3d2bb7a View commit details
    Browse the repository at this point in the history
  94. os/bluestore/BlockDevice: rename bdev options

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    a3de5b6 View commit details
    Browse the repository at this point in the history
  95. os/bluestore: handle both buffered and direct+async IO

    Prefer aio unless explicitly directed otherwise.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    9be0b53 View commit details
    Browse the repository at this point in the history
  96. rocksdb: debug log writes/reads

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    e07fc75 View commit details
    Browse the repository at this point in the history
  97. os/bluestore/BlueStore: do WAL ops buffered to avoid RMW issues

    We may have multiple WAL ops that do read/modify/write covering
    the same blocks.  To avoid the complexity of identifying those
    situations and ensuring that we, say, wait for writes to complete
    before reading them back again, just make the IO buffered and let
    the page cache handle that for us.
    
    This fixes the failure of LibRadosAio.RoundTripWriteFull.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    6d41758 View commit details
    Browse the repository at this point in the history
  98. os/bluestore/BlockDevice: fix path

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    e63dbda View commit details
    Browse the repository at this point in the history
  99. os/bluestore/BlockDevice: adjust debug output

    5 helpful (read/write offsets)
    10 more, with aio completions
    20 everything
    30 fire hose
    40 data hexdumps
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    95b81e5 View commit details
    Browse the repository at this point in the history
  100. os/bluestore/BlueStore: remove unused OnodeMap::remove

    We install negative entries instead.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    bf1f02c View commit details
    Browse the repository at this point in the history
  101. os/bluestore/BlueStore: fix rename

    Install a negative onode entry at the old name position.
    Otherwise, a simple transaction like
    
     rename a -> b
     touch b
    
    will re-read the old b onode key on the second op, and chaos will
    ensue (e.g., because it'll reference the same extents from a
    different object).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    c206832 View commit details
    Browse the repository at this point in the history
  102. os/kstore: fix rename

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    134a0e4 View commit details
    Browse the repository at this point in the history
  103. os/bluestore/BlueStore: fix read bug when there is a hole

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    8941e32 View commit details
    Browse the repository at this point in the history
  104. os/bluestore/BlueStore: note wal releases in fsck

    Include these in used_blocks (they are about to be released but
    not reflected in the onode).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    dc5d33b View commit details
    Browse the repository at this point in the history
  105. os/bluestore: clean up comments a bit

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    27e44dd View commit details
    Browse the repository at this point in the history
  106. os/bluestore: add some slow debug path

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    3133eca View commit details
    Browse the repository at this point in the history
  107. ceph_test_objectstore: clone objects with same hash

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    7e86bfd View commit details
    Browse the repository at this point in the history
  108. ceph_test_objectstore: clone non-empty objects, not empty ones

    This condition was backwards.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    48595ad View commit details
    Browse the repository at this point in the history
  109. ceph_test_objectstore: simplify object name generation

    The long names don't exercise useful code paths, and having
    consistent naming makes it easier to grep through logs.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    1769163 View commit details
    Browse the repository at this point in the history
  110. ceph_test_objectstore: fix clone

    Copy the buffer, in case other threads modify it in place.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    549a335 View commit details
    Browse the repository at this point in the history
  111. ceph_test_objectstore: fix locking for a few ops

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    2162990 View commit details
    Browse the repository at this point in the history
  112. ceph_test_objectstore: save map lookups for a few ops

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    c9659f9 View commit details
    Browse the repository at this point in the history
  113. ceph_test_objectstore: debug enter/exit points

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    a77363c View commit details
    Browse the repository at this point in the history
  114. ceph_test_objectstore: validate full object contents after writes

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    ac08664 View commit details
    Browse the repository at this point in the history
  115. ceph_test_objectstore: add many clone tests

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    f884edf View commit details
    Browse the repository at this point in the history
  116. ceph_test_objectstore: dump actual vs expected on read data mismatch

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    82d2132 View commit details
    Browse the repository at this point in the history
  117. ceph_test_objectstore: use a few hash values for objects; clone betwe…

    …en them
    
    We only guarantee support for clone between objects with the same hash.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    eeb2251 View commit details
    Browse the repository at this point in the history
  118. ceph_test_objectstore: do Synthetic tests over larger objects

    400k for objects.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    a583e5d View commit details
    Browse the repository at this point in the history
  119. os/bluestore: add bluestore_debug_no_reuse_blocks

    This makes debugging a bit easier because we never use the same
    extent of the disk twice, leaving useful evidence behind.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    2f9be0c View commit details
    Browse the repository at this point in the history
  120. os/bluestore/BlockDevice: fix waiter wakeup use-after-free race

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    d927919 View commit details
    Browse the repository at this point in the history
  121. os/bluestore/BlueStore: wal_op_t::OP_COPY

    Assume block-aligned.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    97bf343 View commit details
    Browse the repository at this point in the history
  122. os/bluestore/bluestore_types: add contains(), clear(), empty() to ext…

    …ent_ref_map
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    45801ed View commit details
    Browse the repository at this point in the history
  123. unittest_bluefs, unittest_bluestore_types

    These should run during make check.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    e93e926 View commit details
    Browse the repository at this point in the history
  124. os/bluestore/bluestore_types: add extent FLAG_COW_{HEAD,TAIL}

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    fd75b4e View commit details
    Browse the repository at this point in the history
  125. os/bluestore: Enode infrastructure

    Enodes will track extent ref counts for any extent
    that is marked shared.  There will be an enode for
    any unique hash value that has any refs.  We will keep
    in-memory copies of only those Enodes that are
    referenced by in-memory Onodes, and only if the enode
    is requested (e.g., the enode won't be loaded as a
    result of an object read because we never need to
    call get_enode.).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    64b4e2f View commit details
    Browse the repository at this point in the history
  126. os/bluestore/BlueStore: only allow clone if hash matches

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    8ebb390 View commit details
    Browse the repository at this point in the history
  127. os/bluestore: support copy-on-write clones

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    b758d9f View commit details
    Browse the repository at this point in the history
  128. os/bluestore/BlueStore: fix _zero when previous extent partially unwr…

    …itten
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    4aa5f02 View commit details
    Browse the repository at this point in the history
  129. os/bluestore/StupidAllocator: bluestore_debug_small_allocations

    Force small allocations for debugging purposes.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    a684a59 View commit details
    Browse the repository at this point in the history
  130. os/bluestore/BlueStore: fsck_on_umount

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    5534d2b View commit details
    Browse the repository at this point in the history
  131. ceph_test_objectstore: enable bluestore debug options

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    de8a99d View commit details
    Browse the repository at this point in the history
  132. os/bluestore: optimize _dump_onode slightly

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    0a6f35d View commit details
    Browse the repository at this point in the history
  133. os/bluestore: debug msg on statfs

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    e25cf20 View commit details
    Browse the repository at this point in the history
  134. os/bluestore: simplify _do_remove

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    8e965db View commit details
    Browse the repository at this point in the history
  135. os/bluestore/BlockDevice: add invalidate_cache

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    225d3cd View commit details
    Browse the repository at this point in the history
  136. os/bluestore/BlueFS: implement invalidate_cache

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    5662bd8 View commit details
    Browse the repository at this point in the history
  137. os/bluestore/FreelistManager: audit

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    d48a2ba View commit details
    Browse the repository at this point in the history
  138. os/bluestore/BlockDevice: helpful error when aio cannot init

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    cff5dc5 View commit details
    Browse the repository at this point in the history
  139. os/bluestore/BlueFS: do not flush metadata on flush()

    That's what fsync is for.  Moreover, this can lead to some squirreliness
    if we trigger this from _flush_log().
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    93964a7 View commit details
    Browse the repository at this point in the history
  140. os: remove {get,set}_allow_sharded_objects from interface

    We've already forced everyone to upgrade through hammer, so everyone
    supports this.  Just unconditionally set the feature if it is not set
    (for consistency's sake).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    56375c5 View commit details
    Browse the repository at this point in the history
  141. osd/PGBackend: fix omap digest error message

    Print the *omap* digest, not *data* digest.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    fd2659d View commit details
    Browse the repository at this point in the history
  142. os/bluestore: clear onode in _do_remove

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    9aca4ad View commit details
    Browse the repository at this point in the history
  143. os/kstore: clear onode on _do_remove

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    789e99c View commit details
    Browse the repository at this point in the history
  144. os/ObjectStore: add fsck to interface

    Only bluestore and kstore implement this currently.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    da9266d View commit details
    Browse the repository at this point in the history
  145. ceph-objectstore-tool: add fsck command

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    5f87bab View commit details
    Browse the repository at this point in the history
  146. ceph_test_objectstore: add omap iterator test

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    0cde589 View commit details
    Browse the repository at this point in the history
  147. osd/ReplicatedPG: print omap_digest in debug log

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    0f85d86 View commit details
    Browse the repository at this point in the history
  148. os/bluestore: do not include header in iterator result

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    b25a242 View commit details
    Browse the repository at this point in the history
  149. os/kstore: do not include header in omap iterator result

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    624e996 View commit details
    Browse the repository at this point in the history
  150. os/bluestore/StupidAllocator: add reservation assertions

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    193d25f View commit details
    Browse the repository at this point in the history
  151. os/bluestore/StupidAllocator: fix reservation release on allocate

    Use up the amount we allocated, not the amount we asked for.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    2b2cc88 View commit details
    Browse the repository at this point in the history
  152. os/bluestore/Allocator: add unreserve()

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    6641482 View commit details
    Browse the repository at this point in the history
  153. os/bluestore: allocate shouldn't fail if reserve succeeded

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    5b57b09 View commit details
    Browse the repository at this point in the history
  154. remove ceph_streamtest

    This is an ancient obsolete test that is never used.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    f941642 View commit details
    Browse the repository at this point in the history
  155. ceph-objectstore-tool: drop unused FileSTore include

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    6c1ef47 View commit details
    Browse the repository at this point in the history
  156. ceph:small_io_bench_dumb: drop unused include

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    e07ab3e View commit details
    Browse the repository at this point in the history
  157. os/filestore: move FileStore to os/filestore/*

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    ba2cc1e View commit details
    Browse the repository at this point in the history
  158. os/memstore: move MemStore into os/memstore/*

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    82cbc07 View commit details
    Browse the repository at this point in the history
  159. os/keyvaluestore: move KeyValueStore into os/keyvaluestore/*

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    98a0e10 View commit details
    Browse the repository at this point in the history
  160. os/ZFS: move to os/fs

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    8fc65e1 View commit details
    Browse the repository at this point in the history
  161. os/fs: move btrfs_ioctl.h to os/fs

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    d2b5e92 View commit details
    Browse the repository at this point in the history
  162. os/Makefile: cosmetic

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    b16f591 View commit details
    Browse the repository at this point in the history
  163. os/bluestore/bluestore_types: fix bluestore_extent_ref_map_t test inst

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    893bfc7 View commit details
    Browse the repository at this point in the history
  164. unittest_bluestore_types: fix warnings

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    602b8de View commit details
    Browse the repository at this point in the history
  165. os/bluestore/StupidAllocator: be less stupid about alloc_unit

    Make sure the extent we return is aligned to alloc_unit.  If the first
    extent isn't suitable, try the next one.
    
    Keep bin 0 for things that are smaller than min_alloc_size.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    34a0f30 View commit details
    Browse the repository at this point in the history
  166. osd: do not catch mkfs exceptions

    We either want to take a clean error path, or dump core.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    97373a7 View commit details
    Browse the repository at this point in the history
  167. os/kstore: clear coll_map on umount

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    81243c0 View commit details
    Browse the repository at this point in the history
  168. ceph_test_objectstore: clean out test dir for each test

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    5950eae View commit details
    Browse the repository at this point in the history
  169. os/kstore: fix bugs in read stripe logic

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    b57fcf6 View commit details
    Browse the repository at this point in the history
  170. os/kstore: debug nid

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    e4e1a7f View commit details
    Browse the repository at this point in the history
  171. common/buffer: make hexdump look like 'hexdump -C ...'

    ...the better to diff them with.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    5c62690 View commit details
    Browse the repository at this point in the history
  172. os/kstore: cache in-flight stripe updates in memory

    The write process may do a read/modify/write on a stripe.  In order to
    allow multiple writes to coexist within the same transaction, we need to
    be able to "see" our writes.
    
    Clear the "cached" stripe values when the last TransContext touching an
    onode is finished.  In theory we could pin memory with a constant stream
    of updates to an object; we may need to address that later.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    645b535 View commit details
    Browse the repository at this point in the history
  173. os/Makefile: fix typo

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    491e2ce View commit details
    Browse the repository at this point in the history
  174. CMakeLists: update for os/ reorg

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    88c3ee8 View commit details
    Browse the repository at this point in the history
  175. os/bluestore: be tolerant of collection_list bounds

    In particular, we may get a shard specified along with hobject_t min or
    max (from PGBackend::objects_list_range()).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    3fa09f0 View commit details
    Browse the repository at this point in the history
  176. vstart.sh: k=2 for ec

    It didn't like k=1 with the default profile.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    fc9d952 View commit details
    Browse the repository at this point in the history
  177. vstart.sh: no need for 'quit' to ceph cli

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    a3ef0ec View commit details
    Browse the repository at this point in the history
  178. os/bluestore/BlockDevice: fix FS leak

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    acc8217 View commit details
    Browse the repository at this point in the history
  179. kv/RocksDBStore: fix leak of custom Env

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    ef26205 View commit details
    Browse the repository at this point in the history
  180. os/bluestore/BlueFS: fix leak of iocs in writer

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    3f4bd46 View commit details
    Browse the repository at this point in the history
  181. os/bluestore/BlueRocksEnv: fix several leaks

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    3f8e2bd View commit details
    Browse the repository at this point in the history
  182. ceph_test_objectstore: close cct on shutdown

    This lets us do leak checking.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    64b80f3 View commit details
    Browse the repository at this point in the history
  183. os/bluestore/BlueFS: fix a few leaks

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    7cb901c View commit details
    Browse the repository at this point in the history
  184. os/bluestore/BlueFS: delay IOContext dtor until after io completes

    It's possible for the IO to be in flight when the caller closes the
    writer handle (although dangerous of them).  Queue the IOContext for
    async cleanup when we sync everything to disk.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    0336279 View commit details
    Browse the repository at this point in the history
  185. os/bluestore/BlockDevice: clean up aio completion a bit

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    7172a7e View commit details
    Browse the repository at this point in the history
  186. os/bluestore/BlueFS: wait for flush aios to complete before returning

    This makes all the IOs effectively synchronous (while holding the lock),
    which isn't great, but at least it's correct.  We can contemplate async
    later..
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    198b156 View commit details
    Browse the repository at this point in the history
  187. ceph-objectstore-tool: get store type from 'type' file, if present

    Just like ceph-osd.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    7dddecb View commit details
    Browse the repository at this point in the history
  188. ceph-objectstore-tool: don't require journal path

    Assume journal symlink is present.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    ee01a7a View commit details
    Browse the repository at this point in the history
  189. os/bluestore: write 'type' file

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    56a964b View commit details
    Browse the repository at this point in the history
  190. os/bluestore: Don't forget close fd in _setup_block_symlink_or_file.

    Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
    majianpeng authored and liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    20dc14b View commit details
    Browse the repository at this point in the history
  191. os/bluestore/BlueFS: remove deleted file from dirty list

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    e7a84fe View commit details
    Browse the repository at this point in the history
  192. qa/workunits/cephtool/test.sh: leave sortbitwise set

    New backends don't work if it's off.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    37c6390 View commit details
    Browse the repository at this point in the history
  193. fs: fix unclosed formatter session

    Fixes: ceph#14210
    Signed-off-by: xie.xingguo <xie.xingguo@zte.com.cn>
    xiexingguo authored and liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    d6043d9 View commit details
    Browse the repository at this point in the history
  194. os/bluestore/BlueStore: fix overlay keys

    Signed-off-by: YiQiang Chen <cyqsign@163.com>
    cyqsign authored and liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    757152f View commit details
    Browse the repository at this point in the history
  195. uniform the type format

    Signed-off-by: Ning Yao <zay11022@gmail.com>
    mslovy authored and liewegas committed Jan 1, 2016
    Configuration menu
    Copy the full SHA
    bc1cf95 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2016

  1. qa/workunits/rados/test_rados_tool: adapt to new buffer hexdump

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 3, 2016
    Configuration menu
    Copy the full SHA
    1097bd2 View commit details
    Browse the repository at this point in the history
  2. qa/workunits/rados/test_rados_tool.sh: fix path

    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Jan 3, 2016
    Configuration menu
    Copy the full SHA
    4502446 View commit details
    Browse the repository at this point in the history