]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agopkg: add ceph_volume_client to python-cephfs 6205/head
John Spray [Sun, 29 Nov 2015 17:10:45 +0000 (17:10 +0000)]
pkg: add ceph_volume_client to python-cephfs

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agomds: fix `tell session evict`
John Spray [Wed, 11 Nov 2015 11:11:44 +0000 (11:11 +0000)]
mds: fix `tell session evict`

Don't try waiting on empty context gatherbuilder.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agopybind: minor fixes to volumeclient
John Spray [Wed, 11 Nov 2015 14:28:00 +0000 (14:28 +0000)]
pybind: minor fixes to volumeclient

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agopybind: stray comment in volumeclient
John Spray [Wed, 11 Nov 2015 14:23:24 +0000 (14:23 +0000)]
pybind: stray comment in volumeclient

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agopybind/cephfs: exception on extra init args
John Spray [Wed, 11 Nov 2015 14:22:36 +0000 (14:22 +0000)]
pybind/cephfs: exception on extra init args

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agopybind: volumeclient fixes
John Spray [Wed, 11 Nov 2015 11:12:40 +0000 (11:12 +0000)]
pybind: volumeclient fixes

Generalize authorization so that an ID can be authorized
for multiple shares.

Remove commented blocks.

Separate purge from delete.  Up to the caller to background
the purge part.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agopybind: fix mkdir_p in ceph_volume_client
John Spray [Mon, 9 Nov 2015 13:08:41 +0000 (13:08 +0000)]
pybind: fix mkdir_p in ceph_volume_client

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoCMake: add libcephfs to cephfs_testing target
John Spray [Mon, 9 Nov 2015 12:09:33 +0000 (12:09 +0000)]
CMake: add libcephfs to cephfs_testing target

Tests for VolumeClient will use this.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agopybind: add ceph_volume_client
John Spray [Thu, 8 Oct 2015 13:22:31 +0000 (14:22 +0100)]
pybind: add ceph_volume_client

This is for FSaaS interfaces like Manila.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agolibcephfs: add ceph_create_from_rados
John Spray [Fri, 18 Sep 2015 17:26:54 +0000 (18:26 +0100)]
libcephfs: add ceph_create_from_rados

This is for applications that want to use
librados and libcephfs in the same process,
without trying to have two CephContexts

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agopybind: add LibCephFS.create_with_rados
John Spray [Fri, 18 Sep 2015 16:45:48 +0000 (17:45 +0100)]
pybind: add LibCephFS.create_with_rados

Enable setting up cephfs while borrowing
the CephContext from an already-set-up
rados python client.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoCMake: link libcephfs the same as librados
John Spray [Fri, 18 Sep 2015 10:10:36 +0000 (11:10 +0100)]
CMake: link libcephfs the same as librados

Things got weird (tcmalloc exceptions) if one used
both libraries from the same process, presumably
because of some of these dependencies.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agopybind: allow CephFS constructor to take ID
John Spray [Thu, 17 Sep 2015 15:12:57 +0000 (16:12 +0100)]
pybind: allow CephFS constructor to take ID

For those folks who aren't running as 'admin'.  We
already allow this at the C layer, it was just left
out of the python binding.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #7100 from dachary/wip-14220-make-check
Sage Weil [Mon, 4 Jan 2016 20:41:42 +0000 (15:41 -0500)]
Merge pull request #7100 from dachary/wip-14220-make-check

tests: configure with rocksdb by default

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #7063 from mathslinux/rgw-dont-abort-for-bad-argumentment
Orit Wasserman [Mon, 4 Jan 2016 18:43:13 +0000 (19:43 +0100)]
Merge pull request #7063 from mathslinux/rgw-dont-abort-for-bad-argumentment

rgw: do not abort radowgw server when using admin op API with bad parameters

