James McClune
2a59842991
doc: fixed broken link in Swift Settings section
...
Fixes: https://tracker.ceph.com/issues/40575
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-06-30 14:34:23 -04:00
Kefu Chai
42a21a435e
Merge pull request #28786 from tchaikov/wip-const-head
...
osd/PrimaryLogPG: more constness
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-06-30 23:44:51 +08:00
Kefu Chai
5f0f83589f
Merge pull request #28719 from majianpeng/remove-unused-code-XioMessenger
...
msg/Message: Remove used code about XioMessenger.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-30 15:55:08 +08:00
Kefu Chai
db09ea8531
Merge pull request #28794 from tchaikov/wip-crimson-option-help-seastar
...
crimson/osd: add "--help-seastar" command line option
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-06-30 15:52:32 +08:00
Kefu Chai
9e3e5d435e
doc/dev/crimson.rst: update with stuff related to seastar options
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 23:16:42 +08:00
Kefu Chai
b8b205a3ae
Merge pull request #28792 from tchaikov/wip-crimson-logging
...
common/config_values: set seastar logging level per that of ceph
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-06-29 23:02:39 +08:00
Kefu Chai
c8dac70afd
Merge pull request #28790 from tchaikov/wip-crimson-unknown-objectstore
...
crimson/osd: abort on unsupported objectstore type
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-06-29 22:54:15 +08:00
Kefu Chai
67bc3e0a03
crimson/osd: add "--help-seastar" command line option
...
so we can
* have access to the available command line options offered by Seastar.
* tell if the executable we are playing around is ceph-osd or crimson-osd.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 22:48:05 +08:00
Kefu Chai
a66c27ad26
doc/dev/crimson.rst: update logging related doc
...
as crimson's logging levels are now connected those of ceph, there is no
need to note down the difference between them anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 21:41:00 +08:00
Kefu Chai
253d05306c
common/config_values: set seastar logging level as well
...
when the logging level of a subsys changes, update seastar accordingly
before this change, seastar logging levels of different logger are not
connected to ceph's logging levels of different subsystem.
after this change, they are connected. whenever a subsys's logging level
changes, the corresponding seastar logger is updated as well.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 21:38:22 +08:00
Kefu Chai
513e49b396
common/dout.h: extract log level mapping out
...
so we can reuse it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 21:38:22 +08:00
Kefu Chai
dc4d8082d0
crimson/osd: revert 9813f7d6
...
since we have a proper PeeringState implementation, there is no need to
fake an active+clean PG anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 21:38:22 +08:00
Kefu Chai
d5dbee1ff6
crimson/osd: abort on unsupported objectstore type
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 20:03:20 +08:00
Kefu Chai
cf64928412
crimson/osd: add editor variables/options
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 20:03:20 +08:00
Kefu Chai
02388911ae
crimson/common: implement "__ceph_abortf()"
...
the macro of `ceph_abort_msgf()` is implemented using it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 20:03:20 +08:00
Kefu Chai
8b4c62f520
crimson/osd: add a space before function name
...
for better readability
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 20:03:20 +08:00
Kefu Chai
713a9a09e4
crimson/osd: use get_osdmap_epoch()
...
always prefer using the interface.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 20:03:20 +08:00
Kefu Chai
85478ea111
osd/PrimaryLogPG: more constness
...
use `hobject_t::get_head()` instead of relying on the fact that head
object's snap is `CEPH_NOSNAP`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 14:32:08 +08:00
Kefu Chai
e2af7fe04f
Merge pull request #28780 from varshar16/wip-doc-update-sepia-link
...
doc: Updates link to Sepia lab
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-29 12:12:36 +08:00
Matt Benjamin
0dd78c1b61
Merge pull request #28664 from linuxbox2/wip-rgwfile-faststats
...
rgw_file: introduce fast S3 Unix stats (immutable)
2019-06-28 19:09:00 -04:00
Ali Maredia
9789f10537
Merge pull request #28783 from cbodley/wip-rgw-object-lock-get-params
...
rgw: fix MalformedXML errors in PutBucketObjectLock/PutObjRetention
2019-06-28 16:36:32 -04:00
Matt Benjamin
6bf2786d28
rgw_file: introduce fast S3 Unix stats (immutable)
...
For objects originating in S3/Swift, it is frequently acceptable
to synthesize c/mtime and size stats from meta attributes in the RGW
bucket index entry.
Synthetic stat behavior is not compatible with mutation of file
ownership and permissions via SETATTR. In future, current xattr-based,
mutable, Unix stats may be moved to the bucket index. For now, use
synthetic stats only when a new option rgw_nfs_s3_fast_attrs is present.
Fixes: http://tracker.ceph.com/issues/40456
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-06-28 16:29:56 -04:00
Matt Benjamin
3dc3407302
Merge pull request #27964 from Kriechi/fix-rgw-ldap-username
...
docs: fix rgw_ldap_dnattr username token
2019-06-28 16:17:34 -04:00
Casey Bodley
3553c6ee8b
Merge pull request #28724 from ivancich/wip-abort-multipart-fix
...
rgw: multipart upload abort is best-effort
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-06-28 15:25:12 -04:00
Ali Maredia
da1bc86c16
Merge pull request #28102 from albIN7/liv2
...
RGW:Listobjectsv2
2019-06-28 14:58:54 -04:00
Casey Bodley
33a00eee3c
rgw: fix MalformedXML errors in PutBucketObjectLock/PutObjRetention
...
RGWPutBucketObjectLock was not calling get_params(), so the 'data' it
was trying to parse was empty
RGWPutObjRetention was calling get_params() a second time, which
overwrote the 'data' from the first call
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-06-28 14:54:58 -04:00
Sage Weil
b4757f32a7
Merge PR #28491 into master
...
* refs/pull/28491/head:
doc/rados/operations: add safe-to-destroy check to OSD replacement workflow
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-06-28 13:44:18 -05:00
J. Eric Ivancich
36df505d55
Merge pull request #28781 from ivancich/wip-fix-source-permissions
...
src/: remove execute permissions on nine source files
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-28 13:00:00 -04:00
Neha Ojha
bad43f856d
Merge pull request #28775 from neha-ojha/wip-doc-delete-sleep
...
doc/rados/configuration/osd-config-ref.rst: document osd_delete_sleep
Reviewed-by: Sage Weil <sage@redhat.com>
2019-06-28 09:11:00 -07:00
J. Eric Ivancich
a8c0791334
misc: remove execute permissions on nine source files
...
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2019-06-28 11:33:08 -04:00
Matt Benjamin
277da96437
Merge pull request #28565 from linuxbox2/wip-rgwfile-eof
...
rgw_file: fix readdir eof() calc--caller stop implies !eof
2019-06-28 11:05:42 -04:00
Varsha Rao
709f76c528
doc: Updates link to Sepia lab
...
Signed-off-by: Varsha Rao <varao@redhat.com>
2019-06-28 19:47:50 +05:30
Jason Dillaman
a28d3207e4
Merge pull request #28761 from lixiaoy1/pmem_osd
...
os/bluestore: fix pmem osd build problem
Reviewed-by: Jason Dillaman <dllaman@redhat.com>
2019-06-28 07:42:43 -04:00
Kefu Chai
7a31610dd1
Merge pull request #28776 from badone/wip-minimimal-config-no-longer-valid
...
do_cmake.sh: Add a heading to the minimal config
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-28 17:38:40 +08:00
lixiaoy1
6f842ac6af
os/bluestore: fix pmem osd build problem
...
Signed-off-by: Peterson, Scott <scott.d.peterson@intel.com>
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2019-06-28 04:45:43 -04:00
Brad Hubbard
f313ea3948
do_cmake.sh: Add a heading to the minimal config
...
Post #28634 the minimal ceph config is invalid without a header.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-06-28 15:46:30 +10:00
Kefu Chai
4987bea98c
Merge pull request #28771 from athanatos/sjust/wip-schedule-event-on-commit
...
crimson/osd/pg: start_operation for read_state, schedule_event_on_commit
Reviewed-by: Yingxin Cheng <yingxincheng@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-28 12:14:19 +08:00
Neha Ojha
981babc8fa
doc/rados/configuration/osd-config-ref.rst: document osd_delete_sleep
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-06-27 17:21:58 -07:00
Samuel Just
517ba56868
crimson/osd/pg: start_operation for read_state, schedule_event_on_commit
...
This way they'll be holding the appropriate pipeline stage.
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-06-27 12:38:17 -07:00
Jason Dillaman
8ba339a41b
Merge pull request #28351 from trociny/wip-39968
...
journal: add support for aligned appends
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-06-27 13:41:02 -04:00
Jason Dillaman
9e1dffded8
Merge pull request #28730 from trociny/wip-40519
...
rbd-mirror: handle duplicates in image sync throttler queue
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-06-27 13:37:56 -04:00
Jason Dillaman
e1c25b8596
Merge pull request #28748 from trociny/wip-journal-player-handle_cache_rebalanced
...
journal: fix race between player shut down and cache rebalance
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-06-27 13:37:34 -04:00
Sage Weil
0a28dd0348
doc/rados/operations: add safe-to-destroy check to OSD replacement workflow
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-06-27 10:42:17 -05:00
Venky Shankar
c404a30f5b
Merge pull request #28706 from ajarr/wip-fs-subvolumes-enhancements
...
mgr/volumes: minor enhancements and fixes
2019-06-27 19:38:49 +05:30
Kefu Chai
a53c396ef0
Merge pull request #28653 from zhangsw/cleanup-doc-sample.conf
...
sample.ceph.conf: correct the default value of filestore merge threshold
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-27 19:24:36 +08:00
Kefu Chai
17474e607e
Merge pull request #28749 from hydro-b/patch-1
...
doc/radosgw/compression.rst: fix typo
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-27 19:09:30 +08:00
Ramana Raja
695c493257
mgr/volumes: fix incorrect VolumeException arguments
...
Fixes: http://tracker.ceph.com/issues/40429
Signed-off-by: Ramana Raja <rraja@redhat.com>
2019-06-27 02:07:58 +05:30
Ramana Raja
5c00cc30a1
mgr/volumes: allow setting mode
...
... of fs subvolumes and subvolume groups during their creation.
Fixes: https://tracker.ceph.com/issues/40299
Signed-off-by: Ramana Raja <rraja@redhat.com>
2019-06-27 02:07:56 +05:30
Ramana Raja
22ed891528
mgr/volumes: allow setting data pool layout
...
... of fs subvolumes and subvolume groups during their creation.
Fixes: https://tracker.ceph.com/issues/40431
Signed-off-by: Ramana Raja <rraja@redhat.com>
2019-06-27 01:36:33 +05:30
Kefu Chai
c86a27779b
Merge pull request #28593 from smithfarm/wip-40398
...
cmake: set empty INSTALL_RPATH on crypto shared libs
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-26 23:33:45 +08:00