Commit Graph

46748 Commits

Author SHA1 Message Date
Samuel Just
64cb6e5569 Revert "osd: fix arithmetic exception when scrub_min_interval is small"
This reverts commit a828a4df54.
2016-01-05 16:30:40 -08:00
Josh Durgin
d0f4d2d634 Merge pull request #7114 from dillaman/wip-14234-jewel
librbd: reduce verbosity of common error condition logging

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-01-05 11:41:00 -08:00
Josh Durgin
eb680a3a6b Merge branch 'wip-14237-jewel' of git://github.com/dillaman/ceph into jewel
qa/workunits/rbd: import_export should use clean temp space

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-01-05 11:39:12 -08:00
Josh Durgin
370718a616 Merge pull request #7113 from dillaman/wip-14168-jewel
journal: disconnect watch after watch error

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-01-05 10:30:26 -08:00
Jason Dillaman
089673a59c qa/workunits/rbd: import_export should use clean temp space
Fixes: #14237
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-01-05 12:50:23 -05:00
Jason Dillaman
5b065aae75 librbd: reduce verbosity of common error condition logging
Fixes: #14234
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-01-05 12:29:13 -05:00
Jason Dillaman
a3ac03e5ae journal: disconnect watch after watch error
Fixes: #14168
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-01-04 23:13:16 -05:00
Yehuda Sadeh
7bcb744d6b Revert "rgw: use smart pointer for C_Reinitwatch"
This commit introduced regressions, issues #14173, #14180.

The problem is that the context deletes itself after execution,
so using a shared_ptr to hold it is problematic, as we'll eventually
have a double free. Also, it doesn't solve the underlying leak issue.

This reverts commit e9daed221e.
2016-01-04 12:54:33 -08:00
Josh Durgin
91f286dd0f Merge pull request #7101 from dillaman/wip-14221-jewel
qa/workunits/rbd: rbd-nbd test should use sudo for map/unmap ops

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-01-04 15:46:47 -05:00
Jason Dillaman
70a1392920 qa/workunits/rbd: rbd-nbd test should use sudo for map/unmap ops
Fixes: #14221
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-01-04 12:03:45 -05:00
Yan, Zheng
749c42422e Merge pull request #6933 from jcsp/wip-14048
mds: tear down connections from `tell` commands
2015-12-24 16:27:28 +08:00
Josh Durgin
a297608196 Merge pull request #7043 from dillaman/wip-14170-jewel
librbd: do not ignore self-managed snapshot release result

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-23 13:30:13 -08:00
Jason Dillaman
b4dbaa69ac librbd: do not ignore self-managed snapshot release result
Fixes: #14170
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-23 13:57:44 -05:00
Josh Durgin
1e1df754b6 Merge pull request #7042 from dillaman/wip-14164-jewel
librbd: properly handle replay of snap remove RPC message

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-23 10:52:16 -08:00
Josh Durgin
c0c608b2bb Merge pull request #7040 from dillaman/wip-14092-jewel
librbd: ensure librados callbacks are flushed prior to destroying 

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-23 10:48:43 -08:00
Josh Durgin
f0767a7490 Merge pull request #7035 from dillaman/wip-14122-jewel
librbd: clear error when older OSD doesn't support image flags

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-23 10:43:29 -08:00
Jason Dillaman
bc309d9d76 librbd: properly handle replay of snap remove RPC message
Fixes: #14164
Backport: infernalis
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-23 13:26:39 -05:00
Jason Dillaman
98157ab327 librbd: ensure librados callbacks are flushed prior to destroying image
Fixes: #14092
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-23 12:06:50 -05:00
Jason Dillaman
b8d7aa2c2c librbd: clear error when older OSD doesn't support image flags
Fixes: #14122
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-23 09:47:37 -05:00
Josh Durgin
df9ff2522f Merge pull request #7002 from dillaman/wip-14092-jewel
tests: flush op work queue prior to destroying MockImageCtx

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-21 07:31:57 -08:00
Jason Dillaman
e8911cfee7 tests: flush op work queue prior to destroying MockImageCtx
Fixes: #14092
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-21 09:03:15 -05:00
Sage Weil
0a4b7ab20c Merge pull request #6815 from badone/wip-13993
common: log: Assign LOG_DEBUG priority to syslog calls

Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-19 13:58:37 -05:00
Josh Durgin
d7581cda4a Merge pull request #6979 from dillaman/wip-14123-jewel
librbd: correct issues discovered when cache is disabled

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-18 13:25:35 -08:00
Josh Durgin
73358df6de Merge pull request #6974 from dillaman/wip-14108-jewel
librbd: correct issues discovered during teuthology testing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-18 13:13:44 -08:00
Jason Dillaman
bfc9690dd1 librbd: skip journal event if write/discard was no-op
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-18 15:14:34 -05:00
Jason Dillaman
f6659cc7f0 librbd: object map ENOENT optimizations should complete asynchronously
This ensures a consistent lock ordering between the optimized path and
a librados callback. Remove the cache writebach handler's custom finisher
and re-use the op_work_queue.

