Loic Dachary
f9bd970ea3
Merge pull request #3028 from majianpeng/fix4
...
Add perf reset command.
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-04 07:39:40 +01:00
Greg Farnum
d5e2c2cf10
mon: fix signed/unsigned comparison warning
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-12-03 10:45:52 -08:00
Sage Weil
c4f934997a
Merge pull request #3044 from osynge/wip=suse-systemd
...
better systemd support
Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-02 20:56:55 -08:00
Jianpeng Ma
8e5dbe7dff
common/perf_counters: Remove the duplicated code.
...
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2014-12-03 10:28:00 +08:00
Jianpeng Ma
963b76494b
test/perf_counters: Replace perfcounters_dump to perf dump.
...
The func of command perfcounters_dump and 'perf dump' are the same .
But from the print 'ceph --admin-daemon help', it only print 'perf
dump'. So replace.
In order to keep consistent, still keep perfcounters_dump in code for
old user.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2014-12-03 10:26:26 +08:00
Jianpeng Ma
eafb22453f
test/perf_counters: Add test case for cmd 'perf reset'
...
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2014-12-03 10:23:03 +08:00
Jianpeng Ma
5f8186b106
common/perf_counters: Add 'perf reset all|perfcountername' for 'ceph
...
--admin-daemon'
Using this command, we can reset all perfcounters or reset on specified
perfcounter.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2014-12-03 10:10:03 +08:00
Loic Dachary
f152bc69d0
Merge pull request #3068 from ktdreyer/doc-os-recommendations-cleanup
...
doc: os recommendations cleanup
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-03 01:23:52 +01:00
Ken Dreyer
5d3bff0494
doc: rm Fedora minor versions in os recommendations
...
Fedora doesn't have point releases, so it doesn't make sense to talk
about "Fedora 18.0" or "Fedora 19.0" - it's just "Fedora 18" or "Fedora
19".
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-12-02 16:33:00 -07:00
Loic Dachary
e83321ee09
Merge pull request #3061 from ktdreyer/rpm-ceph-disk-man-page
...
packaging: package ceph-disk(8)
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-03 00:18:50 +01:00
Ken Dreyer
b743a95111
packaging: package ceph-disk(8)
...
The ceph-disk man page was added in
a450cab2b8
, but this was not added to the
RPM or DEB packaging. Add it here.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-12-02 16:13:19 -07:00
Ken Dreyer
2497f16a04
doc: rm old releases in os recommendations page
...
Similar to the change in commit
4cdc9c7936
, remove the references to old
Ceph releases.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-12-02 15:55:47 -07:00
Ken Dreyer
0bb2e1ed5e
doc: clarify "B" flag in os recommendations page
...
We don't exactly do continuous builds on all the platforms marked with
"B", but we have published binary RPMs for them. Adjust the "B"
footnote definition to reflect this.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-12-02 15:55:43 -07:00
John Wilkins
56dae09b9c
doc: Reformatting on rbd replay doc.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-12-02 11:23:55 -08:00
John Wilkins
b8f6b5f77c
doc: Added rbd-replay-many and restructured index.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-12-02 11:23:29 -08:00
John Wilkins
54d5ed3732
doc: Fixed index syntax.
...
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2014-12-02 11:23:00 -08:00
John Wilkins
deaae3f5dd
Merge pull request #3051 from ceph/wip-doc-rbd-replay
...
doc: Document RBD Replay
Reviewed-by: John Wilkins <jowilkin@redhat.com>
2014-12-02 11:09:13 -08:00
John Wilkins
b1aa23ee6e
Merge pull request #3060 from ktdreyer/doc-os-recommendations-centos-7
...
doc: add CentOS 7 to recommended OSes
Reviewed-by: John Wilkins <jowilkin@redhat.com>
2014-12-02 11:07:07 -08:00
Ken Dreyer
3012c4a097
doc: add CentOS 7 to recommended OSes
...
CentOS 7 was missing from the list of recommended OSes for Firefly. Add
it to the list.
Reported-By: Frank Even <lists+ceph.com@elitists.org>
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-12-02 11:53:54 -07:00
Yehuda Sadeh
06fe0f6ff4
Merge pull request #2993 from theanalyst/s3/keystone-date-fixes
...
rgw: check for timestamp for s3 keystone auth
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2014-12-02 09:39:02 -08:00
Loic Dachary
2604ae0907
Merge pull request #3058 from nilamdyuti/wip-doc-ceph-disk
...
doc: Adds man page for ceph disk in TOC.
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-02 18:16:56 +01:00
Nilamdyuti Goswami
6862891c9c
doc: Adds man page for ceph disk in TOC.
...
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
2014-12-02 22:34:57 +05:30
John Spray
017f669cdb
Merge pull request #3052 from ceph/wip-flush-journal-fix
...
mds: fix race of trimming log segments
Reviewed-by: John Spray <john.spray@redhat.com>
2014-12-02 13:18:10 +00:00
Loic Dachary
d0641b0e85
Merge pull request #2994 from dachary/wip-10175-compile-dependencies
...
script replacement for deps.{rpm,deb}.txt
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
2014-12-02 10:32:15 +01:00
Yan, Zheng
2fa4884fd8
mds: fix race of trimming log segments
...
trimming old log segments can start new log segments, make sure
MDLog::trim_all() not expire newly started log segments.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-12-02 16:20:21 +08:00
Sage Weil
9e3e4c8e51
Merge pull request #3041 from xiaoxichen/cleanup-noop
...
Cleanup noop in message
Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-01 20:47:29 -08:00
Adam Crume
70e1a5dcbb
doc: Document RBD Replay
...
Signed-off-by: Adam Crume <adamcrume@gmail.com>
2014-12-01 20:45:58 -08:00
Gregory Farnum
772a0d538a
Merge pull request #3050 from dachary/wip-10213-const
...
msg: do not const methods that return a mutable pointer
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2014-12-01 17:30:36 -08:00
Loic Dachary
0f1c9fd1aa
msg: do not const methods that return a mutable pointer
...
Add remove misleading const on post_rx_buffer argument.
http://tracker.ceph.com/issues/10213 Fixes : #10213
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-12-02 02:20:15 +01:00
Sage Weil
f868ca04d2
Merge pull request #2825 from ceph/wip-9921
...
SimpleMessenger: Pipe: do not block on takeover while holding global locks
Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-01 09:23:39 -08:00
Sage Weil
8cb8854f4d
Merge pull request #3046 from yuyuyu101/fix-kinetic
...
KnieticStore: add necessary header file
Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-01 09:10:17 -08:00
Samuel Just
44b101c80d
Merge pull request #2922 from ceph/wip-da-SCA-20141111
...
Coverity fixes
Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-01 09:08:13 -08:00
Samuel Just
77deeaa4ff
Merge pull request #2937 from simon3z/master
...
common: do not unlock rwlock on destruction
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-01 09:07:38 -08:00
Samuel Just
42c85e80b6
Merge pull request #2788 from ceph/wip-warn-max-pg
...
mon: warn when there are too many pgs per osd
Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2014-12-01 09:05:04 -08:00
Samuel Just
34f0bfd132
Merge pull request #2735 from ceph/wip-pg-stat
...
mon: make 'pg stat -f json' not pg dump; make JSON dump of floats floats and not strings
Reviewed-by: Samuel Just <sjust@redhat.com>
2014-12-01 09:00:06 -08:00
Loic Dachary
06593813af
documentation: replace deps.{deb,rpm}.txt with scripts
...
install-deps.sh installs the dependencies based on the content of
debian/control (if apt-get is found) or ceph.spec.in (if yum is
found). The manually maintained list of dependencies for deb based
operating systems (deps.deb.txt) and rpm based operating
systems (deps.rpm.txt) are deprecated.
http://tracker.ceph.com/issues/10175 Fixes : #10175
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-12-01 16:15:21 +01:00
Haomai Wang
e0190bd38e
KnieticStore: add necessary header file
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-12-01 22:24:45 +08:00
Owen Synge
929fcd67aa
better systemd support
...
Added ceph.target
Made ceph-mds, ceph-mon, ceph-osd services part of ceph.target
Made ceph-mds, ceph-mon, ceph-osd services require partitions to be available.
Added ceph init script with sysV like behaviour.
Provided by Tim Serong tserong@suse.com and Owen Synge osynge@suse.com
Signed-off-by: Owen Synge <osynge@suse.com>
2014-12-01 14:45:31 +01:00
Xiaoxi Chen
3376fee957
Cleanup noop in message
...
The noop loop are dead, so clean it up
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
2014-12-01 21:35:10 +08:00
John Spray
f9e2112b86
Merge pull request #2855 from ceph/wip-9881
...
#9881 MDS flush journal asok command
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2014-12-01 12:20:44 +00:00
John Spray
5b5493db5b
mds: implement "flush journal" asok
...
Start a new segment and flush everything older
to the backing store.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-12-01 12:09:13 +00:00
John Spray
efeaaaa0b0
mds: in segment expiry, use end instead of start
...
Previously we were always leaving the last log
segment un-expired from Journaler's POV, because
we were updating expire_pos to the *start* of the
expired journal segment instead of the *end*.
This was harmless, but cleaning it up makes it
easier to see what's going on during journal flushes
in testing.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-12-01 12:09:13 +00:00
John Spray
2ec67733ce
mds: fix MDLog I/O callback without finisher
...
This could deadlock if another caller was waiting
on a write_head callback while holding mds_lock.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-12-01 12:09:13 +00:00
Loic Dachary
efdfec487a
Merge pull request #3037 from stiopaa1/cleanup
...
added some consts, some cleanup
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-30 23:31:17 +01:00
Michal Jarzabek
62a8f2d978
added consts, cleanup
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2014-11-30 22:01:36 +00:00
Loic Dachary
f1296fd87a
Merge pull request #3019 from theanalyst/doc/typo/ceph-auth
...
doc: minor fix in ceph-authtool man page
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-30 10:23:43 +01:00
Loic Dachary
f3d972828c
Merge pull request #3023 from ktdreyer/rpm-rbd-replay-prep-conditional
...
rpm: unconditionally package rbd-replay-prep(8)
Reviewed-by: Adam Crume <adamcrume@gmail.com>
2014-11-30 10:18:26 +01:00
Abhishek Lekshmanan
faa4cbbef2
doc: minor fix in ceph-authtool man page
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-11-30 11:20:59 +05:30
Loic Dachary
936542c665
Merge pull request #3032 from dachary/wip-osd-log-cosmetics
...
osd: log message content cosmetics
Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
2014-11-29 00:04:49 +01:00
Loic Dachary
0fe5bc6011
osd: log message content cosmetics
...
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-28 18:02:39 +01:00