]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Or Ozeri [Sun, 10 Jan 2021 16:46:28 +0000 (18:46 +0200)]
librbd: add encryption api
This commit exposes librbd encryption api
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Mon, 11 Jan 2021 11:50:30 +0000 (13:50 +0200)]
librbd: change remap_extents to lvalue reference
This commit changes the remap_extents api to use lvalue instead of ravlue references
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Mon, 11 Jan 2021 11:45:00 +0000 (13:45 +0200)]
librbd: fix wrong delete type in DataCryptor
This commit fixes a delete which does not match its allocation
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Sun, 10 Jan 2021 15:55:29 +0000 (17:55 +0200)]
librbd: move object create before set alloc hint
This commit fixes the order of ops in write requests to have create before set alloc hint, so that exclusive create will not falsely fail
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Sat, 9 Jan 2021 20:26:59 +0000 (22:26 +0200)]
librbd: fix crypto related memory leaks
This commit fixes memory leaks introduced by the new librbd encryption feature
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Thu, 24 Dec 2020 21:35:33 +0000 (23:35 +0200)]
librbd: check image size on crypto format
This commit adds a check to verify that an image is big enough before crypto formatting it.
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Thu, 24 Dec 2020 09:39:09 +0000 (11:39 +0200)]
librbd: nit fixes
This commit includes very small miscellaneous changes to librbd
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Tue, 5 Jan 2021 18:27:17 +0000 (20:27 +0200)]
librbd: fix crypto discard handling
This commit fixes a bug in the discard implementation of the crypto layer
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Tue, 5 Jan 2021 18:25:11 +0000 (20:25 +0200)]
librbd: start crypto layer sub-requests at crypto layer
This commit changes sub-requests created by the crypto layer to not go through the upper layers.
This is mainly to avoid deadlocks caused by an upper cache layer.
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Thu, 24 Dec 2020 09:28:21 +0000 (11:28 +0200)]
librbd: fix missing lock acquire on SimpleSchedulerObjectDispatch
This commit fixes a missing lock in SimpleSchedulerObjectDispatch
when handling (exclusive create) / (assert version) writes
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Thu, 24 Dec 2020 09:24:40 +0000 (11:24 +0200)]
librbd: fix crypto handling of empty reads
This commit ensures correct handling of empty bufferlists returned by librados object read
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Thu, 24 Dec 2020 09:22:08 +0000 (11:22 +0200)]
librados_test_stub: add support for reading object version
This commit implements a missing handling of librados_test_stub of objver reading
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Thu, 24 Dec 2020 09:20:03 +0000 (11:20 +0200)]
librbd: align block crypto input bufferlist
This commit ensures bufferlists fed to BlockCrypto are aligned to block size
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Kefu Chai [Thu, 24 Dec 2020 06:23:32 +0000 (14:23 +0800)]
Merge pull request #38700 from tchaikov/wip-seastar-msgr-test-timeout
test/crimson: add abort timer to messenger test
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Kefu Chai [Thu, 24 Dec 2020 06:10:03 +0000 (14:10 +0800)]
Merge pull request #38576 from myoungwon/wip-fix-seg-fault-manifest-count
osd : prevent accessing deleted reference
Reviewed-by: Samuel Just <sjust@redhat.com>
Kefu Chai [Thu, 24 Dec 2020 06:08:48 +0000 (14:08 +0800)]
Merge pull request #38662 from Songweibin/wip-121918
osd/ReplicatedBackend: handle tailing zeros of recovering objects nicer
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Thu, 24 Dec 2020 06:06:19 +0000 (14:06 +0800)]
Merge pull request #38665 from tchaikov/wip-arm32-cleanups
erasure-code, test, pybind: various arm32 related cleanups.
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Thu, 24 Dec 2020 06:02:48 +0000 (14:02 +0800)]
Merge pull request #38677 from ilanddev/mgr-deadlock-fix
mgr/ActivePyModules.cc: always release GIL before attempting to acquire a lock
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 24 Dec 2020 06:00:42 +0000 (14:00 +0800)]
Merge pull request #38678 from tchaikov/wip-denc
include/denc: use pair<const K,V> in range-based for loop
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Patrick Donnelly [Thu, 24 Dec 2020 04:35:39 +0000 (20:35 -0800)]
Merge PR #37428 into master
* refs/pull/37428/head:
mds: move duplicated inner loop out
mds: try to replicate hot dir to restarted MDS
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Patrick Donnelly [Thu, 24 Dec 2020 04:34:25 +0000 (20:34 -0800)]
Merge PR #36597 into master
* refs/pull/36597/head:
client: make the send_to_auth display of mds_requests more accurate
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 24 Dec 2020 04:33:47 +0000 (20:33 -0800)]
Merge PR #38037 into master
* refs/pull/38037/head:
qa: test_readahead add kernel client support
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 24 Dec 2020 04:33:05 +0000 (20:33 -0800)]
Merge PR #38631 into master
* refs/pull/38631/head:
MDSLogContext: fix typo in MDSLogContextBase and add more comments
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 24 Dec 2020 04:32:34 +0000 (20:32 -0800)]
Merge PR #38672 into master
* refs/pull/38672/head:
mds: increase the l_mds_openino_backtrace_fetch when fetching the backtrace
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 24 Dec 2020 04:30:35 +0000 (20:30 -0800)]
Merge PR #38692 into master
* refs/pull/38692/head:
pybind/cephfs: pass command as size-1 array of strings
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Thu, 24 Dec 2020 04:20:09 +0000 (20:20 -0800)]
Merge PR #38668 into master
* refs/pull/38668/head:
osdc: Fix return type of map waiting functions
monc: Use post rather than defer
common/async: Hold lock in constructor of blocked_result
osdc: Don't keep wrapping completion in wait_for_latest_osdmap
neorados: Replace unsafe uses of dispatch with post
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Wed, 23 Dec 2020 21:09:51 +0000 (13:09 -0800)]
Merge pull request #38707 from ceph/wip-yuriw-octopus-x-4-master
qa/tests: initial check in for octopus-x/parallel tests (try 2)
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Wed, 23 Dec 2020 00:25:48 +0000 (19:25 -0500)]
qa/tasks/cephadm: include first mgr host when applying mgrs
This prevents the first mgr from being shut down due to lack of
appropriate placements.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Kefu Chai [Wed, 23 Dec 2020 09:21:35 +0000 (17:21 +0800)]
test/crimson: add abort timer to messenger test
Use a 120s timer to force abort the messenger test which should normally
succeeds in 60s, in order to:
* Fail the make check to print logs about where it is blocking;
* Free the listening IP address for the next make check;
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Fri, 18 Dec 2020 19:30:29 +0000 (11:30 -0800)]
qa/tests: add light octopus-x/copy (cephadm based)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Patrick Donnelly [Tue, 22 Dec 2020 20:58:11 +0000 (12:58 -0800)]
Merge PR #37721 into master
* refs/pull/37721/head:
test: add tests for new snapshot APIs
pybind/cephfs: python bindings for new snapshot APIs
client: Snapshot cephfs APIs
mds: include snapshot metadata in trace reply to client
mds: include snap metadata on-disk on snapshot creation
mds: include metadata in SnapInfo structure
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Harish Munjulur [Tue, 22 Dec 2020 19:15:05 +0000 (11:15 -0800)]
Merge pull request #38468 from IlsooByun/fix_lc_mp_iter
rgw: lc: fix multipart iteration problem
Patrick Donnelly [Tue, 22 Dec 2020 18:25:54 +0000 (10:25 -0800)]
Merge PR #38611 into master
* refs/pull/38611/head:
qa/cephfs/nfs: Add test for readonly export
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 22 Dec 2020 17:28:58 +0000 (09:28 -0800)]
pybind/cephfs: pass command as size-1 array of strings
Fixes: https://tracker.ceph.com/issues/48701
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
zdover23 [Tue, 22 Dec 2020 16:07:59 +0000 (02:07 +1000)]
Merge pull request #38187 from zdover23/wip-doc-dev-unit-tests-5-of-7
doc/dev: update unit-tests tox section
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Sebastian Wagner [Tue, 22 Dec 2020 12:30:54 +0000 (13:30 +0100)]
Merge pull request #38414 from pcuzner/fix-drivegroup-example
doc: Update drivegroup spec examples
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Zac Dover [Thu, 19 Nov 2020 14:18:51 +0000 (00:18 +1000)]
doc/dev: update unit-tests tox section
This commit
- alters the structure of the
unit-test section of the Developer Guide
that discusses the tox tool, which is
used to run certain unit tests
- corrects some grammar
- updates the list of locations of tox.ini
files
- This also incorporates N. Cutler's suggestions.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
zdover23 [Tue, 22 Dec 2020 12:05:17 +0000 (22:05 +1000)]
Merge pull request #38621 from anthonyeleven/anthonyeleven/bluestore-doc-cleanup
doc/rados/configuration: clean up BlueStore config and enhance DB sizing
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Varsha Rao [Tue, 15 Dec 2020 10:53:03 +0000 (10:53 +0000)]
qa/cephfs/nfs: Add test for readonly export
Fixes: https://tracker.ceph.com/issues/48622
Signed-off-by: Varsha Rao <varao@redhat.com>
Igor Fedotov [Tue, 22 Dec 2020 08:42:38 +0000 (11:42 +0300)]
Merge pull request #38499 from aclamk/wip-bs-onode-prune-deleted
os/bluestore: Prune deleted onodes
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sebastian Wagner [Tue, 22 Dec 2020 00:08:18 +0000 (01:08 +0100)]
Merge pull request #38650 from dmick/wip-dmick-docker-mirror
qa/distros: configure podman to pull from docker-mirror
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Mon, 21 Dec 2020 17:07:37 +0000 (01:07 +0800)]
include/denc: use pair<const K,V> in range-based for loop
map<K,V>::value_type is pair<const K, V>, so if we use range-based for
loop when iterating through a map, we should use pair<const K,V> instead
of pair<K,V>, the latter also compiles, but it might create a temporary
object of pair<K,V> from pair<const K,V>. GCC-11 complains at seeing
this:
../src/include/denc.h:1002:21: warning: loop variable ‘e’ of type ‘const T&’ {aka ‘const std::pair<OSDPerfMetricQuery, OSDPerfMetricReport>&’} binds to a tem\
porary constructed from type ‘const std::pair<const OSDPerfMetricQuery, OSDPerfMetricReport>’ [-Wrange-loop-constru
ct]
1002 | for (const T& e : s) {
| ^
this change
* use the value_type of container in `maplike_details<Container>`,
so we can avoid the overhead of creating temporay objects when
encoding a map
* define denc_traits for std::pair<const A, B> as well, so the elements
of a map can be encoded using denc facility
Signed-off-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Mon, 21 Dec 2020 17:06:00 +0000 (09:06 -0800)]
Merge PR #38666 into master
* refs/pull/38666/head:
doc: Fix mds capabilities for manual deployment
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Mon, 21 Dec 2020 17:04:48 +0000 (01:04 +0800)]
Merge pull request #37156 from CloudFerro/wip-allow-dynamic-levels
os/bluestore: allow dynamic levels
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Patrick Donnelly [Mon, 21 Dec 2020 17:01:53 +0000 (09:01 -0800)]
Merge PR #38669 into master
* refs/pull/38669/head:
mds: fix typo in debug logs
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Casey Bodley [Mon, 21 Dec 2020 16:26:33 +0000 (11:26 -0500)]
Merge pull request #38674 from mkogan1/rgw-fix-t48688
rgw: fix 'this->ondisk_version' will always evaluate to 'true'
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Cory Snyder [Mon, 21 Dec 2020 14:33:22 +0000 (09:33 -0500)]
mgr/ActivePyModules.cc: always release GIL before attempting to acquire a lock
A thread that holds the GIL while attempting to acquire a mutex will cause a deadlock
if another thread owns the mutex and is waiting on the GIL. The GIL must not be treated
like an ordinary mutex since it may be preempted at any time or released when doing
blocking I/O. Such deadlocks are severe since they starve all threads from access to the
GIL and therefore prevent any Python code from running until the mgr process is restarted.
Fixes: https://tracker.ceph.com/issues/39264
Signed-off-by: Cory Snyder <csnyder@iland.com>
Mykola Golub [Mon, 21 Dec 2020 14:56:33 +0000 (16:56 +0200)]
Merge pull request #38653 from dillaman/wip-48647
librbd: clear implicitly enabled feature bits when creating images
Reviewed-by: Mykola Golub <mgolub@suse.com>
Jason Dillaman [Mon, 21 Dec 2020 14:13:37 +0000 (09:13 -0500)]
Merge pull request #38670 from Rethan/doc-fix-max_part-description
doc/rbd-nbd: fix description for command rbd-nbd's parameter --max_part
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Mark Kogan [Mon, 21 Dec 2020 11:36:16 +0000 (13:36 +0200)]
rgw: fix 'this->ondisk_version' will always evaluate to 'true'
fix:
```
src/rgw/CMakeFiles/radosgw.dir/rgw_rest_metadata.cc.o
../src/rgw/rgw_rest_metadata.cc:267:13: warning: address of
'this->ondisk_version' will always evaluate to 'true'
[-Wpointer-bool-conversion]
&ondisk_version);
```
Fixes: https://tracker.ceph.com/issues/48688
Signed-off-by: Mark Kogan <mkogan@redhat.com>
Ernesto Puerta [Mon, 21 Dec 2020 10:23:53 +0000 (11:23 +0100)]
Merge pull request #38259 from rhcs-dashboard/fix-jwt-token
mgr/dashboard: Use secure cookies to store JWT Token
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Xiubo Li [Mon, 21 Dec 2020 08:25:14 +0000 (16:25 +0800)]
mds: increase the l_mds_openino_backtrace_fetch when fetching the backtrace
Signed-off-by: Xiubo Li <xiubli@redhat.com>
songweibin [Sat, 19 Dec 2020 10:50:31 +0000 (18:50 +0800)]
osd/ReplicatedBackend: handle tailing zeros of recovering objects nicer
E.g.,
(1) recovery_info.copy_subset = [0,
4194304 ]
(2) copy_subset(fiemap) = [0, 8192]
(3) out_op->data_included.span_of(copy_subset, 0,
4194304 ) = [0, 8192]
We'll set new_progress.data_recovered_to = 8192 as a result, and
fail to complete the push in one go.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
haoyixing [Mon, 21 Dec 2020 08:44:50 +0000 (16:44 +0800)]
doc/rbd-nbd: fix description for command rbd-nbd's parameter --max_part
The parameter --max_part should actually override module param max_part,
not as nbds_max as it said.
Signed-off-by: haoyixing <haoyixing@kuaishou.com>
Xiubo Li [Mon, 21 Dec 2020 02:55:46 +0000 (10:55 +0800)]
mds: fix typo in debug logs
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Adam C. Emerson [Mon, 21 Dec 2020 02:41:10 +0000 (21:41 -0500)]
osdc: Fix return type of map waiting functions
Fixes: https://tracker.ceph.com/issues/47294
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Kefu Chai [Mon, 21 Dec 2020 03:40:36 +0000 (11:40 +0800)]
Merge pull request #38573 from batrick/i48600
osd: remove invalid put on message
Reviewed-by: Kefu Chai <kchai@redhat.com>
Adam C. Emerson [Fri, 20 Nov 2020 19:27:25 +0000 (14:27 -0500)]
monc: Use post rather than defer
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 10 Nov 2020 01:59:13 +0000 (20:59 -0500)]
common/async: Hold lock in constructor of blocked_result
More correct, though not the cause of error.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 10 Nov 2020 03:14:24 +0000 (22:14 -0500)]
osdc: Don't keep wrapping completion in wait_for_latest_osdmap
Also remove unsafe use of dispatch.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 10 Nov 2020 02:07:32 +0000 (21:07 -0500)]
neorados: Replace unsafe uses of dispatch with post
Dispatch may block the calling thread, so don't use it directly in a
called function. (In handlers is okay, though.)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Kefu Chai [Sun, 20 Dec 2020 05:16:17 +0000 (13:16 +0800)]
cmake: install python scripts into /usr/sbin even if DESTDIR is empty
it's reported that on Alphine, "make install" installs
`ceph-volume-systemd` into `/usr/bin` instead of `/usr/sbin`, and this
breaks `systemd/ceph-volume@.service`. so in this change, we always
install this script into `/usr/sbin`, even if `DESTDIR` is not defined.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Dec 2020 05:10:16 +0000 (13:10 +0800)]
pybind/ceph_argparse.py: use a safe value for timeout
we have reports that on arm32 machines, it timed out immediately, so
to prevent it from int overflow, use a safer value instead of
(1 << (32 - 1)) - 1.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Dec 2020 05:04:59 +0000 (13:04 +0800)]
pybind/ceph_argparse.py: drop unused variable
and other PEP8 compliance cleanups
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Dec 2020 05:02:46 +0000 (13:02 +0800)]
erasure-code: bail out early if chunks to be decoded is empty
otherwise we will read from uninitialized memory for blocksize.
update tests accordingly, as the number of decoded chunks is 0 if
* the number of available chunks is 0 and
* the number of requested chunks is not 0
after this change, because, in that case, the decode fails before any
chunk is allocated. but otherwise, the output chunks are still
allocated. so instead checking the number of output chunks, the test is
removed.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Ivan Jager [Mon, 14 Dec 2020 12:39:00 +0000 (06:39 -0600)]
doc: Fix mds capabilities for manual deployment
Now matches auth-config-ref.rst, and actually works.
Signed-off-by: Ivan Jager <aij+git@mrph.org>
Kefu Chai [Sun, 20 Dec 2020 04:42:10 +0000 (12:42 +0800)]
test/erasure-code: fold variables with the same values
for better readability
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Dec 2020 04:15:06 +0000 (12:15 +0800)]
test/erasure-code: define variables closer to where they are used
for better readability.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 20 Dec 2020 03:39:49 +0000 (11:39 +0800)]
erasure-code: print warnings using dout(10)
stderr is closed once the process is daemonized, while `derr` is for
fatal error or logic error in program. dout(10) is more appropriate in
this case, as it is an expected error from callee's perspective.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 19 Dec 2020 12:00:42 +0000 (20:00 +0800)]
Merge pull request #38646 from xxhdx1985126/wip-crimson-bug-fix
crimson/osd: don't get recovery read lock in PGRecvery::on_local_recover()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Xuehan Xu [Sat, 19 Dec 2020 10:21:21 +0000 (18:21 +0800)]
crimson/osd: make sure the read lock is acquired when trying to get recovery read
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Xuehan Xu [Fri, 18 Dec 2020 04:20:48 +0000 (12:20 +0800)]
crimson/osd: don't get recovery read lock in PGRecvery::on_local_recover()
Now we've changed drop_recovery_read to only care about the recovery_read flag, so
we shouldn't get read lock when acquiring recovery read, otherwise there would be
a chance in which the read lock can't get released
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Kefu Chai [Sat, 19 Dec 2020 05:41:14 +0000 (13:41 +0800)]
Merge pull request #38291 from aserdean/windows_common_proccess_name
common: Add get_process_name implementation for Windows
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 19 Dec 2020 05:24:31 +0000 (13:24 +0800)]
Merge pull request #38630 from tchaikov/wip-crimson-cleanups
crimson/osd: cleanups to drop some do_with() calls
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Sat, 19 Dec 2020 03:11:36 +0000 (11:11 +0800)]
Merge pull request #38522 from tchaikov/wip-mon-health-cleanup
mon/HealthMonitor: split large method into smaller ones and cleanups
Reviewed-by: Neha Ojha <nojha@redhat.com>
Patrick Donnelly [Fri, 18 Dec 2020 21:26:46 +0000 (13:26 -0800)]
Merge PR #38579 into master
* refs/pull/38579/head:
mds: ensure dirfrags are fetched once
mds: refactor variable names
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 18 Dec 2020 21:26:19 +0000 (13:26 -0800)]
Merge PR #38540 into master
* refs/pull/38540/head:
client: support client oc's options can update at runtime
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 18 Dec 2020 21:24:43 +0000 (13:24 -0800)]
Merge PR #38495 into master
* refs/pull/38495/head:
doc: add documentation for new multifs feature
qa: update tests concerning setting of multifs
mon,mds: mark multifs stable
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Anthony D'Atri [Wed, 16 Dec 2020 17:59:14 +0000 (09:59 -0800)]
doc/rados/configuration: clean up BlueStore config and enhance DB sizing guidance
Jason Dillaman [Fri, 18 Dec 2020 15:14:13 +0000 (10:14 -0500)]
librbd: drop explicit masking of implicit feature bits
Now that the create image state machine is handling the masking
of implicit features, all callers to the state machine can skip
the need to perform the masking themselves.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 18 Dec 2020 14:55:30 +0000 (09:55 -0500)]
librbd/image: mask out all implicit features when creating an image
This will ensure that all paths to the create image state machine
properly handle this condition. Previously, it was up to the callers
of the state machine to clear the implicit feature bits.
Fixes: https://tracker.ceph.com/issues/48647
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 18 Dec 2020 14:48:58 +0000 (09:48 -0500)]
librbd/image: use internal feature flag mask when creating images
When validating the provided features for an image, utilize the
RBD_FEATURES_INTERNAL flag instead of just RBD_FEATURE_OPERATION.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 18 Dec 2020 14:42:51 +0000 (09:42 -0500)]
librbd/api: do not explicitly add the MIGRATION feature bit
This feature bit is automatically added to the source and destination
images via the cls method on the OSD.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Fri, 18 Dec 2020 14:29:18 +0000 (16:29 +0200)]
Merge pull request #38613 from dillaman/wip-48522
librbd/api: avoid retrieving more than max mirror image info records
Reviewed-by: Mykola Golub <mgolub@suse.com>
Aashish Sharma [Tue, 24 Nov 2020 05:58:28 +0000 (11:28 +0530)]
mgr/dashboard: Use secure cookies to store JWT Token
This PR intends to store the jwt token in secure cookies instead of local storage
Fixes: https://tracker.ceph.com/issues/44591
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit
36703c63381e6723fff57266235f8230e6af1d92 )
Kefu Chai [Fri, 18 Dec 2020 09:58:51 +0000 (17:58 +0800)]
Merge pull request #38643 from tchaikov/wip-doc-dev
doc/dev/generatedocs.rst: fix highlight syntax
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Dan Mick [Thu, 17 Dec 2020 02:06:31 +0000 (02:06 +0000)]
qa/distros: configure podman to pull from docker-mirror
This also requires a change to cephadm.py to search for
registry entries for docker.io by 'prefix' or 'location',
and to only add the mirror if a mirror isn't already present
Signed-off-by: Dan Mick <dmick@redhat.com>
Ilya Dryomov [Fri, 18 Dec 2020 09:30:34 +0000 (10:30 +0100)]
Merge pull request #38638 from idryomov/wip-krbd-stable-writes-attr
qa: krbd_stable_pages_required.sh: move to stable_writes attribute
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Ronen Friedman [Fri, 18 Dec 2020 09:27:59 +0000 (11:27 +0200)]
Merge pull request #38635 from ronen-fr/wip-ronenf-crimsclang-tree
crimson/seastore: fixing Clang errors and warnings
Mykola Golub [Fri, 18 Dec 2020 08:59:08 +0000 (10:59 +0200)]
Merge pull request #38602 from dillaman/wip-48486
librbd: explicitly disable readahead for writearound cache
Reviewed-by: Mykola Golub <mgolub@suse.com>
Yingxin [Fri, 18 Dec 2020 07:27:13 +0000 (15:27 +0800)]
Merge pull request #38645 from cyx1231st/wip-seastar-onode-tree-fix-clang-link
crimson/onode-staged-tree: fix explicit template instantiation for clang
haoyixing [Thu, 17 Dec 2020 08:07:47 +0000 (16:07 +0800)]
MDSLogContext: fix typo in MDSLogContextBase and add more comments
Fix typos in MDSLogContextBase's definition and function '::complete',
also add more comments about setting safe_pos.
Signed-off-by: haoyixing <haoyixing@kuaishou.com>
Alin Gabriel Serdean [Thu, 12 Nov 2020 21:34:46 +0000 (21:34 +0000)]
common: Add get_process_name implementation for Windows
This patch adds get_process_name for Windows based on
GetModuleFileName.
Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Yingxin Cheng [Fri, 18 Dec 2020 02:55:43 +0000 (10:55 +0800)]
crimson/onode-staged-tree: fix explicit template instantiation for clang
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Kefu Chai [Fri, 18 Dec 2020 01:37:50 +0000 (09:37 +0800)]
doc/dev/generatedocs.rst: fix highlight syntax
Signed-off-by: Kefu Chai <kchai@redhat.com>
Xiubo Li [Thu, 12 Nov 2020 06:18:16 +0000 (14:18 +0800)]
qa: test_readahead add kernel client support
If the "ceph.cluster_fsid" and "ceph.client_id" vxattrs or the
"metric" debug file are not support yet, will assume the test
succeeds.
Fixes: https://tracker.ceph.com/issues/48053
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Neha Ojha [Thu, 17 Dec 2020 22:58:57 +0000 (14:58 -0800)]
Merge pull request #38618 from neha-ojha/wip-14-2-16
doc/releases/nautilus.rst: add release notes for 14.2.16
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Neha Ojha [Thu, 17 Dec 2020 22:58:27 +0000 (14:58 -0800)]
Merge pull request #38622 from neha-ojha/wip-15-2-8
doc/releases/octopus.rst: add release notes for 15.2.8
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Venky Shankar [Tue, 20 Oct 2020 06:04:58 +0000 (02:04 -0400)]
test: add tests for new snapshot APIs
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Tue, 20 Oct 2020 06:04:36 +0000 (02:04 -0400)]
pybind/cephfs: python bindings for new snapshot APIs
Signed-off-by: Venky Shankar <vshankar@redhat.com>