Fixes: #14123
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-18 15:14:06 -05:00
Jason Dillaman
913339f75f librbd: update exclusive lock state when shutting down
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-18 14:15:10 -05:00
Jason Dillaman
200d310635 librbd: extra request required if journal enabled w/ caching
Fixes: #14108
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-18 13:14:58 -05:00
Jason Dillaman
bab16bbbeb librbd: stop the copyup thread during shutdown
Fixes: #14107, #14108
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-18 13:09:02 -05:00
Josh Durgin
ae18bcb719 Merge pull request #6972 from dillaman/wip-14106-jewel
rbd: merge_diff test should use new --object-size parameter instead of --order

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-18 08:46:55 -08:00
Jason Dillaman
69bcac513a qa/workunits/rbd: use --object-size instead of --order
Fixes: #14106
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-18 03:03:20 -05:00
na xie
94cd34b6a3 rbd: process crushed, rbd creating with striping parameters
Signed-off-by: Na Xie <xie.na@h3c.com>
2015-12-18 02:52:07 -05:00
Brad Hubbard
8e93f3f45d log: Log.cc: Assign LOG_DEBUG priority to syslog calls
Fixes: #13993
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-12-18 08:52:58 +10:00
Sage Weil
91bf56e26b Merge remote-tracking branch 'gh/jewel' 2015-12-16 10:48:15 -05:00
Sage Weil
4fc410280c Merge pull request #6932 from aiicore/test_fix
tests: allow object corpus readable test to skip specific incompat instances

Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-16 08:46:50 -05:00
Yan, Zheng
db8bf2dcea Merge pull request #6941 from jcsp/wip-14029
mds: fix setvxattr (broken in a536d114)
2015-12-16 19:55:40 +08:00
David Zafman
1d7b53f42f Merge pull request #6948 from ceph/revert-6939-bp-remove-bz2dev
Revert "makefiles: remove bz2-dev from dependencies"

Reviewed-by: Dan Mick <dmick@redhat.com>
2015-12-15 17:47:01 -08:00
Samuel Just
35542eb6ed Revert "makefiles: remove bz2-dev from dependencies" 2015-12-15 15:12:19 -08:00
Ken Dreyer
ff9712b249 Merge pull request #6692 from SUSE/wip-13860
ceph.spec.in: add BuildRequires: systemd

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-12-15 08:28:06 -07:00
Kefu Chai
34ceddf026 Merge pull request #6939 from branch-predictor/bp-remove-bz2dev
makefiles: remove bz2-dev from dependencies

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-12-15 22:43:27 +08:00
Loic Dachary
09c57ff521 Merge pull request #6943 from smithfarm/wip-doc-dev-typo
doc: fix typo in developer guide

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-15 15:33:21 +01:00
Nathan Cutler
fec545839c doc: fix typo in developer guide
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-12-15 15:25:45 +01:00
John Spray
d465830115 mds: fix setvxattr (broken in a536d114)
There was an accidental move of this line
when adding the MAY_SET_POOL check, which
was causing setxattr to proceed before
it had the right locks, and thereby apply
its checks on bad data (symptom was failing
to detect that the file had data written to it).

Fixes: #14029
Signed-off-by: John Spray <john.spray@redhat.com>
2015-12-15 13:22:23 +00:00
John Spray
d278134232 Merge pull request #6821 from H3C/wip-cephfs-f11322
ceph-fuse: add process to ceph-fuse --help

Reviewed-by: John Spray <john.spray@redhat.com>
2015-12-15 13:15:43 +00:00
Piotr Dałek
a8b5920259 makefiles: remove bz2-dev from dependencies
The only thing that uses bzip2-devel is RocksDB, and it's optional, not
requirement. Drop the bzip2-devel/libbz2-dev dependency entirely, and
let RocksDB use it only if it is already present.

Fixes: #13981
Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
2015-12-15 14:01:51 +01:00
Wei Feng
9409e96aed ceph-fuse: add process to ceph-fuse --help
Signed-off-by: Wei Feng <feng.wei@h3c.com>
2015-12-15 07:45:07 -05:00
Loic Dachary
736532cac9 Merge pull request #6934 from smithfarm/wip-14070
doc: Update list of admin/build-doc dependencies

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-15 13:24:47 +01:00
Nathan Cutler
eadc771d27 doc: Update list of admin/build-doc dependencies
http://tracker.ceph.com/issues/14070 Fixes: #14070

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-12-15 12:41:29 +01:00
John Spray
b1429aa72a mds: tear down connections from tell commands
We can identify sessions that were never really
opened, just created when a client sent in
a 'tell' message.  When we see one of those, mark
the associated connection disposable when responding
to the command.

Fixes: #14048
Signed-off-by: John Spray <john.spray@redhat.com>
2015-12-15 11:20:11 +00:00
Igor Podoski
8d68d0237c test/encoding/readable.sh: add non-whole type skip
With this modification there will be possibility to skip only one/few
object/s of particular type, not whole type as it was before.

Before:
- To skip whole TYPE create file named TYPE in forward_incompat
directory.

Now:
- To skip whole TYPE create file or empty directory named TYPE in
forward_incompat directory.
- To skip one/few object/s of TYPE create directory named TYPE in
forward_incompat and put into symbolic links to objects that
you wantt to skip.

Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
2015-12-15 12:08:17 +01:00