10 years agoMerge pull request #7099 from jcsp/wip-cmake-bluestore
Orit Wasserman [Mon, 4 Jan 2016 17:40:54 +0000 (18:40 +0100)]
Merge pull request #7099 from jcsp/wip-cmake-bluestore

Fix cmake build with bluestore

10 years agotests: configure with rocksdb by default 7100/head
Loic Dachary [Mon, 4 Jan 2016 16:51:12 +0000 (17:51 +0100)]
tests: configure with rocksdb by default

Otherwise bluestore won't compile and run-make-check.sh will fail.

http://tracker.ceph.com/issues/14220 Fixes: #14220

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agocmake: build and link rocksdb etc for bluestore 7099/head
John Spray [Mon, 4 Jan 2016 16:29:52 +0000 (16:29 +0000)]
cmake: build and link rocksdb etc for bluestore

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agocmake: add rocksdb include path for bluestore
John Spray [Mon, 4 Jan 2016 15:45:59 +0000 (15:45 +0000)]
cmake: add rocksdb include path for bluestore

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #6854 from jecluis/wip-monmapmon
Joao Eduardo Luis [Mon, 4 Jan 2016 16:02:03 +0000 (16:02 +0000)]
Merge pull request #6854 from jecluis/wip-monmapmon

mon: MonmapMonitor: don't expose uncommitted state to client

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agomon: MonmapMonitor: don't expose uncommitted state to client 6854/head
Joao Eduardo Luis [Thu, 3 Dec 2015 15:05:08 +0000 (15:05 +0000)]
mon: MonmapMonitor: don't expose uncommitted state to client

During prepare_command(), we were returning to the user based on
pending_map's state. Even though this weren't causing any issues we are
aware of, we really shouldn't do that.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
10 years agoMerge pull request #6760 from ddiss/bug13943_ceph_disk_validate_part_uuid
Loic Dachary [Mon, 4 Jan 2016 14:56:13 +0000 (15:56 +0100)]
Merge pull request #6760 from ddiss/bug13943_ceph_disk_validate_part_uuid

ceph-disk: warn for prepare partitions with bad GUIDs

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #6992 from dachary/wip-mailmap
Loic Dachary [Mon, 4 Jan 2016 14:35:14 +0000 (15:35 +0100)]
Merge pull request #6992 from dachary/wip-mailmap

mailmap updates

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
10 years agomailmap: Chengyuan Li affiliation 6992/head
Loic Dachary [Mon, 21 Dec 2015 00:28:54 +0000 (01:28 +0100)]
mailmap: Chengyuan Li affiliation

Reviewed-by: Chengyuan Li <chengyli@ebay.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agomailmap: Hervé Rousseau name normalization
Loic Dachary [Mon, 21 Dec 2015 00:28:32 +0000 (01:28 +0100)]
mailmap: HervĂ© Rousseau name normalization

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agomailmap: Chris Holcombe name normalization
Loic Dachary [Mon, 21 Dec 2015 00:28:00 +0000 (01:28 +0100)]
mailmap: Chris Holcombe name normalization

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agomailmap: Jianhui Yuan affiliation
Loic Dachary [Mon, 21 Dec 2015 00:20:41 +0000 (01:20 +0100)]
mailmap: Jianhui Yuan affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agomailmap: Joe Julian affiliation
Loic Dachary [Mon, 21 Dec 2015 00:20:23 +0000 (01:20 +0100)]
mailmap: Joe Julian affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agomailmap: David Coles affiliation
Loic Dachary [Mon, 21 Dec 2015 00:19:13 +0000 (01:19 +0100)]
mailmap: David Coles affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agomailmap: Vasu Kulkarni affiliation
Loic Dachary [Mon, 21 Dec 2015 00:18:18 +0000 (01:18 +0100)]
mailmap: Vasu Kulkarni affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agomailmap: Tobias Suckow affiliation
Loic Dachary [Mon, 21 Dec 2015 00:16:24 +0000 (01:16 +0100)]
mailmap: Tobias Suckow affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agomailmap: Rahul Aggarwal affiliation
Loic Dachary [Mon, 21 Dec 2015 00:15:26 +0000 (01:15 +0100)]
mailmap: Rahul Aggarwal affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agomailmap: Brian Felton affiliation
Loic Dachary [Mon, 21 Dec 2015 00:14:37 +0000 (01:14 +0100)]
mailmap: Brian Felton affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #7030 from ceph/wip-detect-bz2-lz4
Loic Dachary [Mon, 4 Jan 2016 13:39:40 +0000 (14:39 +0100)]
Merge pull request #7030 from ceph/wip-detect-bz2-lz4

