Commit Graph

36314 Commits

Author SHA1 Message Date
John Spray
fba3ede848 libcephfs: add ceph_mds_command
Wraps the equivalent fn in Client.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
688396ac65 client: add mds_command operation
akin to Objecter::osd_command

Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
b9c0ce4f4a osdc/Objecter: don't consume non-osd cmd replies
...so that Client can get command replies from MDSs.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
e8f3f6b91c mds: introduce MDS auth caps
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
fad2865f96 mds: handle MCommand (mds tell)
Separate path to legacy MMonCommand, because MCommand
from the CLI sends JSON-style commands.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
5e7cb60827 mds: deprecation-warn on numeric mds names
To be turned into strict check in post-hammer
release, so that we can always unambiguously
discriminate a string into one of name, rank, gid.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
9552e8fc44 common: fix cmd_getval constness
...so that one can pass in a const cmdmap.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
9610029d3e messages: fix constness in MCommand constructor
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:19 +01:00
John Spray
f93bf3853f mds: typedefs for rank and gid in MDSMap
Make it clearer what these numbers are where they appear.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-08 11:58:18 +01:00
Loic Dachary
da074f02cd Merge pull request #2668 from theanalyst/fix/mailmap-again
Fix/mailmap again

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-10-08 12:11:02 +02:00
Abhishek Lekshmanan
90ca5e3c68 mailmap: João Eduardo Luís name normalization
Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-10-08 15:10:09 +05:30
Abhishek Lekshmanan
c967ced78d mailmap: Yongyue sun affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-10-08 15:10:09 +05:30
Abhishek Lekshmanan
8149ac6328 mailmap: Andreas Peters name normalization
Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-10-08 15:10:09 +05:30
Loic Dachary
8be3446e86 Merge pull request #2665 from yuyuyu101/update-mailmap
mailmap: add yuandong to organizationmap

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
2014-10-08 10:18:54 +02:00
Haomai Wang
cb36ccbbac mailmap: add yuandong to organizationmap
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-10-08 15:23:47 +08:00
Gregory Farnum
1b7fae7b29 Merge pull request #2617 from ceph/wip-9628
mds: Add session to sessionmap when its state becomes opening

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-10-07 19:26:20 -07:00
Sage Weil
1036e9827c Merge remote-tracking branch 'gh/giant'
Conflicts:
	src/osdc/Objecter.cc
2014-10-07 12:40:45 -07:00
Sage Weil
f91188e013 v0.86
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQIcBAABAgAGBQJUM+iVAAoJEH6/3V0X7TFt2twP+wSdzthj36mTpv7Q1THNEFix
 /D8q69gHhDNGFLXT9xvd11IDJlD+Nhhl0SNbK40WDRRIlcgUxv7RXfw6CEVz9CTe
 9ELV6m9jjtA3VyogygKOsC5p9zwQ1lvh8Fq2K/vPBpQ7UcKSdg+5mBD5hiraAvsz
 /VnXxMYOIaMDAWyWURR2PefwKjepiBIcyJQeD+gANfneYjNhq9UiH2OvO8RcyMjA
 gAzgnnq1bPfjJ5VY2CTrynPy36yHgwMVbAuhcDTRv0NR9Qpdj6bqdHD4wbidz0Cj
 wmCMVRmAqQh0fQJOoOJZpKWwX+FiUesz84bINX4oZYS4PyjMLFnvsX8HZUqPf8+L
 m02j+zy58nfMAUTS7FHJiBOpp5Ufg3lEd1nVSUJNJXihWWeHsQ52dTuEf5x4ZanD
 h6H6fBgS8Deeuc8LP3rot7AVsC5j1S3nY3AMb6WAklk9JARVmA94Y3xP0d7LRSBj
 at/l54omBLsg6RKbiUR25d7nJLcfFsqoYAyutsxHcJh8vltJSM2SrZOkB4RQWi6C
 Cl6+uNmMZPrqwPHzHNcRePQcs4LOzgkTzB4Og6gJyvThkGj4cDhWJmXgtvu1XLbv
 +BBKxxKMi7bitxm87qw0YpIFWKmucAkkkXZc3vobBhaY02e1K/lVDdjUhEfNzPxm
 T6LKWQnULtXIJC3lJ6df
 =9IZj
 -----END PGP SIGNATURE-----

Merge tag 'v0.86' into giant

v0.86
2014-10-07 12:34:10 -07:00
Jenkins
d14ca34a1c 0.86 2014-10-07 12:16:58 -07:00
Samuel Just
1d22575cb0 Merge remote-tracking branch 'guangyy/wip-9008' into giant 2014-10-07 11:42:14 -07:00
Sage Weil
887652f66c Merge pull request #2631 from ceph/wip-rwtimer
DNM: osdc/Objecter: use SafeTimer; make callbacks race-tolerant

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2014-10-07 11:41:11 -07:00
Samuel Just
45a201f36f Merge pull request #2489 from guangyy/wip-9008
For pgls OP, get/put budget on per list session basis, instead of per OP basis.

