| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Venky Shankar <vshankar@redhat.com>
|
|
|
|
| |
Signed-off-by: Venky Shankar <vshankar@redhat.com>
|
|\
| |
| |
| |
| |
| | |
erasure-code/isa: Use isa/raid's xor_gen() instead of the region_xor(…
Reviewed-by: Mark Nelson <mnelson@redhat.com>
|
| |
| |
| |
| |
| |
| | |
optimisation
Signed-off-by: Jamie Pryde <jamiepry@uk.ibm.com>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Reviewed-By: Casey Bodley <cbodley@ibm.com>
test/rgw/notification: use real ip address instead of localhost
based on that comment:
https://tracker.ceph.com/issues/67206#note-6
the address used by the endpoint is taken as the real IP address of the
host where the test script is running and not localhost.
we also changed the rabbitmq-server conf to allow "guest"
user to connect over non localhost address
Fixes: https://tracker.ceph.com/issues/67206
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
based on that comment:
https://tracker.ceph.com/issues/67206#note-6
the address used by the endpoint is taken as the real IP address of the
host where the test script is running and not localhost.
we also changed the rabbitmq-server conf to allow "guest"
user to connect over non localhost address
Fixes: https://tracker.ceph.com/issues/67206
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
test/store_test: fix assertions due to unclosed collection refs.
Reviewd-by: Pere Diaz Bou <pere-altea@hotmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
crimson/os/seastore/cache: report lru usage/in/out with trans and extent type
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Consolidate time into a single place per SeaStore::Shard.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Move add_to_dirty() and touch_extent() out of add_extent(), this removes
duplicated calls to touch_extent() from the on_cache callback.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The extent is already PRESENT, which means it was already touched in
this transaction.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
script/ceph-backport: robustness adjustments for local git repo quirks
Reviewed-by: Venky Shankar <vshankar@redhat.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Rather than doing a full fetch every time.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The local repository may have a different layout from the defaults
for remote repository references. As for myself, I have:
[remote "upstream"]
url = git@github.com:ceph/ceph.git
fetch = +refs/*:refs/remotes/upstream/*
So I have a local mirror of the full ceph.git repsository and upstream branches are
available via `refs/remotes/upstream/heads/<branch>`.
So, fetch the desired branch and use FETCH_HEAD instead. This is not 100% the same
as the merge branch for the wip- branch becomes:
[branch "wip-66572-squid"]
remote = origin
merge = refs/heads/wip-66572-squid
So the remote tracking branch is now the origin. Rebasing to a newer <release> branch
must be done manually:
git rebase upstream/heads/<release>
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* refs/pull/58896/head:
client: flush the caps release in filesystem sync
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
We have hit a race between cap releases and cap revoke request
that will cause the check_caps() to miss sending a cap revoke ack
to MDS. And the client will depend on the cap release to release
that revoking caps, which could be delayed for some unknown reasons.
In Kclient we have figured out the RCA about race and we need
a way to explictly trigger this manually could help to get rid
of the caps revoke stuck issue.
Fixes: https://tracker.ceph.com/issues/67221
Signed-off-by: Xiubo Li <xiubli@redhat.com>
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | |
| | | | | | |
| | | | | | | |
crimson/os/seastore/btree: fix minor corner case issue
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
mgr/dashboard: carbon datatables impr and cleanups
Reviewed-by: Nizamudeen A <nia@redhat.com>
|
| | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes: https://tracker.ceph.com/issues/67544,
https://tracker.ceph.com/issues/67538,
https://tracker.ceph.com/issues/67542, https://tracker.ceph.com/issues/67545, https://tracker.ceph.com/issues/67546
Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
|
|\ \ \ \ \ \ \
| |_|_|_|_|/ /
|/| | | | | |
| | | | | | |
| | | | | | | |
rgw/notifications: fixing radosgw-admin notification json
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes: https://tracker.ceph.com/issues/67525
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
xxhdx1985126/wip-crimson-concurrent-recover-missing
crimson/osd/osd_operations: make the "recover_missing" phase concurrent
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
"check_already_complete_get_obc" phase
Otherwise, the replies can go out-of-order
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
recover_missing_lock_obc and recover_missing_snaps into a single
OrderedConcurrentPhase
The reasons for this change are as follows:
1. the pipeline phase in which the obc loading is done has to be entered
"synchronouly", however, the leaving of an OrderedConcurrentPhase can't
be so, which means we can't enter_sync an OrderedConcurrentPhase from
an earlier OrderedConcurrentPhase directly;
2. on the other hand, the whole missing object/snaps recovery procedure
can and should be a OrderedConcurrentPhase.
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Otherwise, UrgentRecovery requests within the same pg can only be
processed sequentially
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
crimson/osd/backfill_state: fixes two corner cases in backfilling
Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
scan doesn't produce any object that needs to be backkfilled
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
replicas have acknowledged the finish of the backfill
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
test/cls_2pc_queue: prevent list+remove race between consumers
Reviewed-By: Casey Bodley <cbodley@ibm.com>
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* make sure that the queue full condition is covered
* add cls debugging to test
Fixes: https://tracker.ceph.com/issues/67229
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
rgw/notify: visit() returns copy of owner string
Reviewed-by: Adam Emerson <aemerson@redhat.com>
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
return a copy of the owner string to work around compiler warning:
ceph/src/rgw/driver/rados/rgw_notify.cc: In function ‘int rgw::notify::publish_reserve(const DoutPrefixProvider*, const rgw::SiteConfig&, const EventTypeList&, reservation_t&, const RGWObjTags*)’:
ceph/src/rgw/driver/rados/rgw_notify.cc:1113:26: warning: possibly dangling reference to a temporary [-Wdangling-reference]
1113 | const std::string& topic_tenant = std::visit(fu2::overload(
| ^~~~~~~~~~~~
ceph/src/rgw/driver/rados/rgw_notify.cc:1113:51: note: the temporary was destroyed at the end of the full expression ‘std::visit<fu2::abi_310::detail::overloading::overload_impl<rgw::notify::publish_reserve(const DoutPrefixProvider*, const rgw::SiteConfig&, const EventTypeList&, reservation_t&, const RGWObjTags*)::<lambda(const rgw_user&)>, rgw::notify::publish_reserve(const DoutPrefixProvider*, const rgw::SiteConfig&, const EventTypeList&, reservation_t&, const RGWObjTags*)::<lambda(const rgw_account_id&)> >, variant<rgw_user, rgw_account_id>&>(fu2::overload<rgw::notify::publish_reserve(const DoutPrefixProvider*, const rgw::SiteConfig&, const EventTypeList&, reservation_t&, const RGWObjTags*)::<lambda(const rgw_user&)>, rgw::notify::publish_reserve(const DoutPrefixProvider*, const rgw::SiteConfig&, const EventTypeList&, reservation_t&, const RGWObjTags*)::<lambda(const rgw_account_id&)> >(<lambda closure object>rgw::notify::publish_reserve(const DoutPrefixProvider*, const rgw::SiteConfig&, const EventTypeList&, reservation_t&, const RGWObjTags*)::<lambda(const rgw_user&)>(), <lambda closure object>rgw::notify::publish_reserve(const DoutPrefixProvider*, const rgw::SiteConfig&, const EventTypeList&, reservation_t&, const RGWObjTags*)::<lambda(const rgw_account_id&)>()), topic_cfg.rgw_pubsub_topic::owner)’
1113 | const std::string& topic_tenant = std::visit(fu2::overload(
| ~~~~~~~~~~^~~~~~~~~~~~~~~
1114 | [] (const rgw_user& u) -> const std::string& { return u.tenant; },
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1115 | [] (const rgw_account_id& a) -> const std::string& { return a; }
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1116 | ), topic_cfg.owner);
| ~~~~~~~~~~~~~~~~~~~
Fixes: https://tracker.ceph.com/issues/67326
Signed-off-by: Casey Bodley <cbodley@redhat.com>
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
cls/rgw: define lc ops in terms of ObjectOperation instead of IoCtx
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
clean up the lc functions that were supposed to be hidden by
CLS_CLIENT_HIDE_IOCTX
this allows rgw to use them asynchonously with rgw_rados_operate() and
optional_yield, and warn about blocking calls that should be async
Signed-off-by: Casey Bodley <cbodley@redhat.com>
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Signed-off-by: Casey Bodley <cbodley@redhat.com>
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
rgwlc: fix typo in getlc (ObjectSizeGreaterThan)
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
rgw: revert account-related changes to get_iam_policy_from_attr()
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
|