configure: detect bz2 and lz4

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #7016 from xiexingguo/xxg-wip-14151
Sage Weil [Sun, 3 Jan 2016 18:20:01 +0000 (13:20 -0500)]
Merge pull request #7016 from xiexingguo/xxg-wip-14151

osd: fix sparse-read result code checking logic

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #7031 from wonzhq/log-monitor-2
Sage Weil [Sun, 3 Jan 2016 18:19:30 +0000 (13:19 -0500)]
Merge pull request #7031 from wonzhq/log-monitor-2

mon: fix the can't change subscribe level bug in monitoring log

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #7009 from majianpeng/osd-scrub-sleep-cause-thread-suicide
Sage Weil [Sun, 3 Jan 2016 18:19:10 +0000 (13:19 -0500)]
Merge pull request #7009 from majianpeng/osd-scrub-sleep-cause-thread-suicide

osd: avoid osd_op_thread suicide because osd_scrub_sleep

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #7007 from tchaikov/wip-13990
Sage Weil [Sun, 3 Jan 2016 18:18:54 +0000 (13:18 -0500)]
Merge pull request #7007 from tchaikov/wip-13990

osd: do not keep ref of old osdmap in pg

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #6977 from stiopaa1/msg_override
Sage Weil [Sun, 3 Jan 2016 18:18:39 +0000 (13:18 -0500)]
Merge pull request #6977 from stiopaa1/msg_override

msg: add override to virutal methods

Reviewed-by: Casey Bodley <cbodley@redhat.com>
10 years agoMerge pull request #6916 from xiexingguo/xxg-wip-14072
Sage Weil [Sun, 3 Jan 2016 18:17:51 +0000 (13:17 -0500)]
Merge pull request #6916 from xiexingguo/xxg-wip-14072

osd: fix null pointer access and race condition

Reviewed-by: Kefu Chai <kchai@redhat.com>
10 years agoMerge pull request #7028 from yuyuyu101/wip-async-emplace
Sage Weil [Sun, 3 Jan 2016 18:16:01 +0000 (13:16 -0500)]
Merge pull request #7028 from yuyuyu101/wip-async-emplace

msg/async: don't use shared_ptr to manage EventCallback

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #6896 from liewegas/wip-bluestore
Sage Weil [Sun, 3 Jan 2016 18:15:13 +0000 (13:15 -0500)]
Merge pull request #6896 from liewegas/wip-bluestore

bluestore: latest and greatest

10 years agoqa/workunits/rados/test_rados_tool.sh: fix path 6896/head
Sage Weil [Sun, 3 Jan 2016 18:05:22 +0000 (13:05 -0500)]
qa/workunits/rados/test_rados_tool.sh: fix path

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoqa/workunits/rados/test_rados_tool: adapt to new buffer hexdump
Sage Weil [Sun, 3 Jan 2016 02:14:35 +0000 (21:14 -0500)]
qa/workunits/rados/test_rados_tool: adapt to new buffer hexdump

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agouniform the type format
Ning Yao [Fri, 11 Dec 2015 14:21:32 +0000 (22:21 +0800)]
uniform the type format

