David Zafman
9495de4726
doc: Fix ceph command manpage to match ceph -h (firefly)
...
Improve synopsis section
Fixes : #10676
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 9ac488c1eb
)
Conflicts:
doc/man/8/ceph.rst
man/ceph.8
2015-03-13 16:59:39 -07:00
Samuel Just
5680456e35
PGBackend: do not rewrite ec object oi checksums
...
Deep scrub does not actually give us the whole-object checksum for an ec
object, only the checksum for the first shard. We ignore it in scrub
for ec pools anyway in be_select_auth_object.
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-03-13 15:29:53 -07:00
Samuel Just
e0bf13264f
PGBackend: add debug option to rewrite digest even if present
...
Related: #11027
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-03-13 15:29:53 -07:00
Samuel Just
3858d0bf76
ReplicatedPG: finish_ctx: do not assume that the oi is for the head object
...
If we are setting the oi on the clone object, we want to update the
mod_desc.
Fixes: 11027
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-03-13 15:29:50 -07:00
Ken Dreyer
338b44bc74
packaging: include ceph_perf_objectstore
...
The /usr/bin/ceph_perf_objectstore file is installed by default. Prior
to this commit it was missing from the packaging. This caused the RPM to
fail to build in mock.
Add ceph_perf_objectstore to the "ceph-test" RPM and Debian package.
If we end up developing further ceph_perf_* utilities, it would make
sense to glob them all with a wildcard, similar to what we are doing
with all the ceph_test_* utilities in ceph-test.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2015-03-13 16:14:51 -06:00
Pete Zaitcev
372297201f
Specify the actual struct used in protocol handshake
...
Maybe it was sockaddr_storage in an older version, but it is
definitely entity_addr_t in "ceph v027".
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
2015-03-13 14:18:11 -06:00
James Page
b2781fb563
Add support for PPC architecture, provide fallback
...
Add high precision cpu cycles support for powerpc and powerpc64.
Provide a fallback for other architectures and warn during
compilation.
Signed-off-by: James Page <james.page@ubuntu.com>
2015-03-13 19:47:00 +00:00
Kefu Chai
e3bbe4e02b
Merge pull request #3957 from xinxinsh/wip-cleanup
...
os/{Level,Rocks}DBStore: cleanup in_prefix function
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-03-14 00:28:08 +08:00
Kefu Chai
19d106f2dc
Merge pull request #3985 from fmarsylle/master
...
doc: s/that will called every time/that will be called every time/
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-03-13 23:33:26 +08:00
Haomai Wang
fd5df5c6ad
librbd: Make metadata_set support multi kv pairs
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:52:43 +08:00
Haomai Wang
978d7b4713
librbd: Fix typo and prefix ++
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:52:43 +08:00
Haomai Wang
ba112d599d
librbd: Make image metadata copied during image copy
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:52:43 +08:00
Haomai Wang
5cae66a950
cls_rbd: Fix incorrect assert for prefix metadata key
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:52:42 +08:00
Haomai Wang
5178c09dff
test_cli: update rbd client help description
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:52:42 +08:00
Haomai Wang
933702d20c
librbd: Add tests for metadata get operation
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:52:42 +08:00
Haomai Wang
da9a057216
librbd: Add metadata_get method to support single metadata key retrieve
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:52:42 +08:00
Haomai Wang
dfb3a01485
librbd: Make metadata support clone operation
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:52:42 +08:00
Haomai Wang
7380632aba
rbd.cc: add metadata cli operations
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:52:42 +08:00
Haomai Wang
e926e902d9
test_librbd: Add librbd interface tests for metadata
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:51:34 +08:00
Haomai Wang
1260af3d8c
test_cls_rbd: add metadata cls tests
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:51:34 +08:00
Haomai Wang
c983c3cf86
librbd: Add librbd interface impl and tracing for metadata
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:51:34 +08:00
Haomai Wang
1b2904e206
librbd/internal: Add internal implementation for metatdata ops
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:51:34 +08:00
Haomai Wang
47d9cecb4b
include/librbd: Add metadata interface to librbd
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:51:34 +08:00
Haomai Wang
ba122b5e66
cls_rbd: Add cls rbd implementation for librbd metadata
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:51:34 +08:00
Haomai Wang
c1aa3443b8
cls_rbd_client: Add cls rbd client interface to support rbd metadata
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 22:51:34 +08:00
Loic Dachary
58e815729a
Merge pull request #3986 from Al3xis-N/master
...
doc: How to generate an object corpus : should be a subsection
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-13 15:17:05 +01:00
smagtony@gmail.com
aeca8fb040
doc: How to generate an object corpus : should be a subsection
...
Fixes : #11099
Signed-off-by: Alexis Normand <n.al3xis@gmail.com>
2015-03-13 15:11:21 +01:00
Loic Dachary
6ba2e49a9b
Merge pull request #3987 from RobinDehu/master
...
doc: extra \ in CEPH\_AUTH\_UNKNOWN
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-13 15:09:26 +01:00
florian
72a26ebbb8
doc: s/that will called every time/that will be called every time/
...
fixes : #11098
Signed-off-by: florian marsylle <florian.marsylle@hotmail.fr>
2015-03-13 15:03:27 +01:00
Boris Ranto
aceb860979
Build ceph-dencoder if server and mds for now
2015-03-13 14:42:53 +01:00
dehu robin
38bc2986d8
doc: extra \ in CEPH\_AUTH\_UNKNOWN
...
Suppress all \
fixes : #11097
Signed-off-by: DEHU Robin <robindehu@gmail.com>
2015-03-13 13:04:14 +01:00
Haomai Wang
10edd5d1f7
test_msgr: Add new inject test and add support for handle_reset
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 19:28:04 +08:00
Haomai Wang
2bb40f91d6
test_async_driver: Fix incorrect test behavior
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 14:24:57 +08:00
Haomai Wang
a2f62d3d77
AsyncConnection: Add SyntheticInjectTest for lossy connection
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 14:10:28 +08:00
Haomai Wang
f7a1fdb563
AsyncConnection: Lock existing's lock in advance avoid existing's state changed
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 14:10:22 +08:00
Haomai Wang
18c35878b3
AsyncConnnection: Make accept inline to avoid connection marked down
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 14:10:18 +08:00
Haomai Wang
3afa07689b
AsyncConnection: Skip _try_send if connection closed
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 14:10:14 +08:00
Haomai Wang
17955c1cbd
test_msgr: Make each side can initialize connection when !policy.server
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-03-13 14:10:06 +08:00
Yan, Zheng
c173ceafad
mds: disable snapshot rstat temporarily
...
that code that propagates snapshot rstat is buggy and
difficult to fix. (the main problem this code causes is
that snapshot rstat is always propagated to parent node,
which results large size of CInode:old_inodes).
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-03-13 09:46:44 +08:00
Yan, Zheng
b815cf61c1
mds: pin inode when openning snap parent
...
make sure SnapRealm not get freed before C_SR_RetryOpenParents
get executed.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-03-13 09:46:43 +08:00
Ilya Dryomov
c365cac767
rbd: regenerate rbd(8) man page
...
merge-diff and status commands, --image-features and --image-shared
options, other stuff.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 356a749f63
)
2015-03-12 14:37:00 -07:00
Josh Durgin
6e56438b01
Merge pull request #3979 from ceph/wip-rbd-map-options
...
rbd: default map options, new options, misc
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-12 14:36:05 -07:00
David Zafman
416cbff0b4
doc: Fix typo in ceph pg dump_stuck usage in man page
...
Cause by 9db596974c
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-03-12 14:33:52 -07:00
Josh Durgin
4304951b58
Merge pull request #3981 from ceph/wip-librbd-invalidate-object-map
...
librbd: invalid snapshot object maps should only affect the snapshot
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-12 14:27:37 -07:00
Loic Dachary
1cba9b821f
Merge pull request #3978 from tchaikov/hammer-sca-fixes
...
sca fixes ported from master
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-12 22:06:15 +01:00
Jason Dillaman
ba77bda554
librbd: invalidating snapshot object maps should set snapshot flag
...
Instead of setting the HEAD image flag to indicate an invalid
object map, set the flag for the specific snapshot that is
invalid.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-03-12 13:20:59 -04:00
Dmytro Iurchenko
1b722bbcd6
rgw: Swift API. Allows setting attributes with COPY object operation.
...
http://developer.openstack.org/api-ref-objectstorage-v1.html says: "With COPY, you can add additional metadata to the object."
Fixes : #10662
Backport: hammer
Reported-by: Ahmad Faheem <ahmad.faheem@ril.com>
Signed-off-by: Dmytro Iurchenko <diurchenko@mirantis.com>
2015-03-12 19:07:11 +02:00
Jason Dillaman
ba4bb22bc1
test_cls_rbd: verify set_flags updates snapshots
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-03-12 13:02:54 -04:00
Jason Dillaman
fa25b84ede
cls_rbd_client: add snap_id param to set_flags
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-03-12 12:59:17 -04:00
Jason Dillaman
2d86898de1
cls_rbd: set_flags can now update snapshots
...
It's possible for an object map to be invalid only for
a snapshot, so allow snapshot flags to be updated. This
will also be required when rebuilding the object map and
clearing the invalid flag.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-03-12 12:56:14 -04:00