]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Igor Podoski [Mon, 9 Nov 2015 13:33:10 +0000 (14:33 +0100)]
Reduce string use in coll_t::calc_str()
1. Reduce string use.
2. Speedup dec and hex to char conversion.
Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
Josh Durgin [Tue, 5 Jan 2016 01:59:52 +0000 (17:59 -0800)]
Merge remote-tracking branch 'origin/jewel'
Kefu Chai [Tue, 5 Jan 2016 01:40:46 +0000 (09:40 +0800)]
Merge pull request #6669 from dzafman/omap-small-bugs
Omap small bugs adapted
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yehuda Sadeh [Mon, 4 Jan 2016 20:54:33 +0000 (12:54 -0800)]
Revert "rgw: use smart pointer for C_Reinitwatch"
This commit introduced regressions, issues #14173, #14180.
The problem is that the context deletes itself after execution,
so using a shared_ptr to hold it is problematic, as we'll eventually
have a double free. Also, it doesn't solve the underlying leak issue.
This reverts commit
e9daed221e7c6fd84aef78c3d5fc18470b916fcb .
Josh Durgin [Mon, 4 Jan 2016 20:46:47 +0000 (15:46 -0500)]
Merge pull request #7101 from dillaman/wip-14221-jewel
qa/workunits/rbd: rbd-nbd test should use sudo for map/unmap ops
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
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>
David Zafman [Thu, 10 Dec 2015 23:36:41 +0000 (15:36 -0800)]
osd: Allow get_hash_info to use attrs map if available
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 20 Nov 2015 23:19:12 +0000 (15:19 -0800)]
osd: Add stat_error for regular scrub handling
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 20 Nov 2015 21:25:38 +0000 (13:25 -0800)]
osd: Fix ScrubMap::object::decode version
Signed-off-by: David Zafman <dzafman@redhat.com>
Jianpeng Ma [Wed, 23 Sep 2015 08:44:13 +0000 (16:44 +0800)]
osd/ReplicatedPG: for copy_get get omap, firstly check ob whether has omap.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Jianpeng Ma [Wed, 23 Sep 2015 05:40:35 +0000 (13:40 +0800)]
osd/PGBackend: Don't change error type from DEEP_ERROR to SHALLOW_ERROR.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Jianpeng Ma [Tue, 22 Sep 2015 06:39:09 +0000 (14:39 +0800)]
osd/ReplicatedBackend: Don't forget reset_tp_timeout for first read.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Jianpeng Ma [Tue, 22 Sep 2015 05:48:04 +0000 (13:48 +0800)]
osd/ReplicatedPG: For omapclear/omaprmkeys, no need call touch.
The code already check object whether exist. So it don't need call
touch.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Jianpeng Ma [Tue, 22 Sep 2015 03:44:21 +0000 (11:44 +0800)]
osd/ReplicatedPG: for omapclear/omaprmkeys no neet set FLAG_OMAP.
When set omapheader/omapvals, it alreade set FLAG_OMAP. So for remove
don't set again.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Jianpeng Ma [Tue, 22 Sep 2015 03:38:30 +0000 (11:38 +0800)]
osd/ReplicatedPG: It should call clear_omap_digest.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
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
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
Jason Dillaman [Mon, 4 Jan 2016 16:21:24 +0000 (11:21 -0500)]
qa/workunits/rbd: rbd-nbd test should use sudo for map/unmap ops
Fixes: #14221
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Sage Weil [Wed, 23 Dec 2015 16:35:05 +0000 (11:35 -0500)]
os/Makefile: cosmetic
Signed-off-by: Sage Weil <sage@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>