Signed-off-by: Ning Yao <zay11022@gmail.com>
10 years agoos/bluestore/BlueStore: fix overlay keys
YiQiang Chen [Thu, 31 Dec 2015 15:31:54 +0000 (10:31 -0500)]
os/bluestore/BlueStore: fix overlay keys

Signed-off-by: YiQiang Chen <cyqsign@163.com>
10 years agofs: fix unclosed formatter session
xie.xingguo [Thu, 31 Dec 2015 15:25:53 +0000 (10:25 -0500)]
fs: fix unclosed formatter session

Fixes: #14210
Signed-off-by: xie.xingguo <xie.xingguo@zte.com.cn>
10 years agoqa/workunits/cephtool/test.sh: leave sortbitwise set
Sage Weil [Thu, 31 Dec 2015 14:07:57 +0000 (09:07 -0500)]
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>
10 years agoos/bluestore/BlueFS: remove deleted file from dirty list
Sage Weil [Thu, 31 Dec 2015 13:55:06 +0000 (08:55 -0500)]
os/bluestore/BlueFS: remove deleted file from dirty list

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore: Don't forget close fd in _setup_block_symlink_or_file.
Jianpeng Ma [Thu, 31 Dec 2015 11:11:40 +0000 (19:11 +0800)]
os/bluestore: Don't forget close fd in _setup_block_symlink_or_file.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
10 years agoos/bluestore: write 'type' file
Sage Weil [Wed, 30 Dec 2015 21:53:41 +0000 (16:53 -0500)]
os/bluestore: write 'type' file

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoceph-objectstore-tool: don't require journal path
Sage Weil [Wed, 30 Dec 2015 15:26:16 +0000 (10:26 -0500)]
ceph-objectstore-tool: don't require journal path

Assume journal symlink is present.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoceph-objectstore-tool: get store type from 'type' file, if present
Sage Weil [Wed, 30 Dec 2015 15:22:35 +0000 (10:22 -0500)]
ceph-objectstore-tool: get store type from 'type' file, if present

Just like ceph-osd.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore/BlueFS: wait for flush aios to complete before returning
Sage Weil [Wed, 30 Dec 2015 15:16:19 +0000 (10:16 -0500)]
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>
10 years agoos/bluestore/BlockDevice: clean up aio completion a bit
Sage Weil [Wed, 30 Dec 2015 15:15:22 +0000 (10:15 -0500)]
os/bluestore/BlockDevice: clean up aio completion a bit

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore/BlueFS: delay IOContext dtor until after io completes
Sage Weil [Tue, 29 Dec 2015 18:43:03 +0000 (13:43 -0500)]
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>
10 years agoos/bluestore/BlueFS: fix a few leaks
Sage Weil [Tue, 29 Dec 2015 18:21:34 +0000 (13:21 -0500)]
os/bluestore/BlueFS: fix a few leaks

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoceph_test_objectstore: close cct on shutdown
Sage Weil [Tue, 29 Dec 2015 18:13:57 +0000 (13:13 -0500)]
ceph_test_objectstore: close cct on shutdown

This lets us do leak checking.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore/BlueRocksEnv: fix several leaks
Sage Weil [Tue, 29 Dec 2015 18:00:47 +0000 (13:00 -0500)]
os/bluestore/BlueRocksEnv: fix several leaks

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore/BlueFS: fix leak of iocs in writer
Sage Weil [Tue, 29 Dec 2015 18:10:17 +0000 (13:10 -0500)]
os/bluestore/BlueFS: fix leak of iocs in writer

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agokv/RocksDBStore: fix leak of custom Env
Sage Weil [Tue, 29 Dec 2015 18:01:30 +0000 (13:01 -0500)]
kv/RocksDBStore: fix leak of custom Env

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore/BlockDevice: fix FS leak
Sage Weil [Tue, 29 Dec 2015 18:00:22 +0000 (13:00 -0500)]
os/bluestore/BlockDevice: fix FS leak

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agovstart.sh: no need for 'quit' to ceph cli
Sage Weil [Tue, 29 Dec 2015 14:55:22 +0000 (09:55 -0500)]
vstart.sh: no need for 'quit' to ceph cli

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agovstart.sh: k=2 for ec
Sage Weil [Tue, 29 Dec 2015 14:54:03 +0000 (09:54 -0500)]
vstart.sh: k=2 for ec

