]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
Adam Crume [Tue, 16 Sep 2014 01:17:24 +0000 (18:17 -0700)]
client: Replace client readahead logic with Readahead
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Tue, 26 Aug 2014 22:07:43 +0000 (15:07 -0700)]
librbd: Add read-ahead
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Wed, 10 Sep 2014 18:49:38 +0000 (11:49 -0700)]
osdc: Fix ObjectCounter::_readx perf counters
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Thu, 28 Aug 2014 20:42:19 +0000 (13:42 -0700)]
doc: Change listed RBD cache defaults to actual defaults
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Josh Durgin [Tue, 16 Sep 2014 19:15:30 +0000 (12:15 -0700)]
Merge pull request #2475 from ceph/wip-lttng
Update rbd-replay
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
John Wilkins [Tue, 16 Sep 2014 18:47:12 +0000 (11:47 -0700)]
Merge pull request #2473 from ceph/wip-doc-preflight
doc: Revised the Preflight Doc
Reviewed-by: John Wilkins <jowilkin@redhat.com>
John Wilkins [Tue, 16 Sep 2014 18:28:19 +0000 (11:28 -0700)]
doc: Fixed broken hyperlink.
Signed-off-by: John Wilkins <jowilki@redhat.com>
Sage Weil [Tue, 16 Sep 2014 18:01:29 +0000 (11:01 -0700)]
script/run-coverity: update submodules
Signed-off-by: Sage Weil <sage@redhat.com>
Loic Dachary [Tue, 16 Sep 2014 13:26:40 +0000 (15:26 +0200)]
Merge pull request #2394 from ceph/wip-da-fix-make_check
Fix some issues with make check
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Loic Dachary [Tue, 16 Sep 2014 13:22:10 +0000 (15:22 +0200)]
Merge pull request #2504 from dachary/wip-erasure-code-valgrind
test: libtool --mode=execute valgrind
Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
Danny Al-Gaaf [Thu, 4 Sep 2014 10:25:05 +0000 (12:25 +0200)]
test/mon/mkfs.sh: add check for default keyring
The auth_cephx_key check always fails if there is a default
keyring in /etc/ceph/ available. Check if keyring exists and
fail with error message if keyring file in path.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 4 Sep 2014 10:23:27 +0000 (12:23 +0200)]
test/ceph-disk.sh: resolve symlinks before check
Make sure symlinks are resolved in command_fixture()
before compare result of which command and the current
path.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Loic Dachary [Tue, 16 Sep 2014 08:55:13 +0000 (10:55 +0200)]
Merge pull request #2487 from wonzhq/org
mailmap: correcting Zhiqiang Wang's mailmap and org affiliation
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Zhiqiang Wang [Tue, 16 Sep 2014 08:46:07 +0000 (16:46 +0800)]
mailmap: correcting Zhiqiang Wang's mailmap and org affiliation
Signed-off-by: Zhiqiang Wang <wonzhq@hotmail.com>
Loic Dachary [Tue, 16 Sep 2014 08:24:12 +0000 (10:24 +0200)]
test: libtool --mode=execute valgrind
otherwise valgrind will not actually run against the binary.
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Sage Weil [Mon, 15 Sep 2014 22:23:16 +0000 (15:23 -0700)]
Merge pull request #2482 from dachary/wip-erasure-code-documentation
erasure code documentation
Reviewed-by: Sage Weil <sage@redhat.com>
Josh Durgin [Mon, 15 Sep 2014 20:25:33 +0000 (13:25 -0700)]
Merge pull request #2493 from ceph/wip-rbd-objectcacher-hang
rbd: ObjectCacher reads can hang when reading sparse files
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Mon, 15 Sep 2014 18:26:51 +0000 (11:26 -0700)]
Merge pull request #2495 from dachary/wip-erasure-code-preload
erasure-code: preload fails if < 0
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Mon, 15 Sep 2014 18:21:14 +0000 (20:21 +0200)]
erasure-code: preload fails if < 0
And not if < -1.
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
John Wilkins [Mon, 15 Sep 2014 18:10:35 +0000 (11:10 -0700)]
doc: Added feedback.
Signed-off-by: John Wilkins <jowilki@redhat.com>
Sage Weil [Mon, 15 Sep 2014 16:41:45 +0000 (09:41 -0700)]
Merge pull request #2486 from jgalvez/master
init-radosgw.sysv: Support systemd for starting the gateway
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Mon, 15 Sep 2014 16:23:08 +0000 (18:23 +0200)]
Merge pull request #2472 from dachary/wip-9429-bench
erasure-code: fix erasure_code_benchmark goop (decode)
Reviewed-by: Janne Grunau <j@jannau.net>
Loic Dachary [Mon, 15 Sep 2014 13:40:44 +0000 (15:40 +0200)]
Merge pull request #2485 from Abioy/master
bugfix: wrong socket address in log msg of Pipe.cc
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Abioy [Mon, 15 Sep 2014 02:52:47 +0000 (10:52 +0800)]
bugfix: wrong socket address in log msg of Pipe.cc
paddr was not yet set up for the socket address
Signed-off-by: Yongyue Sun abioy.sun@gmail.com
Loic Dachary [Mon, 15 Sep 2014 10:24:19 +0000 (12:24 +0200)]
Merge pull request #2442 from dachary/wip-6754-jerasure-parameters
erasure-code: fix BlaumRoth sanity check on w
Reviewed-by: Andreas Peters <andreas.joachim.peters@cern.ch>
Loic Dachary [Mon, 15 Sep 2014 09:39:46 +0000 (11:39 +0200)]
Merge pull request #2488 from cernceph/docfix
doc: osd_backfill_scan_(min|max) are object counts
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Dan van der Ster [Mon, 15 Sep 2014 09:23:11 +0000 (11:23 +0200)]
doc: osd_backfill_scan_(min|max) are object counts
osd_backfill_scan_min and osd_backfill_scan_max set the number of
items grabbed during a single backfill scan, not an interval in
seconds. Correct the doc.
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Jason Dillaman [Mon, 15 Sep 2014 04:53:50 +0000 (00:53 -0400)]
rbd: ObjectCacher reads can hang when reading sparse files
The pending read list was not properly flushed when empty objects
were read from a space file.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
JuanJose 'JJ' Galvez [Mon, 15 Sep 2014 03:38:20 +0000 (20:38 -0700)]
init-radosgw.sysv: Support systemd for starting the gateway
When using RHEL7 the radosgw daemon needs to start under systemd.
Check for systemd running on PID 1. If it is then start
the daemon using: systemd-run -r <cmd>. pidof returns null
as it is executed too quickly, adding one second of sleep and
script reports startup correctly.
Signed-off-by: JuanJose 'JJ' Galvez <jgalvez@redhat.com>
Loic Dachary [Sun, 14 Sep 2014 15:46:04 +0000 (17:46 +0200)]
Merge pull request #2484 from sjahl/master
doc: Added bucket management commands to ops/crush-map
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Stephen Jahl [Sun, 14 Sep 2014 14:41:16 +0000 (10:41 -0400)]
doc: Added bucket management commands to ops/crush-map
Describes the CLI for adding and removing buckets, in addition to the
'moving' instructions which were already present.
Signed-off-by: Stephen Jahl <stephenjahl@gmail.com>
Sage Weil [Sun, 14 Sep 2014 04:20:33 +0000 (21:20 -0700)]
Merge remote-tracking branch 'gh/giant'
Loic Dachary [Sat, 13 Sep 2014 23:01:04 +0000 (01:01 +0200)]
documentation: jerasure plugin is sub section of erasure code profile
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Loic Dachary [Sat, 13 Sep 2014 22:58:13 +0000 (00:58 +0200)]
documentation: isa plugin is sub section of erasure code profile
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Loic Dachary [Sat, 13 Sep 2014 22:54:40 +0000 (00:54 +0200)]
documentation: erasure code profile update
The plugins are made a sub-section of the erasure code profile
section. The k and m parameters are removed from erasure code profile
documentation. They were added for simplicity in the first version
because there was only one plugin. But they should really be in the
plugin documentation.
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Sage Weil [Sat, 13 Sep 2014 19:46:24 +0000 (12:46 -0700)]
Merge pull request #2481 from sjahl/master
doc: fixes a formatting error on ops/crush-map
Stephen Jahl [Sat, 13 Sep 2014 19:31:53 +0000 (15:31 -0400)]
doc: fixes a formatting error on ops/crush-map
Signed-off-by: Stephen Jahl <stephenjahl@gmail.com>
Loic Dachary [Sat, 13 Sep 2014 15:56:16 +0000 (17:56 +0200)]
Merge pull request #2467 from majianpeng/fix3
buffer: In rebuild_page_aligned for the last ptr is page aligned, no need call rebuild().
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Loic Dachary [Sat, 13 Sep 2014 15:32:57 +0000 (17:32 +0200)]
Merge pull request #2478 from ceph/wip-9445
global: fix hang when segv happens inside logging code
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Yan, Zheng [Sat, 13 Sep 2014 00:42:15 +0000 (08:42 +0800)]
Merge pull request #2477 from ceph/wip-client-msg-leak
client: fix a message leak
John Spray [Thu, 11 Sep 2014 13:07:59 +0000 (14:07 +0100)]
mds: update segment references during journal rewrite
... to avoid leaving log events that reference log
segments by offsets which no longer exist.
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit
386f2d7c829422695a1b1f41bd3f17ca3eef1f61 )
Reviewed-by: Greg Farnum <greg@inktank.com>
Gregory Farnum [Sat, 13 Sep 2014 00:35:54 +0000 (17:35 -0700)]
Merge pull request #2469 from ceph/wip-9427-rewrite
mds: update segment references during journal rewrite
Reviewed-by: Greg Farnum <greg@inktank.com>
Sage Weil [Sat, 13 Sep 2014 00:18:01 +0000 (17:18 -0700)]
log: add simple test to verify an internal SEGV doesn't hang
Test that the segv injection works.
Test that a segv while logging something doesn't hang when the signal
handlers are installed. Note that this fails/hangs without the previous
fix.
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Fri, 12 Sep 2014 17:42:02 +0000 (18:42 +0100)]
client: fix a message leak
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Fri, 12 Sep 2014 22:25:03 +0000 (15:25 -0700)]
global/signal_handler: do not log if SEGV originated inside log code
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 12 Sep 2014 22:24:50 +0000 (15:24 -0700)]
log: add Log::is_inside_log_lock()
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Thu, 11 Sep 2014 13:07:59 +0000 (14:07 +0100)]
mds: update segment references during journal rewrite
... to avoid leaving log events that reference log
segments by offsets which no longer exist.
Signed-off-by: John Spray <john.spray@redhat.com>
John Wilkins [Fri, 12 Sep 2014 16:15:53 +0000 (09:15 -0700)]
doc: Added clarifications and added additional preflight steps for CentOS/RHEL.
Fixes: #8995
Signed-off-by: John Wilkins <jowilki@redhat.com>
John Wilkins [Fri, 12 Sep 2014 16:14:51 +0000 (09:14 -0700)]
doc: Deleted redundant text string.
Signed-off-by: John Wilkins <jowilki@redhat.com>
John Spray [Fri, 12 Sep 2014 15:47:52 +0000 (16:47 +0100)]
Merge pull request #2471 from ceph/wip-9446
mon: fix MDS health detail output
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Fri, 12 Sep 2014 15:36:35 +0000 (17:36 +0200)]
erasure-code: fix erasure_code_benchmark goop (decode)
Using a stringstream that is only displayed on error when calling the
erasure code factory, instead of cerr. The user expects the output to be
clean when there is no error. That was done for the encode function but
not the decode function.
http://tracker.ceph.com/issues/9429 Fixes: #9429
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
John Spray [Fri, 5 Sep 2014 11:49:09 +0000 (12:49 +0100)]
mon: fix MDS health detail output
I fat fingered a couple of things here.
Signed-off-by: John Spray <john.spray@redhat.com>
Ma Jianpeng [Fri, 12 Sep 2014 13:52:56 +0000 (21:52 +0800)]
buffer: Add a test for bufferlist::rebuild_page_aligned
Make the last prt of bufferlist which is page-aligned don't change anything
after rebuild_page_aligned.
Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
Ma Jianpeng [Fri, 12 Sep 2014 03:21:58 +0000 (11:21 +0800)]
buffer: In rebuild_page_aligned for the last ptr is page aligned, no need call rebuild().
This only happen for the last ptr. Because rebuild() don't change the len
of ptr, so if last ptr isn't page-size aligned but is page aligned, the
rebuild() don't change anything.
Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
Loic Dachary [Fri, 12 Sep 2014 14:00:27 +0000 (16:00 +0200)]
Merge pull request #2468 from dachary/wip-always-create-pidfile
daemons: write pid file even when told not to daemonize
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Reviewed-by: Sage Weil <sage@redhat.com>
Alexandre Oliva [Thu, 31 Jul 2014 02:08:43 +0000 (23:08 -0300)]
daemons: write pid file even when told not to daemonize
systemd wants to run daemons in foreground, but daemons wouldn't write
out the pid file with -f. Fixed.
Signed-off-by: Alexandre Oliva <oliva@gnu.org>
Loic Dachary [Fri, 12 Sep 2014 09:30:31 +0000 (11:30 +0200)]
Merge pull request #2464 from dachary/wip-9429-bench
erasure-code: fix erasure_code_benchmark goop
Reviewed-by: Janne Grunau <j@jannau.net>
Sage Weil [Fri, 12 Sep 2014 03:41:07 +0000 (20:41 -0700)]
Merge pull request #2416 from xiaoxichen/make_crush_private
Change CrushWrapper::crush to private
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 12 Sep 2014 02:56:04 +0000 (19:56 -0700)]
Merge pull request #2450 from dachary/wip-9413-erasure-code-version-check
erasure-code: mon, osd etc. depend on the plugins
Adam Crume [Thu, 11 Sep 2014 17:44:59 +0000 (10:44 -0700)]
rbd-replay: Add code documentation
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Wed, 10 Sep 2014 20:30:14 +0000 (13:30 -0700)]
rbd-replay: Add --dump-perf-counters option
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Thu, 4 Sep 2014 23:48:35 +0000 (16:48 -0700)]
rbd-replay: Add rbd-replay-many
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Wed, 3 Sep 2014 18:48:33 +0000 (11:48 -0700)]
librbd: Add missing tracepoints
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Adam Crume [Thu, 21 Aug 2014 16:41:39 +0000 (09:41 -0700)]
rbd-replay: Add --anonymize flag to rbd-replay-prep
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Loic Dachary [Thu, 11 Sep 2014 20:07:33 +0000 (22:07 +0200)]
erasure-code: fix erasure_code_benchmark goop
Using a stringstream that is only displayed on error when calling the
erasure code factory, instead of cerr. The user expects the output to be
clean when there is no error.
http://tracker.ceph.com/issues/9429 Fixes: #9429
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Loic Dachary [Thu, 11 Sep 2014 19:56:19 +0000 (21:56 +0200)]
Merge pull request #2409 from apeters1971/wip-ec-isa-table-cache-refac-master
EC-ISA: add intelligent table cache
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
John Wilkins [Thu, 11 Sep 2014 17:50:42 +0000 (10:50 -0700)]
doc: Fixed syntax error.
Signed-off-by: John Wilkins <jowilki@redhat.com>
John Wilkins [Thu, 11 Sep 2014 17:50:22 +0000 (10:50 -0700)]
doc: Updated authentication notes. Fixed syntax error.
Signed-off-by: John Wilkins <jowilki@redhat.com>
Loic Dachary [Thu, 11 Sep 2014 17:33:46 +0000 (19:33 +0200)]
Merge pull request #2459 from ceph/wip-7934
test: Fix ceph_test_rados_watch_notify to delete the pools it creates
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
John Spray [Thu, 11 Sep 2014 15:45:21 +0000 (16:45 +0100)]
Merge pull request #2463 from ceph/wip-mds-beacon
mds: a couple fixes for the beacons
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Thu, 11 Sep 2014 05:51:20 +0000 (22:51 -0700)]
mds: sleep in progress thread if laggy and waiting_for_nolaggy waiters
If we have nolaggy waiters but are laggy we want to sleep. Otherwise,
we will just spin and spam the log ...
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Sep 2014 05:13:42 +0000 (22:13 -0700)]
mds/Beacon: do not reconnect to mon in quick succession
Wait at least one beacon interval between mon session resets.
Fixes: #9428
Signed-off-by: Sage Weil <sage@redhat.com>
Yan, Zheng [Thu, 11 Sep 2014 09:06:39 +0000 (17:06 +0800)]
Merge pull request #2460 from ceph/wip-client-ll-ref
client: include ll_ref when printing inode
Yan, Zheng [Thu, 11 Sep 2014 09:03:55 +0000 (17:03 +0800)]
client: include ll_ref when printing inode
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Sage Weil [Thu, 11 Sep 2014 03:44:13 +0000 (20:44 -0700)]
Merge pull request #2444 from wonzhq/read-recency
osd: set min_read_recency_for_promote to default 1 when doing upgrade
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Sep 2014 03:37:03 +0000 (20:37 -0700)]
Merge pull request #2449 from majianpeng/fix3
fix two bugs about perfcounter
Reviewed-by: Sage Weil <sage@redhat.com>
David Zafman [Thu, 11 Sep 2014 02:19:08 +0000 (19:19 -0700)]
test: Fix ceph_test_rados_watch_notify to delete the pools it creates
Fixes: #7934
Signed-off-by: David Zafman <dzafman@redhat.com>
Ma Jianpeng [Thu, 11 Sep 2014 00:32:06 +0000 (08:32 +0800)]
ReplicatedPG: Make perfcounter record the read-size for
async-read.
Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
Ma Jianpeng [Thu, 11 Sep 2014 00:09:47 +0000 (08:09 +0800)]
ReplicatedPG: record correctly subop for perfcounter.
In log_subop_stats, it omit to record the counter of subop.
Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
Sage Weil [Wed, 10 Sep 2014 19:15:19 +0000 (12:15 -0700)]
Merge pull request #2454 from athanatos/wip-9269
FileStore: report l_os_j_lat as commit latency
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Sep 2014 19:09:34 +0000 (12:09 -0700)]
Merge pull request #2453 from athanatos/wip-9220
Objecter::_recalc_linger_op: resend for any acting set change
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Wed, 10 Sep 2014 19:09:04 +0000 (12:09 -0700)]
Merge pull request #2443 from ceph/wip-9241
osdc/Objecter: drop bad session nref assert
Reviewed-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Wed, 10 Sep 2014 19:02:56 +0000 (12:02 -0700)]
Merge pull request #2293 from ceph/wip-hitset-bytes
osd: improve agent calculation by factoring out hit_set bytes used properly
Reviewed-by: Samuel Just <sam.just@inktank.com>
Loic Dachary [Wed, 10 Sep 2014 15:58:45 +0000 (17:58 +0200)]
erasure-code: mon, osd etc. depend on the plugins
Since the erasure code plugin version check has been introduced,
whenever a library/binary that can load plugin needs to be recompiled,
the erasure code plugins must also be considered. If the reason for
recompiling the library/binary is a new commit, the plugins will fail to
load.
The dependency is not based on source compilation and a shared library
dependency on liberasure-code.la is added instead. This library is
uniformly used whenever a plugin is to be loaded and therefore covers
all library/binaries that need it.
http://tracker.ceph.com/issues/9413 Fixes: #9413
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Sage Weil [Wed, 10 Sep 2014 18:31:27 +0000 (11:31 -0700)]
Merge pull request #2451 from ceph/wip-osdc-leak
osdc/Objecter: fix leak of MStatfsReply
Reviewed-by: John Spray <john.spray@redhat.com>
Yehuda Sadeh [Wed, 10 Sep 2014 16:59:53 +0000 (09:59 -0700)]
Merge pull request #2447 from reclosedev/s3_colon_in_access_key
[rgw][s3] Allow colon ':' in access key
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Roman Haritonov [Wed, 10 Sep 2014 08:31:56 +0000 (12:31 +0400)]
[rgw][s3] Allow colon ':' in access key
When access key contains ':', e.g. `some_info:for_user',
authorization header looks like:
"AWS some_info:for_user:request_signature"
so `auth_str.find(':')` result in auth_id = "some_info",
auth_sign = "for_user:request_signature".
auth_str.rfind(':') solves this issue.
Signed-off-by: Roman Haritonov <reclosedev@gmail.com>
Sage Weil [Wed, 10 Sep 2014 13:57:12 +0000 (06:57 -0700)]
osdc/Objecter: fix leak of MStatfsReply
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Wed, 10 Sep 2014 13:56:31 +0000 (14:56 +0100)]
Merge pull request #2448 from ceph/wip-replay-locking
mds: fix replay locking
Reviewed-by: John Spray <john.spray@redhat.com>
Andreas-Joachim Peters [Tue, 9 Sep 2014 07:37:41 +0000 (09:37 +0200)]
EC-ISA: avoid usage of table cache lock outside the class implementation by introducing the setEncodingTable/setEncodingCoefficient methods
Andreas-Joachim Peters [Wed, 3 Sep 2014 14:19:49 +0000 (16:19 +0200)]
EC-ISA: add intelligent table cache
Yan, Zheng [Wed, 10 Sep 2014 05:44:58 +0000 (13:44 +0800)]
mds: fix replay locking
When replaying EImportFinish/EFragment event, the replay thread may call
MDS::queue_waiters. MDS::queue_waiters() requires its caller to hold the
mds_lock. Otherwise assert(waiter_mutex == __null || waiter_mutex->is_locked())
in Cond::Signal() will be tiggered.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Zhiqiang Wang [Wed, 10 Sep 2014 03:58:32 +0000 (11:58 +0800)]
osd: set min_read_recency_for_promote to default 1 when doing upgrade
When upgrading from a build without the promotion on 2nd read feature,
should set min_read_recency_for_promote to the default value 1, instead
of 0.
Signed-off-by: Zhiqiang Wang <wonzhq@hotmail.com>
Xiaoxi Chen [Fri, 5 Sep 2014 02:56:36 +0000 (10:56 +0800)]
Change CrushWrapper::crush to private
Currently in CrushWrapper, the member "struct crush_map *crush" is a public member,
so people can break the encapsulation and manipulate directly to the crush structure.
This is not a good practice for encapsulation and will lead to inconsistent if code
mix use the CrushWrapper API and crush C API.A simple example could be:
1.some code use crush_add_rule(C-API) to add a rule, which will not set the have_rmap flag to false in CrushWrapper
2.another code using CrushWrapper trying to look up the newly added rule by name will get a -ENOENT.
This patch move CrushWrapper::crush to private, together with three reverse map(type_rmap, name_rmap, rule_name_rmap)
and also change codes accessing the CrushWrapper::crush to make it compile.
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Sage Weil [Wed, 10 Sep 2014 00:28:54 +0000 (17:28 -0700)]
osdc/Objecter: drop bad session nref assert
This is a bad assert. Specifically, handle_osd_op_reply may still be
holding the session ref while it is calling the completion for a previous
request. This is safe: it is only holding the session ref after it dropped
the global map rwlock because of the per-session completion locks. The
request in question was already marked completed by the time our thread
took the session lock.
Fixes: #9241
Signed-off-by: Sage Weil <sage@redhat.com>
Josh Durgin [Tue, 9 Sep 2014 23:40:07 +0000 (16:40 -0700)]
Merge pull request #2433 from ceph/wip-rbd-force-write-back
rbd should use write-back when caching is enabled
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Tue, 9 Sep 2014 21:45:28 +0000 (14:45 -0700)]
osd/ClassHandler: fix build
Broken by
70ce400a8b4e0f5a20e6ea9877784998cdbb9a2d .
Signed-off-by: Sage Weil <sage@redhat.com>
Samuel Just [Tue, 9 Sep 2014 21:03:50 +0000 (14:03 -0700)]
FileStore: report l_os_j_lat as commit latency
l_os_commit_lat is actually the commit cycle latency.
Fixes: #9269
Backport: firefly
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 9 Sep 2014 20:53:11 +0000 (13:53 -0700)]
Merge pull request #2441 from ceph/wip-9365
osd/ClassHandler: improve error logging
Reviewed-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Tue, 9 Sep 2014 20:38:49 +0000 (13:38 -0700)]
osd/ClassHandler: improve error logging
Fixes: #9365
Signed-off-by: Sage Weil <sage@redhat.com>