bluestore: define default value of LoglevelV only once (3 templates)
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Default of osd_request_timeout in krbd is 0 means no timeout,
but we sometimes need to set this value by rbd command. then
pass osd_request_timeout to kernel rbd in rbd mapping.
Fixes: http://tracker.ceph.com/issues/23073
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
This prevents a possible race condition with readahead racing with a
discard and re-populating the cache with non-zeroed data.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This allows the journal object dispatch layer to properly complete
skipped extents and commit the associated event.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
If an IO replay immediately fails due to a image shrink applied after
the IO, the lock order will be incorrect.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
The new journal object dispatch layer handles delaying writes to the
OSD until the journal event is safe. This avoid the need for two
different code paths for cache and non-cache case.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Caused by 49a5e775aa92a8218bb659909de20637d5aa660a
This fixes the dashboard_v2 `cluster_conf` endpoint.
Fixes: http://tracker.ceph.com/issues/23265
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
these tests don't need to be split across the job matrix the same way
that we split features like frontend, ssl, objectstore, etc. by
combining them, we can still test the whole matrix of features, but with
only 1/3 of the total jobs
Signed-off-by: Casey Bodley <cbodley@redhat.com>
rgw: s3website error handler uses original object name
Reviewed-by: Robin H. Johnson <robin.johnson@dreamhost.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Previously we got these through sys/types.h, but that's now deprecated:
warning: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
* restructure dashboard tests so they follow the model of other tests
based on ceph-helpers.sh. i.e. extract the TEST_* out of run()
function.
* expose mon-host using CEPH_ARGS env variable.
* mgr-dashboard_v2-smoke.sh: do not export CEPH_ARGS in a subshell, so
the run_mgr() and ceph cli can also have access to the updated
CEPH_ARGS, and hence they will be able to locate the mon. and because
auth-supported=none is populated using CEPH_ARGS, this test won't fail
because of missing keyring.
Signed-off-by: Kefu Chai <kchai@redhat.com>
and allows use to specify the path in which npm is installed. in my
case, if $HOME/.npmrc points "prefix" to ${HOME}/.npm-packages, i will
be able to run
NPM_ROOT=${HOME}/.npm-packages cmake ..
Signed-off-by: Kefu Chai <kchai@redhat.com>
For PG with a huge amount of objects, it wouldn't be an ideal
way to list all of them at a time. Split them into small batches
which we can handle individually efficiently should instead be
the preferred option.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>