It didn't like k=1 with the default profile.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore: be tolerant of collection_list bounds
Sage Weil [Tue, 29 Dec 2015 14:45:47 +0000 (09:45 -0500)]
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>
10 years agoCMakeLists: update for os/ reorg
Sage Weil [Mon, 28 Dec 2015 19:00:42 +0000 (14:00 -0500)]
CMakeLists: update for os/ reorg

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/Makefile: fix typo
Sage Weil [Fri, 25 Dec 2015 14:16:32 +0000 (09:16 -0500)]
os/Makefile: fix typo

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/kstore: cache in-flight stripe updates in memory
Sage Weil [Thu, 24 Dec 2015 18:39:43 +0000 (13:39 -0500)]
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>
10 years agocommon/buffer: make hexdump look like 'hexdump -C ...'
Sage Weil [Thu, 24 Dec 2015 15:41:08 +0000 (10:41 -0500)]
common/buffer: make hexdump look like 'hexdump -C ...'

...the better to diff them with.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/kstore: debug nid
Sage Weil [Thu, 24 Dec 2015 15:17:06 +0000 (10:17 -0500)]
os/kstore: debug nid

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/kstore: fix bugs in read stripe logic
Sage Weil [Thu, 24 Dec 2015 15:16:52 +0000 (10:16 -0500)]
os/kstore: fix bugs in read stripe logic

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoceph_test_objectstore: clean out test dir for each test
Sage Weil [Wed, 23 Dec 2015 22:55:22 +0000 (17:55 -0500)]
ceph_test_objectstore: clean out test dir for each test

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/kstore: clear coll_map on umount
Sage Weil [Thu, 24 Dec 2015 14:20:05 +0000 (09:20 -0500)]
os/kstore: clear coll_map on umount

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoosd: do not catch mkfs exceptions
Sage Weil [Wed, 23 Dec 2015 21:38:50 +0000 (16:38 -0500)]
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>
10 years agoos/bluestore/StupidAllocator: be less stupid about alloc_unit
Sage Weil [Wed, 23 Dec 2015 21:29:27 +0000 (16:29 -0500)]
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>
10 years agounittest_bluestore_types: fix warnings
Sage Weil [Wed, 23 Dec 2015 16:58:17 +0000 (11:58 -0500)]
unittest_bluestore_types: fix warnings

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore/bluestore_types: fix bluestore_extent_ref_map_t test inst
Sage Weil [Wed, 23 Dec 2015 16:58:07 +0000 (11:58 -0500)]
os/bluestore/bluestore_types: fix bluestore_extent_ref_map_t test inst

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/Makefile: cosmetic
Sage Weil [Wed, 23 Dec 2015 16:35:05 +0000 (11:35 -0500)]
os/Makefile: cosmetic

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/fs: move btrfs_ioctl.h to os/fs
Sage Weil [Wed, 23 Dec 2015 16:34:22 +0000 (11:34 -0500)]
os/fs: move btrfs_ioctl.h to os/fs

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/ZFS: move to os/fs
Sage Weil [Wed, 23 Dec 2015 16:32:28 +0000 (11:32 -0500)]
os/ZFS: move to os/fs

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/keyvaluestore: move KeyValueStore into os/keyvaluestore/*
Sage Weil [Wed, 23 Dec 2015 16:30:30 +0000 (11:30 -0500)]
os/keyvaluestore: move KeyValueStore into os/keyvaluestore/*

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/memstore: move MemStore into os/memstore/*
Sage Weil [Wed, 23 Dec 2015 16:28:26 +0000 (11:28 -0500)]
os/memstore: move MemStore into os/memstore/*

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/filestore: move FileStore to os/filestore/*
Sage Weil [Wed, 23 Dec 2015 15:58:30 +0000 (10:58 -0500)]
os/filestore: move FileStore to os/filestore/*

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoceph:small_io_bench_dumb: drop unused include
Sage Weil [Wed, 23 Dec 2015 15:40:53 +0000 (10:40 -0500)]
ceph:small_io_bench_dumb: drop unused include

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoceph-objectstore-tool: drop unused FileSTore include
Sage Weil [Wed, 23 Dec 2015 15:40:38 +0000 (10:40 -0500)]
ceph-objectstore-tool: drop unused FileSTore include

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoremove ceph_streamtest
Sage Weil [Wed, 23 Dec 2015 15:38:08 +0000 (10:38 -0500)]
remove ceph_streamtest

This is an ancient obsolete test that is never used.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore: allocate shouldn't fail if reserve succeeded
Sage Weil [Wed, 23 Dec 2015 15:21:25 +0000 (10:21 -0500)]
os/bluestore: allocate shouldn't fail if reserve succeeded

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore/Allocator: add unreserve()
Sage Weil [Wed, 23 Dec 2015 15:19:49 +0000 (10:19 -0500)]
os/bluestore/Allocator: add unreserve()

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore/StupidAllocator: fix reservation release on allocate
Sage Weil [Wed, 23 Dec 2015 15:19:17 +0000 (10:19 -0500)]
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>
10 years agoos/bluestore/StupidAllocator: add reservation assertions
Sage Weil [Wed, 23 Dec 2015 15:17:44 +0000 (10:17 -0500)]
os/bluestore/StupidAllocator: add reservation assertions

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/kstore: do not include header in omap iterator result
Sage Weil [Wed, 23 Dec 2015 14:22:34 +0000 (09:22 -0500)]
os/kstore: do not include header in omap iterator result

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore: do not include header in iterator result
Sage Weil [Wed, 23 Dec 2015 14:22:26 +0000 (09:22 -0500)]
os/bluestore: do not include header in iterator result

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoosd/ReplicatedPG: print omap_digest in debug log
Sage Weil [Wed, 23 Dec 2015 14:21:09 +0000 (09:21 -0500)]
osd/ReplicatedPG: print omap_digest in debug log

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoceph_test_objectstore: add omap iterator test
Sage Weil [Wed, 23 Dec 2015 14:20:49 +0000 (09:20 -0500)]
ceph_test_objectstore: add omap iterator test

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoceph-objectstore-tool: add fsck command
Sage Weil [Tue, 22 Dec 2015 22:45:29 +0000 (17:45 -0500)]
ceph-objectstore-tool: add fsck command

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/ObjectStore: add fsck to interface
Sage Weil [Tue, 22 Dec 2015 22:30:48 +0000 (17:30 -0500)]
os/ObjectStore: add fsck to interface

Only bluestore and kstore implement this currently.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/kstore: clear onode on _do_remove
Sage Weil [Tue, 22 Dec 2015 22:27:17 +0000 (17:27 -0500)]
os/kstore: clear onode on _do_remove

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos/bluestore: clear onode in _do_remove
Sage Weil [Tue, 22 Dec 2015 22:27:10 +0000 (17:27 -0500)]
os/bluestore: clear onode in _do_remove

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoosd/PGBackend: fix omap digest error message
Sage Weil [Tue, 22 Dec 2015 22:19:45 +0000 (17:19 -0500)]
osd/PGBackend: fix omap digest error message

Print the *omap* digest, not *data* digest.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoos: remove {get,set}_allow_sharded_objects from interface
Sage Weil [Tue, 22 Dec 2015 22:13:15 +0000 (17:13 -0500)]
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>