]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 4 Aug 2015 13:57:41 +0000 (09:57 -0400)]
client/Makefile: ship InodeRef
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Tue, 4 Aug 2015 13:13:40 +0000 (14:13 +0100)]
Merge pull request #4753 from ceph/wip-client-inode-refs
client: hold reference for returned inode
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 4 Aug 2015 13:12:38 +0000 (14:12 +0100)]
Merge pull request #5466 from ceph/wip-12578
mds: open base inode's snaprealm after decoding snapblob
Reviewed-by: John Spray <john.spray@redhat.com>
Yan, Zheng [Tue, 4 Aug 2015 11:18:10 +0000 (19:18 +0800)]
mds: open base inode's snaprealm after decoding snapblob
base inode has no parent, so can we mark its snaprealm open
immediately. This change makes sure replica mdsdir's snaplream
is opened.
Fixes: #12578
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Kefu Chai [Tue, 4 Aug 2015 11:08:24 +0000 (19:08 +0800)]
Merge pull request #5140 from tchaikov/wip-pg-ls-update-pending-rel-notes
doc: add changes to "pg ls*" commands to pending release notes
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Fri, 3 Jul 2015 10:28:24 +0000 (18:28 +0800)]
doc: add changes to "pg ls*" commands to pending release notes
"pg ls*" commands now accept recovering instead of recovery as
one of its states.
Fixes: #11569
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 4 Aug 2015 07:04:29 +0000 (15:04 +0800)]
Merge pull request #5337 from branch-predictor/bp-reduce-mallocs
Thread.cc: remove malloc/free pair
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 4 Aug 2015 07:03:11 +0000 (15:03 +0800)]
Merge pull request #5000 from ceph/wip-da-SCA-
20150601
Various SCA and Coverity fixes
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 4 Aug 2015 05:58:21 +0000 (13:58 +0800)]
Merge pull request #5312 from xinxinsh/wip-sparse-copy
use SEEK_HOLE/SEEK_DATA for sparse copy
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 4 Aug 2015 05:52:15 +0000 (13:52 +0800)]
Merge pull request #5420 from ceph/wip-12429
osd/OSDMap: handle incrementals that modify+del pool
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 4 Aug 2015 01:49:38 +0000 (21:49 -0400)]
Merge pull request #5431 from kylinstorage/test_cache_pool_script_fix
fix: qa/workunits/rados/test_cache_pool.sh
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 4 Aug 2015 01:47:41 +0000 (21:47 -0400)]
Merge pull request #5430 from ceph/wip-12537
rgw: url encode exposed bucket
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Aug 2015 19:14:37 +0000 (15:14 -0400)]
Merge pull request #5400 from tchaikov/wip-12451
tools/rados: update the help message
Reviewed-by: Sage Weil <sage@redhat.com>
Josh Durgin [Mon, 3 Aug 2015 18:05:55 +0000 (11:05 -0700)]
Merge pull request #5440 from vumrao/wip-vumrao-12458-doc
doc: change --keyfile description in man page of rbd help
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Vikhyat Umrao [Fri, 31 Jul 2015 11:54:37 +0000 (17:24 +0530)]
doc: change "--keyfile" description in man page of rbd help
"--keyring" has higher priority than "--keyfile".
"--keyfile" option is overridden by "--keyring"
if latter is also specified.
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
Kefu Chai [Mon, 3 Aug 2015 17:18:47 +0000 (01:18 +0800)]
Merge pull request #5455 from ceph/wip-cephfs-cmake
CMake fixes for CephFS
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 3 Aug 2015 16:09:33 +0000 (12:09 -0400)]
Merge pull request #5456 from kylinstorage/wip-do_autogen.sh
Allow do_autogen.sh pass configure parameters
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Mon, 3 Aug 2015 15:27:12 +0000 (16:27 +0100)]
CMake: add crushtool
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 15:26:49 +0000 (16:26 +0100)]
CMake: fix librados build
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 15:11:22 +0000 (16:11 +0100)]
CMake: fix rbd build
Don't link with 'global' from rbd (to match
autotools update
fa78739 ). Fixes "g_ceph_context
defined twice" error.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 11:59:00 +0000 (12:59 +0100)]
CMake: libblkid not only needed with rbd
It's linked in libcommon.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 11:52:58 +0000 (12:52 +0100)]
CMake: smalliobenchrbd should dep on rbd
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 11:48:32 +0000 (12:48 +0100)]
CMake: set WITH_CEPHFS by default
Option was referenced in CMakeLists but
not actually set.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 12:14:16 +0000 (13:14 +0100)]
CMake: fix cephfs cls build
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 11:51:42 +0000 (12:51 +0100)]
CMake: fix cephfs test targets
These had bad lib names.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 31 Jul 2015 12:26:12 +0000 (13:26 +0100)]
CMake: add cephfs tools
cephfs-table-tool, cephfs-data-scan, cephfs-journal-tool
Signed-off-by: John Spray <john.spray@redhat.com>
Kefu Chai [Mon, 3 Aug 2015 14:37:35 +0000 (22:37 +0800)]
Merge pull request #5422 from ceph/wip-fix-filestore-getattr
tests: fix the ObjectStore/StoreTest.SimpleCloneTest in "ceph_test_objectstore"
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Yan, Zheng [Mon, 3 Aug 2015 13:28:47 +0000 (21:28 +0800)]
Merge pull request #5375 from ceph/wip-config-root-ino
Make UID of new root inos configurable
Yunchuan Wen [Mon, 3 Aug 2015 13:05:18 +0000 (13:05 +0000)]
add help to do_autogen.sh
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
Yunchuan Wen [Mon, 3 Aug 2015 13:03:47 +0000 (13:03 +0000)]
Allow do_autogen.sh to pass configure parameters
Currently do_autogen.sh does not allow to pass parameters
of configure to disable/enable components during building, which is not
flexible, this patch add the ability to it.
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
Yan, Zheng [Wed, 24 Jun 2015 07:39:31 +0000 (15:39 +0800)]
client: use smart pointer to track temporary inode reference
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 24 Jun 2015 07:54:31 +0000 (15:54 +0800)]
client: use smart pointer to track 'cwd' and 'root_parents'
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 24 Jun 2015 07:52:10 +0000 (15:52 +0800)]
client: convert Inode::snapdir_parent to smart pointer
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 24 Jun 2015 07:24:41 +0000 (15:24 +0800)]
client: convert CapSnap::in to smart pointer
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 24 Jun 2015 07:50:10 +0000 (15:50 +0800)]
client: convert Fh::inode to smart pointer
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 24 Jun 2015 07:00:50 +0000 (15:00 +0800)]
client: use smart pointers in MetaRequest
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 24 Jun 2015 03:21:23 +0000 (11:21 +0800)]
client: convert Dentry::inode to smart pointer
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Sat, 23 May 2015 12:01:46 +0000 (20:01 +0800)]
client: hold reference for returned inode
CLient::make_request() returns pointer of target inode, but it does not
increase reference count of the returned inode. The inode may get freed
when CLient::make_request() releases MetaRequest.
he fix is hold a reference for the returned inode. Since there are many
of places use CLient::make_request() directly or indirectly, it's easy
to leak reference. This patch uses intrusive_ptr to track the reference.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Orit Wasserman [Fri, 31 Jul 2015 19:39:04 +0000 (21:39 +0200)]
Merge pull request #5445 from ceph/wip-12432
Wip 12432
Yehuda Sadeh [Wed, 22 Jul 2015 17:01:00 +0000 (10:01 -0700)]
rgw: set http status in civetweb
Need to set the http status in civetweb so that we report it correctly.
Fixes: #12432
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 31 Jul 2015 18:03:29 +0000 (11:03 -0700)]
civetweb: update submodule to support setting of http status
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 31 Jul 2015 17:25:46 +0000 (13:25 -0400)]
Merge pull request #5258 from zhouyuan/rgw_skip_first_chunk
rgw: skip prefetch first chunk if range get falls to shadow objects
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Ilya Dryomov [Fri, 31 Jul 2015 16:50:58 +0000 (19:50 +0300)]
doc: krbd supports clones since 3.10
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Loic Dachary [Fri, 31 Jul 2015 10:29:04 +0000 (12:29 +0200)]
Merge pull request #5438 from ceph/fix-doc-build
doc: fix the build of placement-groups.rst
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 30 Jul 2015 14:19:41 +0000 (22:19 +0800)]
os/FileStore: getattr() should return 0 if success
* fix the test of ObjectStore/StoreTest.SimpleCloneTest, the expected
return value of getattr() should be 0. otherwise it otherwise it fails
on objectstore backends of "memstore" and "keyvaluestore".
* change FileStore::getattr() to return 0 on success
* tighten related tests in ceph_test_objectstore, to test the return value
of getattr() using ASSERT_EQ(r, 0) instead of ASSERT_GE(r, 0)
Signed-off-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Fri, 31 Jul 2015 08:05:41 +0000 (16:05 +0800)]
KeyValueStore: Fix incorrect rm_keys behaviors
GenericObjectMap will copyup parents keys when rm keys, but if
caller(KeyValueStore) already buffer "set keys", it shouldn't
copyup reset keys.
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Kefu Chai [Fri, 31 Jul 2015 09:07:29 +0000 (17:07 +0800)]
doc: fix the build of placement-groups.rst
add a reference target of "mapping pgs to osds"
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 31 Jul 2015 08:47:55 +0000 (16:47 +0800)]
Merge pull request #5432 from ceph/wip-fix-rbd-build
make: fix the build of "rbd"
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Mingxin Liu [Fri, 31 Jul 2015 03:16:41 +0000 (11:16 +0800)]
fix: qa/workunits/rados/test_cache_pool.sh
Signed-off-by: Mingxin Liu <mingxinliu@ubuntukylin.com>
Loic Dachary [Fri, 31 Jul 2015 07:55:01 +0000 (09:55 +0200)]
Merge pull request #5434 from tobegit3hub/remove_execute_mode
Remove execute mode of source files
Reviewed-by: Loic Dachary <ldachary@redhat.com>
tobe [Fri, 31 Jul 2015 07:47:43 +0000 (15:47 +0800)]
Remove execute mode of source files
Haomai Wang [Fri, 31 Jul 2015 07:41:32 +0000 (15:41 +0800)]
Merge pull request #5398 from mingyuez/master
rbd:If the image has any protected snaps,'rbd snap purge image' will return failure without removing any snaps.
Reviewed-by: Josh During <jdurgin@redhat.com>
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Kefu Chai [Fri, 31 Jul 2015 06:41:51 +0000 (14:41 +0800)]
make: fix the build of "rbd"
`CEPH_GLOBAL` was removed in
fa78739 , but the linked libraries does not
offer all needed symbols for "rbd". so add them back.
Signed-off-by: Kefu Chai <kchai@redhat.com>
mingyuez [Fri, 31 Jul 2015 04:06:05 +0000 (12:06 +0800)]
rbd:'rbd purge image' will return failure without removing any snaps if the image has a protected snap
Signed-off-by: mingyuez <zhao.mingyue@h3c.com>
Kefu Chai [Fri, 31 Jul 2015 02:24:30 +0000 (10:24 +0800)]
Merge pull request #5395 from tchaikov/wip-12512
common/syncfs: fall back to sync(2) if syncfs(2) not available
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Fri, 31 Jul 2015 02:14:02 +0000 (10:14 +0800)]
Merge pull request #5402 from ceph/wip-claim-sparse-read-buffer
osd/ReplicatedPG: claim the read buffer instead of copying it
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Fri, 31 Jul 2015 02:13:40 +0000 (22:13 -0400)]
Merge pull request #5428 from ceph/wip-kill-rest-bench
kill rest-bench
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Yuan Zhou [Thu, 16 Jul 2015 08:18:09 +0000 (16:18 +0800)]
rgw: skip prefetch first chunk if range get falls to shadow objects
Currently the head object will be prefetched in each GET:
a) This is unnecessary if the Range GET falls to shadow objects.
b) The GET request would be quite slow if we have a big head object
This patch adds some check on the Range. If it's not in the head
object(>=rgw_max_chunk_size) then skip the prefetch.
Fixes: #12539
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
Josh Durgin [Thu, 30 Jul 2015 23:35:01 +0000 (16:35 -0700)]
Merge remote-tracking branch 'origin/next'
Josh Durgin [Thu, 30 Jul 2015 23:26:51 +0000 (16:26 -0700)]
Merge pull request #5425 from ceph/wip-12479-next
librbd: test crash during client upgrade suite
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yehuda Sadeh [Thu, 30 Jul 2015 21:47:15 +0000 (14:47 -0700)]
rgw: url encode exposed bucket
Fixes: #12537
Don't send the bucket name back without url encoding it.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Thu, 30 Jul 2015 21:32:52 +0000 (17:32 -0400)]
Merge pull request #5423 from oddomatik/patch-1
doc: No CRUSH involvement in deciding PG target
Reviewed-by: Sage Weil <sage@redhat.com>
Josh Durgin [Thu, 30 Jul 2015 21:08:32 +0000 (14:08 -0700)]
Merge pull request #5426 from ceph/wip-12383-next
rbd: remove dependency on non-ABI controlled CephContext
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 30 Jul 2015 21:00:15 +0000 (14:00 -0700)]
Merge pull request #5399 from tchaikov/wip-12458
rbd: add "--keyring" option to help message
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yehuda Sadeh [Thu, 30 Jul 2015 17:52:06 +0000 (13:52 -0400)]
Merge pull request #5414 from cxwshawn/master
doc: add bucket object version description.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Thu, 30 Jul 2015 17:24:00 +0000 (13:24 -0400)]
remove libs3 submodule
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 30 Jul 2015 17:21:36 +0000 (13:21 -0400)]
remove rest-bench
This is a weak tool; users should look to cosbench or others instead.
Signed-off-by: Sage Weil <sage@redhat.com>
Josh Durgin [Thu, 30 Jul 2015 16:25:30 +0000 (09:25 -0700)]
Merge pull request #5419 from ceph/wip-kfsx-invalidate
test_librbd_fsx: invalidate before discard in krbd mode
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
oddomatik [Thu, 30 Jul 2015 14:33:09 +0000 (22:33 +0800)]
No CRUSH involvement in deciding PG target
Quoting from elsewhere "[we calculate] a placement group using the object name, a hash code, the number of PGs in the pool and the pool name"
John Spray [Thu, 30 Jul 2015 13:20:56 +0000 (14:20 +0100)]
osd/OSDMap: handle incrementals that modify+del pool
Because new_pools was processed after old_pools, if something
was modified and then deleted in the same incremental
map, then the resulting state would be a pool in the map
that had no entry in pool_name.
Fixes: #12429
Signed-off-by: John Spray <john.spray@redhat.com>
Jason Dillaman [Wed, 29 Jul 2015 16:46:24 +0000 (12:46 -0400)]
lockdep: allow lockdep to be dynamically enabled/disabled
librbd test cases attempt to enable lockdep coverage via the librados
API. Use a configuration observer to register/unregister lockdep
support.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 28 Jul 2015 18:23:14 +0000 (14:23 -0400)]
tests: librbd API test cannot use private md_config_t struct
Remove all depencencies on md_config_t and instead use librados API
methods to get/set configuration values.
Fixes: #12479
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 30 Jul 2015 13:00:57 +0000 (09:00 -0400)]
librados_test_stub: implement conf get/set API methods
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Wed, 29 Jul 2015 10:18:35 +0000 (18:18 +0800)]
rbd: add "--keyring" option to help message
Refs: #12458
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 30 Jul 2015 03:36:37 +0000 (11:36 +0800)]
Merge pull request #5401 from ceph/wip-12450
tools/rados: change the default max_ops to 16
Reviewed-by: David Zafman <dzafman@redhat.com>
shawn [Thu, 30 Jul 2015 02:09:12 +0000 (10:09 +0800)]
doc: add bucket object version description.
bucket object version has been supported, but do not have description in the docs,
so add this part.
Signed-off-by: shawn chen <cxwshawn@gmail.com>
Ilya Dryomov [Wed, 29 Jul 2015 17:50:20 +0000 (20:50 +0300)]
test_librbd_fsx: invalidate before discard in krbd mode
Commit
bd050240ceef ("test_librbd_fsx: flush before discard in krbd
mode") added an fsync() before BLKDISCARD. Don't know what I was
thinking at the time, but I missed the invalidate part, for which we
need to use the BLKFLSBUF ioctl.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Samuel Just [Fri, 24 Jul 2015 22:38:18 +0000 (15:38 -0700)]
Log::reopen_log_file: take m_flush_mutex
Otherwise, _flush() might continue to write to m_fd after it's closed.
This might cause log data to go to a data object if the filestore then
reuses the fd during that time.
Fixes: #12465
Backport: firefly, hammer
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit
8778ab3a1ced7fab07662248af0c773df759653d )
Sage Weil [Wed, 29 Jul 2015 13:30:37 +0000 (09:30 -0400)]
Merge pull request #5348 from athanatos/wip-12465
log: take mutex when reopening log fd
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 29 Jul 2015 11:49:53 +0000 (19:49 +0800)]
tools/rados: change the first op id to 0
the first op id was 16 by default, which is okay, but a non-zero
magic number could lead to questions. max_op was mixed up with
max_ops, and changed to 16 in
51e402e3 by mistake.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 29 Jul 2015 11:44:57 +0000 (19:44 +0800)]
tools/rados: change the default max_ops to 16
otherwise the load-gen will not emit any ops by default.
Fixes: #12450
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 29 Jul 2015 11:11:08 +0000 (19:11 +0800)]
tools/rados: update the help message
Fixes: #12451
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 29 Jul 2015 07:52:19 +0000 (15:52 +0800)]
common/syncfs: fall back to sync(2) if syncfs(2) not available
Fixes: #12512
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Tue, 28 Jul 2015 19:27:24 +0000 (15:27 -0400)]
rbd: remove dependency on non-ABI controlled CephContext
The rbd CLI tool no longer attempts to initialize a CephContext
and pass said context to librados since it's possible that the
structure will not be ABI compatible between rbd and librados.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Yehuda Sadeh [Tue, 28 Jul 2015 18:21:25 +0000 (14:21 -0400)]
Merge pull request #5139 from jmunhoz/wip-7817-ms
rgw: add minimum support for copy multipart part
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 28 Jul 2015 17:55:39 +0000 (13:55 -0400)]
Merge pull request #5313 from guce/rgw_access_invalid_argument
rgw: check subuser illegal access parameter.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Jason Dillaman [Tue, 28 Jul 2015 17:14:29 +0000 (13:14 -0400)]
crypto: use NSS_InitContext/NSS_ShutdownContex to avoid memory leak
Switched to context-aware NSS init/shutdown functions to avoid conflicts
with parent application. Use a reference counter to properly shutdown the
NSS crypto library when the last CephContext is destroyed. This avoids
memory leaks with the NSS library from users of librados.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Josh Durgin [Tue, 28 Jul 2015 16:20:55 +0000 (09:20 -0700)]
Merge pull request #5364 from xdonghai/master
doc:modified librados-intro.rst an error of document representation
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Loic Dachary [Tue, 28 Jul 2015 14:32:04 +0000 (16:32 +0200)]
Merge pull request #5191 from theanalyst/v9.0.2/mailmap
doc: mailmap for v9.0.2 release
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Tue, 28 Jul 2015 13:38:38 +0000 (21:38 +0800)]
Merge pull request #5130 from tchaikov/wip-12167
ceph-detect-init: do not require "argparse" on py2.6
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Tue, 28 Jul 2015 13:18:18 +0000 (21:18 +0800)]
Merge pull request #5338 from hjwsm1989/wip-12459
common/WorkQueue: fix the FTBFS with GCC 4.4.7
* add nested-name-specifier ThreadPool before WorkQueueVal
Reviewed-by: Kefu Chai <kchai@redhat.com>
John Spray [Tue, 28 Jul 2015 11:43:33 +0000 (12:43 +0100)]
tools/cephfs: respect mds_root_ino_[gid|uid]
...while injecting inodes. So that if you're a cephfs
admin but not uid=0 on the client, you can get things
injected as your choice of uid/gid.
Definitely useful for dev/test, potentially useful
elsewhere too.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 28 Jul 2015 10:13:21 +0000 (11:13 +0100)]
mds: configurable uid/gid on new root inos
This is to deal with the slightly perverse situation
where a user might have all the permissions they need
to create a filesystem and mount it with fuse, but then
be unable to do anything inside the mount because
we default to creating a root-owned "/" inode.
This is immediatley useful for dev/test environments without
root, but also potentially in production environments
where the filesystem configuration/mounting is done by
someone less privileged than root.
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Tue, 28 Jul 2015 13:12:32 +0000 (09:12 -0400)]
Merge pull request #5350 from ceph/wip-pgls-filter-enc
osdc: fix pgls_filter op encoding
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 28 Jul 2015 13:10:49 +0000 (09:10 -0400)]
Merge pull request #5355 from ceph/wip-anotate-s-files
Anotate all the .s files
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 28 Jul 2015 13:05:04 +0000 (09:05 -0400)]
Merge pull request #5116 from yuyuyu101/wip-compressor
Wip compressor
Reviewed-by: Sage Weil <sage@redhat.com>
x11507 [Tue, 28 Jul 2015 12:19:41 +0000 (20:19 +0800)]
modified librados-intro.rst
Signed-off-by: x11507 <xu.donghai@h3c.com>
Kefu Chai [Tue, 28 Jul 2015 10:49:49 +0000 (18:49 +0800)]
Merge pull request #5254 from vuhuong/wip-xio
@vuhuong sorry for the latency, could you please rebase & repush , to poke the built bot again?
once the build completes, will get it merged.
thanks,
Kefu Chai [Tue, 28 Jul 2015 09:54:08 +0000 (17:54 +0800)]
osd/ReplicatedPG: claim the read buffer instead of copying it
Signed-off-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Tue, 28 Jul 2015 09:20:44 +0000 (17:20 +0800)]
Merge pull request #5349 from yuyuyu101/wip-async-fix-21
AsyncConnection: Exit process loop if entering fault