]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Wed, 13 Aug 2014 04:01:09 +0000 (21:01 -0700)]
Merge pull request #2242 from majianpeng/fix4
utime: Because class Clock didn't exist,so remove the declaration in class utime_t
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 12 Aug 2014 22:50:59 +0000 (15:50 -0700)]
Merge pull request #2246 from ceph/wip-9064
ReplicatedPG::maybe_handle_cache: do not skip promote for write_ordered
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Tue, 12 Aug 2014 22:24:26 +0000 (15:24 -0700)]
ReplicatedPG::maybe_handle_cache: do not skip promote for write_ordered
We cannot redirect a RW ordered read.
Fixes: #9064
Introduced:
0ed3adc1e0a74bf9548d1d956aece11f019afee0
Signed-off-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Tue, 12 Aug 2014 21:37:28 +0000 (14:37 -0700)]
Merge pull request #2245 from dachary/wip-9085-isa-link
erasure-code: isa plugin must link with ErasureCode.cc
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Tue, 12 Aug 2014 16:46:29 +0000 (18:46 +0200)]
erasure-code: isa plugin must link with ErasureCode.cc
Otherwise it will not get the methods it needs. A test is added to check
the plugin loads as expected, from the command line. The test is not run
if the isa plugin is not found, which happens on platforms that are not
supported.
Signed-off-by: Loic Dachary <loic@dachary.org>
Sage Weil [Tue, 12 Aug 2014 19:36:47 +0000 (12:36 -0700)]
doc/changelog: v0.67.10 notes
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 12 Aug 2014 19:22:31 +0000 (12:22 -0700)]
Merge branch 'wip-8860'
Reviewed-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Fri, 8 Aug 2014 14:16:20 +0000 (10:16 -0400)]
init-ceph: conditionally update after argparsing
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Sage Weil [Tue, 12 Aug 2014 18:30:48 +0000 (11:30 -0700)]
doc/release-notes: v0.67.10
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 12 Aug 2014 16:35:08 +0000 (09:35 -0700)]
Merge remote-tracking branch 'gh/next'
Conflicts:
PendingReleaseNotes
Loic Dachary [Tue, 12 Aug 2014 15:08:37 +0000 (17:08 +0200)]
Merge pull request #2243 from ceph/wip-log-client
common/LogClient: fix sending dup log items
Reviewed-by: Loic Dachary <loic@dachary.org>
Sage Weil [Tue, 12 Aug 2014 14:05:34 +0000 (07:05 -0700)]
common/LogClient: fix sending dup log items
We need to skip even the most recently sent item in order to get to the
ones we haven't sent yet.
Fixes: #9080
Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@redhat.com>
Loic Dachary [Tue, 12 Aug 2014 13:00:02 +0000 (15:00 +0200)]
Merge pull request #2232 from dachary/wip-9044-use-ruleset
erasure-code: ErasureCodeJerasure::create_ruleset must return a ruleset
Reviewed-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Reviewed-by: Ma Jianpeng <jianpeng.ma@intel.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Ma Jianpeng [Tue, 12 Aug 2014 10:16:05 +0000 (18:16 +0800)]
utime: Because class Clock didn't exist,so remove the declaration in class utime_t.
Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
John Wilkins [Tue, 12 Aug 2014 01:16:01 +0000 (18:16 -0700)]
doc: Replace [default] with [global].
Fixes: #8955
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Tue, 12 Aug 2014 01:05:26 +0000 (18:05 -0700)]
doc: Added yum-priorities procedure to manual install.
Fixes: #8734
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Tue, 12 Aug 2014 01:04:39 +0000 (18:04 -0700)]
doc: Added priority = 2 to packages.
Fixes: #8734
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Sylvain Munaut [Thu, 5 Jun 2014 09:28:27 +0000 (11:28 +0200)]
rgw: Don't send error body when it's a HEAD request
The main 'operation' know not to send any body for HEAD requests.
However for errors, this was not the case, the formatter would be
flushed and would send the error 'message' in the body in all cases.
For the FastCGI case it doesn't seem to be an issue, it's possible
that the webserver (apache/lighttpd/...) cleans up the response
into shape.
But when using the new civetweb frontend this cause invalid HTTP.
Backport: firefly
Fixes #8539
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Signed-off-by: Sylvain Munaut <s.munaut@whatever-company.com>
Josh Durgin [Mon, 11 Aug 2014 19:30:35 +0000 (12:30 -0700)]
Merge pull request #2214 from ceph/wip-rados-df-json
rados: fix 'rados df --format=json' field names
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Wed, 6 Aug 2014 17:45:19 +0000 (10:45 -0700)]
rados: remove {read,write}_kb fields from rados df json output
Redundant. Do not backport.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 6 Aug 2014 17:45:00 +0000 (10:45 -0700)]
rados: fix {read,write}_bytes value
Fill this in with kb * 1024 instead of the ops count.
Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@redhat.com>
Samuel Just [Mon, 11 Aug 2014 17:25:43 +0000 (10:25 -0700)]
Merge pull request #2238 from ceph/wip-9057
msg/Pipe: do not wait for self in Pipe::stop_and_wait()
Reviewed-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Mon, 11 Aug 2014 03:22:23 +0000 (20:22 -0700)]
msg/Pipe: do not wait for self in Pipe::stop_and_wait()
The fast dispatch code necessitated adding a wait for the fast dispatch
to complete when taking over sockets back in commit
2d5d3097c3998add1061ce253104154d72879237 . This included mark_down()
(although I am not certain mark_down was required to fix the previous set
of races).
In any case, if the fast dispatch thread itself tries to mark down its
own connection, it will deadlock in this method waiting for itself to
return and clear reader_dispatching. Skip this wait if we are in fact
the reader thread. This avoids the deadlock.
Alternatively, we could change mark_down() to not use stop_and_wait(), but
I am less clear about the potential races there, so I'm opting for the
minimal (though ugly) fix.
Fixes: #9057
Signed-off-by: Sage Weil <sage@redhat.com>
Loic Dachary [Sat, 9 Aug 2014 16:11:03 +0000 (18:11 +0200)]
osd: improve ruleno/ruleset consistency
rename variables to reflect when they hold a ruleset and when they hold
a rule id / ruleno in the hope to avoid bugs in the future.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Sat, 9 Aug 2014 16:10:31 +0000 (18:10 +0200)]
erasure-code: ErasureCodeIsa::create_ruleset must return a ruleset
http://tracker.ceph.com/issues/9044 Refs: #9044
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Sun, 10 Aug 2014 15:10:04 +0000 (17:10 +0200)]
erasure-code: ErasureCodeJerasure::create_ruleset must return a ruleset
CrushWrapper::add_simple_ruleset does not return a ruleset, it returns
a ruleid that must be converted into a ruleset before being returned.
http://tracker.ceph.com/issues/9044 Fixes: #9044
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Sun, 10 Aug 2014 15:06:33 +0000 (17:06 +0200)]
erasure-code: OSDMonitor::crush_ruleset_create_erasure needs ruleset
When OSDMonitor::crush_ruleset_create_erasure checks the ruleset for
existence, it must convert the ruleid into a ruleset before assigning it
back to the *ruleset parameter.
http://tracker.ceph.com/issues/9044 Fixes: #9044
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Sun, 10 Aug 2014 07:51:31 +0000 (09:51 +0200)]
Merge pull request #2201 from dachary/wip-8496-erasure-code-base-class
erasure code base class
Reviewed-by: Andreas-Joachim Peters <Andreas.Joachim.Peters@cern.ch>
Sage Weil [Sat, 9 Aug 2014 20:23:06 +0000 (13:23 -0700)]
os/FileStore: dump open fds before asserting
Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 9 Aug 2014 06:00:13 +0000 (23:00 -0700)]
Merge branch 'next'
Conflicts:
src/osd/OSD.cc
Greg Farnum [Tue, 29 Jul 2014 01:33:56 +0000 (18:33 -0700)]
OSD: add require_same_peer_inst(OpRequestRef&,OSDMap&) helper
Signed-off-by: Greg Farnum <greg@inktank.com>
(cherry picked from commit
e99acf9810976b1fc74b84ad289773af43be973f )
Greg Farnum [Mon, 28 Jul 2014 21:19:59 +0000 (14:19 -0700)]
OSD: introduce require_self_aliveness(OpRequestRef&,epoch_t) function
Take the self-aliveness checks out of require_same_or_newer_map() and use
the new function for that and for require_up_osd_peer().
Signed-off-by: Greg Farnum <greg@inktank.com>
(cherry picked from commit
e179e9227b4a4482d8359682092fd7f426b9a919 )
Greg Farnum [Mon, 28 Jul 2014 21:08:30 +0000 (14:08 -0700)]
OSD: use OpRequestRef& for a few require_* functions
Signed-off-by: Greg Farnum <greg@inktank.com>
(cherry picked from commit
eb2f1ea2c33647934af878b504383829f5a198ce )
Greg Farnum [Tue, 22 Jul 2014 23:57:00 +0000 (16:57 -0700)]
OSD: introduce require_up_osd_peer() function for gating replica ops
This checks both that a Message originates from an OSD, and that the OSD
is up in the given map epoch.
We use it in handle_replica_op so that we don't inadvertently add operations
from down peers, who might or might not know it.
Signed-off-by: Greg Farnum <greg@inktank.com>
(cherry picked from commit
ccd0eec50103b919b3eb6eea96f7dc6438520ed3 )
Sage Weil [Sat, 9 Aug 2014 03:08:19 +0000 (20:08 -0700)]
Merge remote-tracking branch 'gh/next'
Sage Weil [Sat, 9 Aug 2014 01:17:27 +0000 (18:17 -0700)]
Merge pull request #2228 from ceph/wip-pg-epoch
osd: fix pg epoch floor tracking
Reviewed-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Sat, 9 Aug 2014 00:53:54 +0000 (17:53 -0700)]
Merge pull request #2209 from somnathr/wip-sd-check-pool-existence
RadosClient: Adding pool existence checks for pool create interfaces.
Reviewed-by: Sage Weil <sage@redhat.com>
Pavan Rallabhandi [Fri, 8 Aug 2014 10:16:18 +0000 (15:46 +0530)]
RadosClient: Enable pool existence check
Pool create interfaces would now refer to updated osdmap
for pool existence, such that an appropriate message is
thrown to the user when run via CLI.
Fixes: #8835
Signed-off-by: Pavan Rallabhandi <pavan.rallabhandi@sandisk.com>
Sage Weil [Fri, 8 Aug 2014 00:42:06 +0000 (17:42 -0700)]
osd: fix pg epoch floor tracking
If you call erase() on a multiset it will delete all instances of a value;
we only want to delete one of them. Fix this by passing an iterator.
Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
Samuel Just [Thu, 7 Aug 2014 22:56:18 +0000 (15:56 -0700)]
Merge pull request #2226 from athanatos/wip-8396
Wip 8396
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Mon, 4 Aug 2014 22:30:41 +0000 (15:30 -0700)]
OSD: move waiting_for_pg into the session structures
Each message belongs to a session. Further, no ordering is implied
between messages which arrived on different sessions. Breaking the
global waiting_for_pg structure into a per-session structure lets
us avoid the problem of taking a write lock on a global structure
(pg_map_lock) in get_pg_or_queue_for_pg at the cost of some
complexity in updating each session's waiting_for_pg structure when
we receive a new map (due to pg splits) or when we locally create
a pg.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Thu, 7 Aug 2014 22:42:27 +0000 (15:42 -0700)]
Merge pull request #2227 from athanatos/wip-8625
osd_types: s/stashed/rollback_info_completed and set on create
Reviewed-by: Sage Weil <sage@redhat.com>
John Wilkins [Thu, 7 Aug 2014 22:30:43 +0000 (15:30 -0700)]
doc: Removed Debian reference from Upstart.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 7 Aug 2014 22:29:34 +0000 (15:29 -0700)]
doc: Incorporated user feedback to clarify upgrade doc.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 7 Aug 2014 21:15:45 +0000 (14:15 -0700)]
doc: Added configuration discussion at end of gateway install with links to config.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Samuel Just [Mon, 4 Aug 2014 22:31:06 +0000 (15:31 -0700)]
OSD::shutdown: actually drop sessions waiting on map
There might be messages for which we still don't have the
map. Dispatching waiting won't actually help.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 29 Jul 2014 22:54:37 +0000 (15:54 -0700)]
OSD: clear_session_waiting_on_map in ms_handle_reset
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 29 Jul 2014 22:33:30 +0000 (15:33 -0700)]
OSD: rename session_waiting_for_map_lock to session_waiting_lock
This lock will also protect the waiting_for_pg structures in each
session.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 5 Aug 2014 19:57:43 +0000 (12:57 -0700)]
OSD: wake_pg_waiters outside of the pgmap write_lock, pg_lock
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 5 Aug 2014 20:00:01 +0000 (13:00 -0700)]
OSD: fix wake_pg_waiters revert error in _open_lock_pg
231fe1b685bfbd3db9c81709ca39a29d696b13ad reintroduced erroneously
this call to wake_pg_waiters. All _create_lock_pg callers handle
calling wake_pg_waiters after the pg lock has been dropped.
Fixes: #8691
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Fri, 1 Aug 2014 21:04:35 +0000 (14:04 -0700)]
osd_types: s/stashed/rollback_info_completed and set on create
Originally, this flag indicated that the object had already been stashed and
that therefore recording subsequent changes is unecessary. We want to set it
on create() as well since operations like [create, writefull] should not need
to stash the object.
Fixes: #8625
Signed-off-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Thu, 7 Aug 2014 18:21:06 +0000 (11:21 -0700)]
Merge remote-tracking branch 'gh/wip-filestore-bigxattr'
Alfredo Deza [Thu, 7 Aug 2014 15:11:57 +0000 (11:11 -0400)]
make ceph-disk use the new init flag for cluster
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Thu, 7 Aug 2014 14:48:09 +0000 (10:48 -0400)]
allow passing a --cluster flag to the init script
It will fallback to looking at /etc/ceph/$cluster.conf
otherwise.
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Wido den Hollander [Wed, 6 Aug 2014 15:14:04 +0000 (17:14 +0200)]
powerdns: Update README with better markdown
Sage Weil [Thu, 7 Aug 2014 01:42:18 +0000 (18:42 -0700)]
Merge pull request #2220 from somnathr/wip-lock-leak-fix
RadosClient: Fixing potential lock leaks.
Backport: firefly
Reviewed-by: Sage Weil <sage@redhat.com>
Pavan Rallabhandi [Wed, 6 Aug 2014 09:40:14 +0000 (15:10 +0530)]
RadosClient: Fixing potential lock leaks.
In lookup_pool and pool_delete, a lock is taken
before invoking wait_for_osdmap, but is not
released for the failure case of the call. Fixing the same.
Fixes: #9022
Signed-off-by: Pavan Rallabhandi <pavan.rallabhandi@sandisk.com>
Sage Weil [Thu, 7 Aug 2014 00:28:45 +0000 (17:28 -0700)]
os/FileStore: force any new xattr into omap on E2BIG
If we have a huge xattr (or many little ones), the _fgetattrs() for the
inline_set will fail with E2BIG. The conditions later where we decide
whether to clean up the old xattr will then also fail. We *will* put
the xattr in omap, but the non-omap version isn't cleaned up.
Fix this by setting a flag if we get E2BIG that the inline_set is known
to be incomplete. In that case, take the conservative step of assuming
the xattr might be present and chain_fremovexattr(). Ignore any error
because it might not be there.
This is clearly harmless in the general case because it won't be there.
If it is, we will hopefully remove enough xattrs that the E2BIG
condition will go away (usually by removing some really big chained
xattr).
See original bug #7779. With this in place, we can repair objects in
the broken state if we know the rados attr(s) that are responsible.
Usually that is user.rgw.manifset, and a rados get + set of the attr
will repair things.
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Thu, 7 Aug 2014 00:11:44 +0000 (17:11 -0700)]
Merge pull request #2218 from ceph/wip-rados-xattr
rados: fix get/setxattr commands up
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Thu, 7 Aug 2014 00:01:29 +0000 (17:01 -0700)]
rados: use STD{IN,OUT}_FILENO for magic values
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 7 Aug 2014 00:00:57 +0000 (17:00 -0700)]
qa/workunits/rados/test_rados_tool: add a few xattr tests
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 6 Aug 2014 22:09:22 +0000 (15:09 -0700)]
rados: optionally read setxattr value from stdin
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 6 Aug 2014 22:07:17 +0000 (15:07 -0700)]
rados: don't add \n to getxattr
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 6 Aug 2014 20:16:49 +0000 (13:16 -0700)]
qa/workunits/cephtool/test.sh: fix 'ceph df ...' tests
Broken by
ee2dbdb0f5e54fe6f9c5999c032063b084424c4c and friends.
Signed-off-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Wed, 6 Aug 2014 19:30:30 +0000 (15:30 -0400)]
use cluster name when checking the host
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 6 Aug 2014 19:30:09 +0000 (15:30 -0400)]
use name in /var/lib/ceph paths
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 6 Aug 2014 19:29:42 +0000 (15:29 -0400)]
when starting an OSD, pass in the cluster name
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Sage Weil [Wed, 6 Aug 2014 18:37:22 +0000 (11:37 -0700)]
PendingReleaseNotes: make note about rbd cache default change
Signed-off-by: Sage Weil <sage@redhat.com>
Josh Durgin [Wed, 6 Aug 2014 18:28:56 +0000 (11:28 -0700)]
Merge pull request #2123 from ceph/wip-rbd-flush
librbd: enable rbd cache by default; writethrough until flush
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Wed, 6 Aug 2014 18:08:43 +0000 (11:08 -0700)]
Merge pull request #2205 from ceph/wip-librbd-snap-meta
librbd: fix crash with a chain of flattened images
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 6 Aug 2014 14:52:31 +0000 (07:52 -0700)]
rocksdb: fix i386 build
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 6 Aug 2014 17:44:21 +0000 (10:44 -0700)]
rados: add {read,write}_ops to df json
Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 6 Aug 2014 17:41:36 +0000 (10:41 -0700)]
Merge remote-tracking branch 'gh/wip-test-ceph-disk'
Sage Weil [Wed, 6 Aug 2014 17:33:36 +0000 (10:33 -0700)]
Merge pull request #2215 from ceph/wip-kb
mon: clean up _kb fields in json and perf counter output
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Wed, 6 Aug 2014 16:31:59 +0000 (09:31 -0700)]
mon/PGMonitor: remove {rd,wr}_kb from pool stat dumps
These fields are replaced with corresponding *_bytes fields.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 6 Aug 2014 17:33:02 +0000 (10:33 -0700)]
mon: remove *_kb perf counters
This is an incompatible change.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 6 Aug 2014 16:18:27 +0000 (09:18 -0700)]
mon/PGMonitor: add _bytes perf counters
Leave the _kb ones in place for now.
Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 6 Aug 2014 16:14:40 +0000 (09:14 -0700)]
mon/PGMonitor: add _bytes fields for all usage dumps
Leave the _kb ones in place for now.
Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
Loic Dachary [Wed, 6 Aug 2014 15:23:17 +0000 (17:23 +0200)]
Merge pull request #2165 from dachary/wip-mailmap
mailmap updates
Sage Weil [Wed, 6 Aug 2014 15:16:21 +0000 (08:16 -0700)]
README.md: word wrap
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 6 Aug 2014 15:15:35 +0000 (08:15 -0700)]
README: symlink from README.md
It looks better as markdown than rendered as text via the markdown tool,
so just symlink it.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 6 Aug 2014 14:46:04 +0000 (07:46 -0700)]
Merge pull request #2202 from xinxinsh/enable-rocksdb-log-level
Enable rocksdb log level
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Tue, 3 Jun 2014 20:40:31 +0000 (22:40 +0200)]
erasure-code: rework ErasureCode*::parse methods
The ErasureCode::parse virtual function is derived in
ErasureCode{Jerasure,Isa}. It is reworked to share parsing arguments the
various techniques have in common. The logic is otherwise unmodified.
http://tracker.ceph.com/issues/8496 Refs: #8496
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Wed, 6 Aug 2014 11:54:49 +0000 (13:54 +0200)]
erasure-code: move to ErasureCode::decode_concat
It does not belong to ErasureCodeInterface which is supposed to not have
any implementation.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Tue, 3 Jun 2014 15:25:20 +0000 (17:25 +0200)]
erasure-code: move to ErasureCode::to_{int,bool}
The parameter parser helpers to_int and to_bool are moved from
ErasureCode{Jerasure,Isa} to ErasureCode.
The prototype is modified to return a status instead of the value. An
error ostream is provided as the last argument because ErasureCode
cannot use dout() or derr().
http://tracker.ceph.com/issues/8496 Refs: #8496
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Sat, 31 May 2014 22:16:59 +0000 (00:16 +0200)]
erasure-code: move to ErasureCode::minimum_to_decode*
The ErasureCode{Jerasure,Isa}::minimum_to_decode and
ErasureCode{Jerasure,Isa}::minimum_to_decode_with_cost methods are moved
verbatim to the ErasureCode base class.
http://tracker.ceph.com/issues/8496 Refs: #8496
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Tue, 3 Jun 2014 21:17:59 +0000 (23:17 +0200)]
erasure-code: move to ErasureCode::{encode,decode}{,chunk}
The bulk of ErasureCode{Jerasure,Isa}::encode and
ErasureCode{Jerasure,Isa}::decode is dealing with alignment and buffer
allocation. This is moved to ErasureCode::encode and ErasureCode::decode
respectively.
The jerasure/isa specific code is isolated in the new
ErasureCode{Jerasure,Isa}::encode_chunks and
ErasureCode{Jerasure,Isa}::decode_chunks virtual functions.
http://tracker.ceph.com/issues/8496 Refs: #8496
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Sat, 31 May 2014 20:17:15 +0000 (22:17 +0200)]
erasure-code: ErasureCode base class
Add the ErasureCode base class for ErasureCodeJerasure and
ErasureCodeIsa, for methods that can be shared among all plugins.
http://tracker.ceph.com/issues/8496 Fixes: #8496
Signed-off-by: Loic Dachary <loic@dachary.org>
Sage Weil [Tue, 5 Aug 2014 23:48:30 +0000 (16:48 -0700)]
test/osd/osd-test-helpers: mkdir -p for ceph-disk
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 5 Aug 2014 22:25:40 +0000 (15:25 -0700)]
Merge pull request #2208 from lpabon/osd_dev_doc
Developer quick start guide
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 5 Aug 2014 22:11:18 +0000 (15:11 -0700)]
test/ceph-disk.sh: mkdir -p
Signed-off-by: Sage Weil <sage@redhat.com>
Samuel Just [Tue, 5 Aug 2014 20:49:50 +0000 (13:49 -0700)]
Merge remote-tracking branch 'upstream/next' into wip-sam-testing
Conflicts:
src/osd/OSD.cc
Luis Pabón [Tue, 5 Aug 2014 18:51:16 +0000 (14:51 -0400)]
Renamed README to README.md to render in markdown
Signed-off-by: Luis Pabón <lpabon@redhat.com>
Luis Pabón [Tue, 5 Aug 2014 18:48:38 +0000 (14:48 -0400)]
Developer quick start guide
Signed-off-by: Luis Pabón <lpabon@redhat.com>
xinxin shu [Mon, 4 Aug 2014 22:53:36 +0000 (06:53 +0800)]
enable info_log_level config option for rocksdb
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
John Wilkins [Tue, 5 Aug 2014 17:21:58 +0000 (10:21 -0700)]
Merge pull request #2206 from ceph/wip-8875
doc: be a bit more explicit about 'ceph-deploy new' in quickstart
Reviewed-by: John Wilkins <john.wilkins@inktank.com>
Alfredo Deza [Tue, 5 Aug 2014 16:51:33 +0000 (12:51 -0400)]
be a bit more explicit about 'ceph-deploy new' in quickstart
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Sage Weil [Tue, 5 Aug 2014 16:15:34 +0000 (09:15 -0700)]
Merge branch 'master' of github.com:ceph/ceph
Sage Weil [Tue, 5 Aug 2014 16:15:12 +0000 (09:15 -0700)]
Merge remote-tracking branch 'gh/wip-8880'
Conflicts:
src/osd/OSD.cc
Alfredo Deza [Tue, 5 Aug 2014 15:50:57 +0000 (11:50 -0400)]
Merge pull request #2204 from osynge/wip-dont-mkdir-by-mistake2
Do not make directories by mistake.
Reviewed-by: Alfredo Deza <adeza@redhat.com>