]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Sat, 31 Jan 2015 21:16:15 +0000 (13:16 -0800)]
Merge pull request #3527 from wonzhq/op-stat
osd: don't log op stats for proxy read in the cache tier
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 31 Jan 2015 21:15:47 +0000 (13:15 -0800)]
Merge pull request #3503 from ceph/wip-pg-reqids
osd: index PGLog with optional extra_reqids in each log entry
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Wang, Zhiqiang <zhiqiang.wang@intel.com>
Sage Weil [Sat, 31 Jan 2015 10:15:53 +0000 (02:15 -0800)]
ceph_test_rados: fix typo
Signed-off-by: Sage Weil <sage@redhat.com>
Josh Durgin [Sat, 31 Jan 2015 09:03:48 +0000 (01:03 -0800)]
Merge pull request #3452 from majianpeng/iohint
Iohint in librbd cache.
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jianpeng Ma [Mon, 12 Jan 2015 06:35:28 +0000 (14:35 +0800)]
librbd: Don't do readahead for random read.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 30 Jan 2015 21:22:48 +0000 (13:22 -0800)]
Merge pull request #3516 from ceph/wip-mdsmon-args
mon/MDSMonitor: fix gid/rank/state parsing
Reviewed-by: Huang Jun <hjwsm1989@gmail.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
Yehuda Sadeh [Fri, 30 Jan 2015 21:14:38 +0000 (13:14 -0800)]
Merge pull request #3551 from ceph/wip-10698
rgw: fail s3 POST auth if keystone not configured
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Yehuda Sadeh [Fri, 30 Jan 2015 17:11:36 +0000 (09:11 -0800)]
Merge pull request #3476 from ktdreyer/wip-rpm-radosgw-logrotate
ceph.spec.in: move rgw logrotate to rgw subpackage
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Fri, 30 Jan 2015 17:09:17 +0000 (09:09 -0800)]
Merge pull request #3437 from diurchenko/patch-2
rgw: fix doc, wrong HTTP header name
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 30 Jan 2015 16:43:46 +0000 (08:43 -0800)]
Merge pull request #3546 from zhouyuan/204_post_container
rgw: Response 204 when post on containers
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 30 Jan 2015 15:03:30 +0000 (07:03 -0800)]
rgw: fail s3 POST auth if keystone not configured
Fixes: #10698
This fixes issue introduced in
8b3dfc9472022ea45ad24e02e0aa21dfdad798f8 ,
where if user does not exist, we try keystone authentication. However,
if keystone is not configured we justt fall through without failing.
This would have failed later on due to bucket permissions, unless bucket
had a public write permissions.
Reported-by: Valery Tschopp <valery.tschopp@switch.ch>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
John Wilkins [Fri, 30 Jan 2015 14:18:25 +0000 (06:18 -0800)]
doc: Fixed hyperlink.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
Yuan Zhou [Fri, 30 Jan 2015 03:43:19 +0000 (11:43 +0800)]
rgw: Response 204 when post on containers
Currently POST request on container returns 202 if success. But in Swift
the code is 204. Let's use 204 to keep align with the Swift API.
Fixes #10667
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
Yehuda Sadeh [Fri, 30 Jan 2015 00:42:32 +0000 (16:42 -0800)]
Merge pull request #3526 from ceph/wip-rgw-versioning-4
Wip rgw versioning 4
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Fri, 30 Jan 2015 00:24:33 +0000 (16:24 -0800)]
rgw: more merge related fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 30 Jan 2015 00:07:41 +0000 (16:07 -0800)]
rgw: fix merge artifact
s/XMLArgs/RGWHTTPArgs
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 30 Jan 2015 00:05:14 +0000 (16:05 -0800)]
Merge remote-tracking branch 'origin/master' into wip-rgw-versioning-4
Conflicts:
src/rgw/rgw_admin.cc
Sage Weil [Thu, 29 Jan 2015 23:06:11 +0000 (15:06 -0800)]
Merge pull request #3125 from ceph/wip-10194-master
Wip 10194 master
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Jan 2015 21:28:26 +0000 (13:28 -0800)]
Merge branch 'prio_hb_pkts' of git://github.com/wenjianhn/ceph
Conflicts:
src/msg/Messenger.h
Sage Weil [Thu, 29 Jan 2015 21:06:29 +0000 (13:06 -0800)]
Merge pull request #3543 from ceph/wip-hints
librados: rename NOREUSE to NOCACHE
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Thu, 29 Jan 2015 21:04:39 +0000 (13:04 -0800)]
Merge pull request #3295 from majianpeng/fix2
osd: add per-pool fadvise-dontneed flag
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Jan 2015 21:03:39 +0000 (13:03 -0800)]
Merge pull request #3392 from ceph/wip-crush-straw2
crush: new straw2 bucket
Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Jan 2015 21:03:04 +0000 (13:03 -0800)]
Merge pull request #3495 from XinzeChi/wip-size-empty
cleanup: replace some size() or length() with !empty()
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Thu, 29 Jan 2015 21:00:15 +0000 (13:00 -0800)]
librados: rename NOREUSE to NOCACHE
As far as I can tell, the posix_fadvise() distinction between WONTNEED and
NOREUSE is subtle: one says I won't access the data, and the other says
I will access it one more time and then not access it. That is, the
distinction is about time. This thread seems to confirm this
interpretation:
https://lkml.org/lkml/2011/6/27/44
Since we are attaching hints to the IO operations themselves, this
distinction doesn't make much sense for us. (Backends should be careful
about which hint they use; or rather, they should use WONTNEED *after*
doing the IO since NOREUSE is presenting a no-op in Linux.)
However, we want to make a totally different distinction:
WONTNEED - nobody will access this -> drop it from the cache
NOCACHE - *i* won't access this again -> don't let me affect your caching
decisions or the working set you're maintaining for other
clients.
The NOCACHE name is made-up and distinct from NOREUSE only so that it is
different from POSIX and doesn't introduce confusion for people familiar
with the POSIX meaning. Perhaps a more accurate name would be IWONTNEED
but that is only one character apart and too error-prone IMO.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Jan 2015 18:14:04 +0000 (10:14 -0800)]
osd/PGLog: only do slow extra_reqid search of object appears at least once
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Jan 2015 19:27:19 +0000 (11:27 -0800)]
osd: preserved extra_reqids on promote, flush
This fixes idempotency for operations across caching changes (promote,
flush and cache mode changes).
Fixes: #8935
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Jan 2015 19:26:23 +0000 (11:26 -0800)]
osd: preserve extra_reqids in PGLog
The log scraping is unfortunately O(n) in the size of the log. We can
also follow objects and then the prior_version pointers, but we don't have
a version->entry index at the moment.
Only index by reqid if reqid_is_index. Always index extra_reqids.
Notably, the PROMOTE op does not return true for reqid_is_indexed, but this
is where the promotion extra_reqids will appear.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 23 Jan 2015 22:11:19 +0000 (14:11 -0800)]
osd: allow extra reqids to be stashed in each pg_log_entry_t
Signed-off-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Thu, 29 Jan 2015 19:24:57 +0000 (11:24 -0800)]
cls_rgw: fix rgw_bucket_olh_log_entry::epoch initialization
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Samuel Just [Thu, 29 Jan 2015 18:39:28 +0000 (10:39 -0800)]
Merge pull request #3540 from athanatos/wip-sam-cache-object-context-across-op
Wip sam cache object context across op
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Jan 2015 18:18:44 +0000 (10:18 -0800)]
Merge pull request #3536 from athanatos/wip-10616
Wip 10616
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Wed, 26 Nov 2014 22:11:13 +0000 (14:11 -0800)]
rgw: reuse fcgx connection structure
Fixes: #10194
Reuse the fcgx connection structure. It forces FCGX_Accept_r() freeing
up or reusing the connection if possible. This is needed for certain
fastcgi module (mod-proxy-fcgi) that sets the FCGI_KEEP_CONN, which
prevents the connection from being closed when calling FCGX_Finish_r().
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sun, 2 Mar 2014 03:14:12 +0000 (19:14 -0800)]
QueueRing: a reduced contention queue
A queue that provides multi-readers, multi-writers concurrency with a
reduced lock contention.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Thu, 29 Jan 2015 18:04:56 +0000 (10:04 -0800)]
test/encoding/types.h: add new structs for testing
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 29 Jan 2015 18:04:11 +0000 (10:04 -0800)]
cls_rgw: add missing struct test instance generator
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 29 Jan 2015 17:28:14 +0000 (09:28 -0800)]
cls_rgw: fix encoding for cls_rgw_obj
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 27 Jan 2015 23:24:03 +0000 (15:24 -0800)]
rgw: don't call send_response() explicitly
This will make us send the response twice and clobber the http
state.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 27 Jan 2015 01:31:10 +0000 (17:31 -0800)]
rgw-admin: set explicit "null" instance when needed
When clearing a bucket, if instance is not found, set it to "null",
otherwise we'll just create a delete marker.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 27 Jan 2015 01:15:14 +0000 (17:15 -0800)]
rgw: fix a crash when getting ECANCELED in delete_obj()
bufferlist::c_str() returns NULL if bufferlist is empty. We were
clearing the state, later on assigning s->obj_tag to a string.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 26 Jan 2015 21:10:37 +0000 (13:10 -0800)]
workunits/rgw: adjust radosgw-admin output parsing
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 26 Jan 2015 16:50:48 +0000 (08:50 -0800)]
workunits/rgw: set radosgw-admin location through env variable
add new RGW_ADMIN to be able to set call.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 24 Jan 2015 01:29:57 +0000 (17:29 -0800)]
rgw: don't clear olh log if we lost in race
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 24 Jan 2015 01:29:10 +0000 (17:29 -0800)]
rgw: guard olh modification
Add a check that validates that object still exists. This shouldn't really be
an issue, as we later compare the tag.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 24 Jan 2015 01:28:14 +0000 (17:28 -0800)]
rgw: version id should not contain underscore
The problem is that we use underscore for the raw object name encoding.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Josh Durgin [Thu, 29 Jan 2015 16:54:40 +0000 (08:54 -0800)]
Merge pull request #3524 from ceph/wip-8251-2
Wip 8251 2
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 29 Jan 2015 16:40:26 +0000 (08:40 -0800)]
Merge pull request #3535 from ceph/wip-librbd-tests
tests: ensure RBD integration tests exercise all features
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Thu, 29 Jan 2015 15:19:36 +0000 (07:19 -0800)]
Merge pull request #3530 from xinxinsh/wip-cleanup
cleanup : remove unused perf counter
Loic Dachary [Thu, 29 Jan 2015 10:15:40 +0000 (11:15 +0100)]
Merge pull request #3528 from RobertJansen1/patch-1
corrected some confusing numbers
Reviewed-by: Loic Dachary <ldachary@redhat.com>
RobertJansen1 [Thu, 29 Jan 2015 10:07:50 +0000 (11:07 +0100)]
edited failure conclusion
Signed-off-by: Robert Jansen <r.jansen@fairbanks.nl>
RobertJansen1 [Thu, 29 Jan 2015 10:03:14 +0000 (11:03 +0100)]
corrected some confusing numbers
Signed-off-by: Robert Jansen <r.jansen@fairbanks.nl>
Zhiqiang Wang [Thu, 29 Jan 2015 07:23:38 +0000 (15:23 +0800)]
osd: don't log op stats for proxy read in the cache tier
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
xinxin shu [Thu, 29 Jan 2015 02:16:13 +0000 (10:16 +0800)]
cleanup : remove unused perf counter
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
Yehuda Sadeh [Thu, 29 Jan 2015 00:36:47 +0000 (16:36 -0800)]
rgw: also convert sharded replicalog entries
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 29 Jan 2015 00:10:34 +0000 (16:10 -0800)]
rgw: get rid of replicalog index_by_instance param
We convert old entries anyway, just complicates everything. Only use
that was kept is the one needed for the conversion function.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 28 Jan 2015 23:54:23 +0000 (15:54 -0800)]
rgw: fixing rebase casualties
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 21 Jan 2015 00:36:34 +0000 (16:36 -0800)]
rgw: convert old replicalog entries if needed
If reading a bucket replicalog entry and one doesn't exist, fall back to
the old key, and convert it to the new one. When updating entries, if
entry does not exist do the same.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 21 Jan 2015 00:36:12 +0000 (16:36 -0800)]
rgw-admin: add replicalog update command
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Gregory Farnum [Wed, 28 Jan 2015 22:04:35 +0000 (14:04 -0800)]
Merge pull request #3514 from rzarzynski/wip-10550
mds: Wip 10550
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Wed, 28 Jan 2015 17:36:36 +0000 (09:36 -0800)]
Merge pull request #3499 from ceph/wip-perf-filter
common: filtering in `perf dump`
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Wed, 28 Jan 2015 15:45:17 +0000 (16:45 +0100)]
Merge pull request #3508 from zhouyuan/submodule_https_git
Update git submodule to use the same https protocol
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Jason Dillaman [Wed, 28 Jan 2015 15:32:20 +0000 (10:32 -0500)]
tests: ensure RBD integration tests exercise all features
The RBD_FEATURES environment variables was not being exported to
the Python and C++ integration tests. This resulted in the same
test cases being run multiple times instead of testing different
RBD features.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
John Spray [Wed, 28 Jan 2015 11:36:19 +0000 (11:36 +0000)]
mon/MDSMonitor: fix gid/rank/state parsing
Signed-off-by: John Spray <john.spray@redhat.com>
Jian Wen [Wed, 28 Jan 2015 09:23:58 +0000 (17:23 +0800)]
msg/Pipe: set dscp as CS6 for heartbeat socket
To prioritize the heartbeat packets in the the diffserv-aware device.
Thanks dtaht.
Radoslaw Zarzynski [Wed, 21 Jan 2015 14:38:24 +0000 (15:38 +0100)]
mds: don't join on thread which has not been runned.
Fixes: #10550
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Yuan Zhou [Wed, 28 Jan 2015 06:19:49 +0000 (14:19 +0800)]
Update git submodule to use the same https protocol
Make more convenient for hosts with git protocol blocked
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
Sage Weil [Wed, 28 Jan 2015 01:16:41 +0000 (17:16 -0800)]
Merge pull request #3505 from ceph/wip-fuse-regress-note
Update PendingReleaseNotes for ceph-fuse change in Giant
Jianpeng Ma [Tue, 27 Jan 2015 01:53:39 +0000 (09:53 +0800)]
librbd: make librbd cache send read op with fadvise_flags.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Jianpeng Ma [Mon, 12 Jan 2015 06:35:28 +0000 (14:35 +0800)]
librbd: Don't do readahead for random read.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Yehuda Sadeh [Mon, 12 May 2014 21:46:18 +0000 (14:46 -0700)]
rgw: extend replica log api (purge-all)
Adding a new purge-all option for the replica log api, which completely
removes a replica log object.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Sat, 10 May 2014 00:01:44 +0000 (17:01 -0700)]
utime: extend utime parsing
Since we sometimes encode it as <sec>.<usec>, also try to parse it using
this format.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Yehuda Sadeh [Wed, 7 May 2014 23:19:56 +0000 (16:19 -0700)]
rgw: fix replica log indexing
Fixes: #8251
Previously we were indexing the replica log only by bucket name, even
though we were provided with the bucket instance id. Fix that, and also
add the option to be able to revert to the old behavior. For
radosgw-admin we can do it if --replicalog-index-by-instance=false is
provided. For the replica log REST api we now have the index-by-instance
http param (defaults to true).
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Sage Weil [Tue, 27 Jan 2015 21:04:38 +0000 (13:04 -0800)]
Merge pull request #3480 from liewegas/wip-10617
osd: continue interrupted pg deletion on pool removal (bug 10617)
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Tue, 27 Jan 2015 20:58:29 +0000 (12:58 -0800)]
Merge pull request #3454 from hjwsm1989/optracker-op-wq
use shardid as a key of the shardinfo when "dump_op_pq_state".
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 27 Jan 2015 20:57:36 +0000 (12:57 -0800)]
Merge pull request #3430 from majianpeng/misc
Misc
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 27 Jan 2015 20:56:00 +0000 (12:56 -0800)]
Merge pull request #3311 from xinxinsh/fix1
disable tcmalloc by default when enable jemalloc
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 27 Jan 2015 20:55:11 +0000 (12:55 -0800)]
Merge pull request #3394 from ceph/wip-10555
mon: Do not allow empty pool names when creating
Reviewed-by: Sage Weil <sage@redhat.com>
Greg Farnum [Tue, 27 Jan 2015 20:55:04 +0000 (12:55 -0800)]
Update PendingReleaseNotes for ceph-fuse change in Giant
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Tue, 27 Jan 2015 20:54:47 +0000 (12:54 -0800)]
Merge pull request #3444 from ceph/wip-mon-pgtemp
osd: OSDMap: remove pg temps for inexistent pools
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 27 Jan 2015 20:54:28 +0000 (12:54 -0800)]
Merge pull request #3465 from liewegas/wip-mon-features
mon/OSDMonitor: validate crush features for osd (not just mon)
Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
Sage Weil [Tue, 27 Jan 2015 20:54:03 +0000 (12:54 -0800)]
Merge pull request #3475 from tchaikov/osdmap-remove-unused-variables
osd/OSDMap: remove unused variables
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 27 Jan 2015 20:53:30 +0000 (12:53 -0800)]
Merge pull request #3477 from liewegas/wip-noreuse
librados: add NOREUSE fadvise hint
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Yehuda Sadeh [Tue, 27 Jan 2015 18:23:03 +0000 (10:23 -0800)]
Merge pull request #3471 from yuandong1222/rgw-format-mtime
rgw: format mtime of radosgw-admin bucket stats
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Loic Dachary [Tue, 27 Jan 2015 13:12:36 +0000 (14:12 +0100)]
Merge pull request #3497 from trociny/test-10439
tests: bring back useful test 'ceph tell osd.foo'
Reviewed-by: Loic Dachary <ldachary@redhat.com>
John Spray [Tue, 27 Jan 2015 11:13:59 +0000 (11:13 +0000)]
common: filtering in `perf dump`
So that we can get out a particular subsystem
or particular counter without dumping
everything. Should make tests that watch perf
counters much less spammy!
`logger` and `counter` params are used with
an exact comparison here but the interface
should be amenable to extending to e.g. globbing
if we wanted to in the future.
Also tidy up some iterator while()s into for()s.
Signed-off-by: John Spray <john.spray@redhat.com>
Mykola Golub [Tue, 27 Jan 2015 08:51:07 +0000 (10:51 +0200)]
tests: bring back useful test 'ceph tell osd.foo'
The test was removed in
1189138 (mon: make ceph tell mon.* version
work) as it began to fail due to #10439. After it fixed in
c4548f6
(pybind: ceph_argparse: validate incorrectly formed targets), the test
can be restored.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Xinze Chi [Tue, 27 Jan 2015 07:33:47 +0000 (07:33 +0000)]
cleanup: replace some length() with !empty()
Signed-off-by: Xinze Chi <xmdxcxz@gmail.com>
Xinze Chi [Tue, 27 Jan 2015 07:17:44 +0000 (07:17 +0000)]
cleanup: replace some size() with !empty()
Signed-off-by: Xinze Chi <xmdxcxz@gmail.com>
Josh Durgin [Tue, 27 Jan 2015 06:34:24 +0000 (22:34 -0800)]
Merge pull request #2563 from ceph/wip-7467
rgw: support multiple host names
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Mon, 26 Jan 2015 19:50:05 +0000 (11:50 -0800)]
Merge pull request #3492 from ceph/wip-gmock
tests: add Google C++ Mocking Framework
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Mon, 26 Jan 2015 19:07:20 +0000 (11:07 -0800)]
Merge pull request #3493 from ceph/wip-10637
librbd: trim header update not using AIO
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Loic Dachary [Mon, 26 Jan 2015 17:43:12 +0000 (18:43 +0100)]
Merge pull request #3388 from dachary/wip-make-check
tests: centos7 needs nc to run make check
Ken Dreyer [Mon, 26 Jan 2015 17:23:34 +0000 (10:23 -0700)]
Merge pull request #3345 from dachary/wip-install-epel
tests: better EPEL installation method
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Loic Dachary [Sat, 10 Jan 2015 00:58:54 +0000 (01:58 +0100)]
tests: better EPEL installation method
It does not depend on a specific version of the EPEL release package.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Mon, 26 Jan 2015 11:42:32 +0000 (12:42 +0100)]
Merge pull request #3455 from bveuille/wip-documentation
doc: Change Availability text in all of the man pages
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Jason Dillaman [Mon, 26 Jan 2015 00:38:46 +0000 (19:38 -0500)]
tests: replace existing gtest 1.5.0 with gmock/gtest 1.7.0
Google Testing Framework is included by default within the Google
C++ Mocking Framework. Update makefiles to use new gmock/gtest
libraries and remove old gtest source code.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 26 Jan 2015 03:15:07 +0000 (22:15 -0500)]
librbd: trim header update not using AIO
The original trim header update code was using blocking IO to
update the header. After migrating to an asynchronous trim
which performs all work in librados callbacks, it exposed a
potential deadlock in the librados_test_stub when attempting
to do blocking IO within a librados callback. This commit
changes the header update to use AIO.
Fixes: #10637
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 23 Jan 2015 19:59:04 +0000 (14:59 -0500)]
gmock: use Google C++ Mocking Framework for unit tests
The 'src/gmock' directory is extracted from the 1.7.0
release located at https://code.google.com/p/googlemock/
gmock is licensed under the New BSD license, see
src/gmock/LICENSE
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Josh Durgin [Sun, 25 Jan 2015 20:55:24 +0000 (12:55 -0800)]
Merge pull request #3486 from ceph/wip-librbd-trim-error
librbd: trim would not complete if exclusive lock is lost
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Gregory Farnum [Sun, 25 Jan 2015 19:59:16 +0000 (11:59 -0800)]
Merge pull request #3487 from ceph/wip-install-deps
install-deps: fix LC_ALL setting
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Noah Watkins [Sun, 25 Jan 2015 19:45:48 +0000 (11:45 -0800)]
install-deps: fix LC_ALL setting
On my box LC_ALL=C# includes the '#' in the value without
a space between C and '#' and things go completely bonkers.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>