Reviewed-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-10-07 10:51:21 -07:00
João Eduardo Luís
6b692b9fd8 Merge pull request #2655 from ceph/wip-9635
mon: fix async write completion waits

Fixes: #9635

Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
2014-10-07 15:54:50 +00:00
Sage Weil
51fd5ac46a Merge pull request #2654 from dachary/wip-9677-ioprio-class
common: ceph_ioprio_string_to_class always returns -EINVAL

Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-07 08:47:44 -07:00
Sage Weil
cba5e1cf1f Merge pull request #2626 from dachary/wip-rados-empty-file
tools: rados put /dev/null should write() and not create()

Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-07 08:13:22 -07:00
Gregory Farnum
c00fe10fb8 Merge pull request #2652 from ceph/wip-msgr
msgr: fix remaining direct references to "new SimpleMessenger" by replacing with the factory method

Reorganize the src/msg hierarchy to push SimpleMessenger down into a subfolder to make way for organizing new in-tree implementations.

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-10-07 07:23:54 -07:00
Sage Weil
2ac2a96898 Merge pull request #2560 from ceph/wip-9418
mon: add new profiles & audit cap checks

Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-07 06:32:53 -07:00
Sage Weil
ffe0a0e796 Merge pull request #2647 from ceph/wip-rm-legacy-cli
tools: remove old ceph.cc

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-10-07 06:30:46 -07:00
Sage Weil
47f9600634 Merge pull request #2646 from ceph/wip-osd-op-macro
rados.h: use macros to generate osd ops definitons and strings

Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-07 06:27:09 -07:00
Jenkins
97dcc0539d 0.86 2014-10-07 06:20:21 -07:00
Sandon Van Ness
32e8bcda49 Run configure without liblttng on squeeze as well.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-10-07 06:04:39 -07:00
Sandon Van Ness
be6de4a997 Run configure without liblttng on squeeze as well.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-10-07 06:03:36 -07:00
Loic Dachary
3535b7aba3 common: ceph_ioprio_string_to_class always returns -EINVAL
The l string is always empty because std::transform needs a
pre-allocated string. Replace with the in-place version. Add unit tests.

http://tracker.ceph.com/issues/9677 Fixes: #9677

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-07 14:11:17 +02:00
Loic Dachary
5088e0d493 osd: log error if set_ioprio fails to parse class
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-07 14:09:17 +02:00
Loic Dachary
33339c7754 common: set_ioprio debug message including pid
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-07 14:09:17 +02:00
Loic Dachary
c7e4c0bfe7 common: do not set ioprio if pid is not set
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-07 14:09:17 +02:00
Loic Dachary
aa9041c5eb Merge pull request #2653 from dachary/wip-9676-ioprio-doc
doc: missing osd prefix to ioprio config options

Reviewed-by: Mehdi Abaakouk <sileht@sileht.net>
2014-10-07 10:15:20 +02:00
Loic Dachary
62235688c4 doc: missing osd prefix to ioprio config options
http://tracker.ceph.com/issues/9676 Fixes: #9676

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-07 10:10:24 +02:00
Sage Weil
b2e4bd512b msg: move SimpleMessenger to msg/simple/
Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-06 21:23:07 -07:00
Sage Weil
5a860bec48 librados: use Messenger factory method
Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-06 21:23:06 -07:00
Sage Weil
5eff0ee9fc msg: use localized cct for derr
Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-06 21:22:54 -07:00
Sage Weil
06aef6ff61 doc/release-notes: v0.86
Signed-off-by: Sage Weil <sage@redhat.com>
2014-10-06 21:15:43 -07:00
Sage Weil
3484dd839e Merge pull request #2651 from ceph/wip-ostool
ceph_objectstore_tool: Accept CEPH_ARGS environment arguments

Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-06 21:11:51 -07:00
David Zafman
10fe7cfe56 ceph_objectstore_tool: Accept CEPH_ARGS environment arguments
Signed-off-by: David Zafman <dzafman@redhat.com>
2014-10-06 18:26:44 -07:00
Sage Weil
260933b110 Merge branch 'wip-9658' into giant 2014-10-06 15:52:24 -07:00
David Zafman
6067f295e7 Merge pull request #2639 from ceph/wip-9661
Fix 9661: ceph_objectstore_tool doesn't work with memstore

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-10-06 15:47:30 -07:00
John Spray
52ac52034e tools: remove old ceph.cc
Signed-off-by: John Spray <john.spray@redhat.com>
2014-10-06 23:23:17 +01:00
Sage Weil
9ffd3788a4 Merge pull request #2649 from ceph/wip-os-recommend-doc-fix
doc: update kernel recommendations, add tunables link
2014-10-06 11:20:10 -07:00
Ilya Dryomov
abe4c35399 doc: update kernel recommendations, add tunables link
No 3.16.[0-2] - same rbd deadlock regression as in 3.15.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
2014-10-06 21:25:29 +04:00
Sage Weil
031ef0551e Merge pull request #2645 from ceph/wip-9663
client: clean-up objecter on failed client init

Reviewed-by: Sage Weil <sage@redhat.com>
2014-10-06 09:37:32 -07:00