Commit Graph

42396 Commits

Author SHA1 Message Date
robin974
f105fdc255 doc: Fixes a missing dot
Fixes: #12072

Signed-off-by: Robin Tang <robintang974@gmail.com>
2015-06-18 16:43:45 +02:00
Loic Dachary
2bc009bb52 Merge pull request #5008 from jr31/master
doc: Unify ID format

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 16:39:03 +02:00
Loic Dachary
36369e0c05 Merge pull request #5007 from Cleminou/master
doc: Fixes a missing word in a printed string

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 16:38:11 +02:00
unknown
7fd1ae8b42 doc: dev/differences-from-posix
Fixes: #11108
Signed-off-by: Claire MASSOT <claire.massot93@gmail.com>
2015-06-18 16:37:26 +02:00
Jean-Rémi Deveaux
b10adf6a4f doc: Unify ID format
Fixes: #12071

Signed-off-by: Jean-Rémi Deveaux <jeanremi.deveaux@gmail.com>
2015-06-18 16:26:08 +02:00
Cleminou
145fbb7d3c doc: Fixes a missing word in a printed string
Fixes: #11106

Signed-off-by: Clement Lebrun <clement.lebrun.31@gmail.com>
2015-06-18 16:05:43 +02:00
Loic Dachary
2308faf206 Merge pull request #5004 from arthurgorjux/master
doc: Remove `` before and after 'ceph -s' in titles

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 15:48:18 +02:00
Kazhord
3cb8c4e8ef doc: Replaced "disk or drive" by "disk" in ceph-disk.rs
Fixes: #12062
Signed-off-by: Gabriel SENTUCQ <perso@kazhord.fr>
2015-06-18 15:47:26 +02:00
Loic Dachary
2b26011079 Merge pull request #5003 from Oxygen31/master
doc : Change of "create" in "add"

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 15:47:21 +02:00
John Spray
787596dc6d Merge pull request #4954 from JevonQ/add-iov-support-in-libcephfs
libcephfs: add ceph_p{read,write}v

Reviewed-by: John Spray <john.spray@redhat.com>
2015-06-18 14:26:58 +01:00
Arthur Gorjux
7065203ff1 doc: Remove `` before and after 'ceph -s' in titles
Fixes: #12059
Signed-off-by: Arthur Gorjux <arthurgorjux@gmail.com>
2015-06-18 15:25:48 +02:00
Germain
cac48bd076 doc : Change of "ceph-deploy mon create {ceph-node}" with "ceph-deploy mon add {ceph-node}" in "Quick-ceph-deploy.rst"
Fixes : #10293

Signed-off-by : Germain CHIPAUX <germain.chipaux@gmail.com>
2015-06-18 15:24:43 +02:00
Loic Dachary
5cb3cb0958 Merge pull request #4986 from nicolasyong/master
doc: Modification of a sentence

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 15:22:00 +02:00
nicolasyong
33f4b9a05b doc: Modification of a sentence.
Fixes : #12057

Signed-off-by: Nicolas Yong <nicolas.yong93@gmail.com>
2015-06-18 15:15:06 +02:00
Loic Dachary
49f093af9a Merge pull request #4988 from kevincaradant/master
doc: ceph-deploy man page: typo

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 15:01:25 +02:00
Owen Synge
bfa0c4a626 Fixes to rcceph script
- only start OSDs if mon daemons are also present
 - adds support for mask and unmask
 - removes support for cluster with non default cluster name,
   as this was very limited and inconsistent
 - Reapplied from a patch as could not cherry-pick
   66cb46c411 from Mon Jan 12
   as this produced issues with src/gmock

