]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Wed, 6 Jan 2016 14:41:28 +0000 (09:41 -0500)]
Merge pull request #7065 from majianpeng/osd-recover-sleep-cause-thread-suicide
osd: prevent osd_recovery_sleep from causing recovery-thread suicide
Reviewed-by: Sage Weli <sage@redhat.com>
Sage Weil [Wed, 6 Jan 2016 14:40:45 +0000 (09:40 -0500)]
Merge pull request #7091 from liewegas/wip-14212
osd: clear pg_stat_queue after stopping pgs
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 6 Jan 2016 14:40:24 +0000 (09:40 -0500)]
Merge pull request #7095 from xiexingguo/xxg-wip-14204
osd: kstore: small fixes to kstore
Reviewed-by: Sage Weil <sage@newdream.net>
Kefu Chai [Wed, 6 Jan 2016 11:54:04 +0000 (19:54 +0800)]
Merge pull request #7105 from vshankar/rdb-dist-cleanup
rocksdb: remove rdb sources from dist tarball
Reviewed-by: Kefu Chai <kchai@redhat.com>
Josh Durgin [Wed, 6 Jan 2016 00:45:18 +0000 (16:45 -0800)]
Merge pull request #7119 from dmick/master
admin/build-doc: make paths absolute
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Dan Mick [Tue, 5 Jan 2016 23:49:18 +0000 (15:49 -0800)]
admin/build-doc: make paths absolute
Build failure on docs.dhc because pip apparently was changing directory
before building rbd with cython, causing the relative library path
references to fail. Bite the bullet and make everything absolute (since
we already have TOPDIR to use).
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Casey Bodley [Tue, 5 Jan 2016 21:06:20 +0000 (16:06 -0500)]
Merge pull request #7103 from ceph/wip-cmake-reorg
cmake: cleanups and more features from automake
Ali Maredia [Mon, 4 Jan 2016 21:37:32 +0000 (16:37 -0500)]
cmake: udev linking and Findudev module changes
Linked udev into librbd, restored UDEV_I to
UDEV_INCLUDE_DIR in Findudev.cmake
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Mon, 4 Jan 2016 20:03:48 +0000 (15:03 -0500)]
cmake: Findxio.cmake update Xio OFF by default
Option WITH_XIO now OFF but required by default,
Findxio.cmake now using
FIND_PACKAGE_HANDLE_STANDARD_ARGS.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Fri, 1 Jan 2016 20:44:32 +0000 (15:44 -0500)]
cmake: Check for required Cython package
Added a FindCython.cmake, Cython is required.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Fri, 1 Jan 2016 04:34:51 +0000 (23:34 -0500)]
cmake: Added cls_numops_client library
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Fri, 1 Jan 2016 03:48:02 +0000 (22:48 -0500)]
cmake: test/erasure-code CMake additions
Added missing executables and libraries.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Fri, 1 Jan 2016 03:31:56 +0000 (22:31 -0500)]
cmake: test CMake additions
Added missing tests, changed linking, among
other changes.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Fri, 1 Jan 2016 02:54:21 +0000 (21:54 -0500)]
cmake: src/erasure-code CMakeLists.txt's changes
Added ec_neon libraries in jerasure and shec dirs,
reorganized checks for flags, other minor
erasure-code directory changes.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Thu, 31 Dec 2015 23:56:45 +0000 (18:56 -0500)]
cmake: Missing binaries from src/tools added
Added ceph-objecstore-tool, ceph-kvstore-tool,
ceph-psim, ceph-client-debug, ceph-scratchtool,
ceph-scratchtoolpp, ceph-radosacl,
ceph-osdomap-tool, ceph-monmap-tool from src/tools
Makefiles.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Thu, 31 Dec 2015 22:20:36 +0000 (17:20 -0500)]
cmake: CMAKE_DL_LIBS is not linked into osdmaptool
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Thu, 31 Dec 2015 22:11:49 +0000 (17:11 -0500)]
cmake: libradosstriper dir CMakeLists.txt added
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Thu, 31 Dec 2015 21:37:49 +0000 (16:37 -0500)]
cmake: Added librados_api library
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Thu, 31 Dec 2015 21:27:02 +0000 (16:27 -0500)]
cmake: Added common/Cycles.cc to libcommon
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Thu, 31 Dec 2015 05:53:12 +0000 (00:53 -0500)]
cmake: Boost libraries cleanup
Added components to Boost find_package, changed
libraries from boost_foo to ${Boost_FOO_LIBRARY}
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Casey Bodley [Mon, 21 Sep 2015 21:06:17 +0000 (17:06 -0400)]
cmake: add detection for HAVE_CURL_MULTI_WAIT
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Ali Maredia [Thu, 31 Dec 2015 22:46:04 +0000 (17:46 -0500)]
cmake: rbd_replay CMakeLists.txt, rbd_replay fixes
moved rbd_replay targets into it's directory,
rbd-replay-prep added, removed "lib" in front of
all rbd_replay libraries, linked rbd_replay into
ceph-dencoder.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Thu, 31 Dec 2015 04:34:30 +0000 (23:34 -0500)]
cmake: Babeltrace detection supported
Babeltrace defaults to ON, Findbabeltrace.cmake &
BABELTRACE variables in config-h.in.cmake added.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Thu, 31 Dec 2015 03:01:52 +0000 (22:01 -0500)]
cmake: LTTng functionality added
Set LTTNG option to ON by default, added
Findlttng.cmake, added CMakeLists.txt in
src/tracing that generates .h files using
lttng-gen-tp, added WITH_LTTNG to
config-h.in.cmake.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Thu, 31 Dec 2015 02:06:08 +0000 (21:06 -0500)]
cmake: Updated allocator checking
Added a FindJeMalloc.cmake file, changed
allocator checking logic (tcmalloc is default),
replaced TCMALLOC_LIBS to ALLOC_LIBS, added
HAVE_LIB(ALLOCATOR) to config-h.in.cmake.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Thu, 31 Dec 2015 03:58:55 +0000 (22:58 -0500)]
cmake: kv dir and bluestore unittests
Added CMakeLists.txt in src/kv, replaced
os_mon_objs with kv_objs, linked libkv to os,
added HAVE_LIBROCKSDB to config-h.in.cmake,
tweaked rocksdb unittest, added bluestore
unittests, made rocksdb build with
add_custom_target instead of custom_command.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Josh Durgin [Tue, 5 Jan 2016 19:42:09 +0000 (11:42 -0800)]
Merge remote-tracking branch 'origin/jewel'
Josh Durgin [Tue, 5 Jan 2016 19:41:00 +0000 (11:41 -0800)]
Merge pull request #7114 from dillaman/wip-14234-jewel
librbd: reduce verbosity of common error condition logging
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Tue, 5 Jan 2016 19:39:12 +0000 (11:39 -0800)]
Merge branch 'wip-14237-jewel' of git://github.com/dillaman/ceph into jewel
qa/workunits/rbd: import_export should use clean temp space
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Tue, 5 Jan 2016 18:30:26 +0000 (10:30 -0800)]
Merge pull request #7113 from dillaman/wip-14168-jewel
journal: disconnect watch after watch error
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Tue, 5 Jan 2016 17:48:37 +0000 (12:48 -0500)]
qa/workunits/rbd: import_export should use clean temp space
Fixes: #14237
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 5 Jan 2016 17:29:13 +0000 (12:29 -0500)]
librbd: reduce verbosity of common error condition logging
Fixes: #14234
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 5 Jan 2016 16:29:14 +0000 (11:29 -0500)]
Merge pull request #7046 from clever215/merge_diff_1224
rbd: correct an output string for merge-diff
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Orit Wasserman [Tue, 5 Jan 2016 10:13:38 +0000 (11:13 +0100)]
Merge pull request #6975 from yehudasa/wip-rgw-content-length
Wip rgw content length
Venky Shankar [Tue, 5 Jan 2016 05:29:15 +0000 (10:59 +0530)]
rocksdb: remove rdb sources from dist tarball
Fixes: #13554
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Jason Dillaman [Tue, 5 Jan 2016 04:13:16 +0000 (23:13 -0500)]
journal: disconnect watch after watch error
Fixes: #14168
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kongming [Sun, 6 May 2001 23:50:45 +0000 (07:50 +0800)]
rbd: correct an output string for merge-diff
This modification correct an output string for rbd merge-diff, in which mistakenly output variables of first diff header rather than second diff header.
Signed-off-by: Kongming Wu <wu.kongming@h3c.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>
xie xingguo [Mon, 4 Jan 2016 11:50:02 +0000 (19:50 +0800)]
os: remove duplicated assignment
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 4 Jan 2016 09:56:57 +0000 (17:56 +0800)]
os: remove redundant omap_head check logic
It will never be reachable.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 4 Jan 2016 07:22:35 +0000 (15:22 +0800)]
os: remove unused local variable
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 4 Jan 2016 07:14:08 +0000 (15:14 +0800)]
os: remove redundant cleanup
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 4 Jan 2016 07:12:57 +0000 (15:12 +0800)]
os: reset result code to errno for better tracing
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 4 Jan 2016 07:09:59 +0000 (15:09 +0800)]
os: fix potential null pointer access
Fixes: #14204
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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>