Signed-off-by: Owen Synge <osynge@suse.com>
2015-06-18 14:16:03 +02:00
John Spray
451cee4f4d osdc: refactor use of _is_readable
Limit calls to _is_readable to places where the
readableness can actually have changed (on assimilate_prefetch
where it can go true, and in try_read_entry where it
can go false).  Elsewhere, return a cached
result (Journaler::readable).

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
John Spray
9e09e54fdc osdc: handle corruption in journal
Previously we just *detected* it in _is_readable
and raise a buffer::error.  Now actually catch that
exception and pass up to outer error handling.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
John Spray
ae0a28e24d mds: additional error error handling in CDir
Including corruption in fnode+dentries

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
John Spray
16f7add341 mds: refactor BADFRAG setting
So that the procedure around setting STATE_BADFRAG
on a CDir can be used from other forthcoming error
handling.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
John Spray
deec710c15 mds: refactor CDir::_omap_fetched
Move the dentry decoding into _load_dentry
so that it can subsequently be wrapped
with error handling.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
John Spray
47c5435d2d mds: don't recreate damaged stray dirfrags
Instead of recreating them, go damaged.  Be warned,
the codepath for recreating them by hand doesn't
exist yet (cephfs-data-scan doesn't touch stray
dirs)

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
John Spray
136ebf0439 mds: add MDS::damaged_unlocked helper
...to avoid doing a lock/damaged/unlock in lots
of places in MDLog.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
John Spray
1165373e88 mds: fix MDLog error handling on ENOENT
This was trying to check for standby replay
by testing is_readonly(), but that's always
true during normal replay.  Check mds->is_standby_replay()
instead.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
John Spray
e964207772 mds: fix a damaged() case
Neglected to take lock around this call.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
John Spray
96770470ad mds: fix corrupt CInode handling
Were previously catching errors from InodeStore but
not the leading magic.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
John Spray
81b51bae45 mds: fix DAMAGED beacons from rejoin
In certain cases, the beacon was emitted from within
handle_mds_map (via MDCache::rejoin_start and
the "No subtrees found for root MDS rank!" error
handler.  This was happening before Beacon::notify_mdsmap
had been called with the new epoch, so the DAMAGED
beacon had the old epoch set, and was consequently
ignored by the MDSMonitor.

The symptom would be that MDS ranks with metadata damaged
in this particular way would flap instead of gracefully
going damaged.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
John Spray
b37dd43039 mds: handle missing stray dirfrags
Fixes case where if dirfrag object missing, ::fetch
would leave in a complete+badfrag state, and
subsequent retryopenroot would hit !is_complete()
assertion on fetch.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
John Spray
4d659400bd include/buffer: fix constness of operator<< for error
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-18 11:19:44 +01:00
Gregory Farnum
459369e700 Merge pull request #4931 from yuyuyu101/wip-perf-msgr
PerfMsgr: A tool to benchmark messenger module

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-06-18 11:09:56 +01:00
Kefu Chai
952836a2f3 Merge pull request #4994 from liewegas/wip-mon-fixes
mon: fix warning, and get_bucket_utilization

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-06-18 14:59:23 +08:00
Josh Durgin
d87e5e2ea4 Merge pull request #3566 from majianpeng/librbd-cache-iohint
Librbd cache iohint

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-06-17 20:52:49 -07:00
Josh Durgin
4a3f615068 Merge branch 'next' 2015-06-17 20:16:06 -07:00
Josh Durgin
664123890c Merge remote-tracking branch 'origin/wip-11579' into next
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-06-17 20:15:25 -07:00
Josh Durgin
9f4c6e479f Merge branch 'next' 2015-06-17 18:23:11 -07:00
Jason Dillaman
adfa2e0070 librbd: flush operations need to acquire owner lock
Cache writeback operations will expect the owner lock to be held.

Fixes: #11938
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-06-17 18:22:04 -07:00
Sage Weil
e1619eb3b5 Merge pull request #4990 from ilc/f22-build
Fix the build on Fedora 22.

Reviewed-by: Sage Weil <sage@redhat.com>
2015-06-17 18:15:14 -07:00
Josh Durgin
2314abbfb0 Merge branch 'next' 2015-06-17 18:02:31 -07:00
Josh Durgin
574785c645 Merge remote-tracking branch 'origin/wip-11537' into next
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-06-17 18:01:20 -07:00
Loic Dachary
789d1ab809 Merge pull request #4992 from maxime1992/master
doc: Change the type of list in doc

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 00:04:09 +02:00
Sage Weil
9298f932b0 mon/OSDMonitor: fix get_bucket_utilization return value
Broken in cc5f144a51.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-06-17 11:57:19 -07:00
Sage Weil
40307748b9 mon: only send MMonMetadata to peer mons that support it
Avoid sending this to mons that don't support the feature or else they
will reset the connection and we'll go into a busy reconnect loop.

Fixes: #12064
Signed-off-by: Sage Weil <sage@redhat.com>
2015-06-17 11:35:18 -07:00
Ira Cooper
54a516f633 configure.ac: Fix JUnit 4 detection on Fedora 22.
This allows the build to detect JUnit 4 on Fedora 22, by adding
junit.jar as a valid jar name for JUnit 4.

Signed-off-by: Ira Cooper <ira@samba.org>
2015-06-17 13:09:44 -04:00
Maxime ROBERT
7fbac49eb0 doc: Change the type of list in doc
Fixes: #12061.
Signed-off-by: Maxime ROBERT <maxime.robert1992@gmail.com>
2015-06-17 18:37:19 +02:00
Loic Dachary
327e0ac2bd Merge pull request #4975 from mikulely/master
Fix typos in librados example code

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-17 18:25:30 +02:00
Kévin CARADANT
05c56b7ced doc: ceph-deploy man page: typo #12063
Replace is initial monitor hostname with is the initial monitor hostname
Fixes : #12063
Signed-off-by: CARADANT Kevin <kevin.caradant@gmail.com>
2015-06-17 18:25:08 +02:00
Jiaying Ren
ca285d4d57 Fix typos in librados example code
Signed-off-by: Jiaying Ren <mikulely@gmail.com>
2015-06-17 23:47:09 +08:00
Loic Dachary
676ff92e18 Merge pull request #4985 from yannick-ad/master
doc: replace a sentence by another

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-17 17:40:59 +02:00
Loic Dachary
662f75298e Merge pull request #4979 from GaelFG/patch-1
doc: Fixes the description of the purpose of a cache pool

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-17 17:38:06 +02:00
Loic Dachary
ea09f63511 Merge pull request #4984 from LucasFantinel/master
doc: Wrong restriction for a daemon's ID

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-17 17:36:42 +02:00