]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
5 months agorgw/d4n: implementation of load_obj_state() and exists()
Pritha Srivastava [Thu, 6 Feb 2025 13:44:35 +0000 (19:14 +0530)]
rgw/d4n: implementation of load_obj_state() and exists()
for D4NFilterObject.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: squashing commits related to changing
Samarah [Mon, 24 Mar 2025 15:20:54 +0000 (15:20 +0000)]
rgw/d4n: squashing commits related to changing
creationTime type from time_t to double.

1. rgw/d4n: Change score calculation
2. rgw/d4n: Update creationTime calculation to include decimal value
3. rgw/d4n: changes for converting string value to
time_point, when creationTime type changed to double.

Co-authored-by: Pritha Srivastava <prsrivas@redhat.com>
Updated bucket::list to convert from string to time_point

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agod4n/directory: Add more error handling to update_field
Samarah [Wed, 20 Nov 2024 22:54:03 +0000 (22:54 +0000)]
d4n/directory: Add more error handling to update_field

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agorgw/d4n: delete older versions of an object
Pritha Srivastava [Wed, 29 Jan 2025 09:25:40 +0000 (14:55 +0530)]
rgw/d4n: delete older versions of an object
during an overwrite for objects belonging to
an unversioned bucket and version suspended
bucket in Writer::complete() method.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: implementation of list objects for a bucket
Pritha Srivastava [Fri, 23 Aug 2024 13:50:03 +0000 (09:50 -0400)]
rgw/d4n: implementation of list objects for a bucket
(ordered listing) and list-object-versions.

Changes include the addition of an ordered set for
each bucket that stores the object, addition of etag
and object size to CacheObj structure needed for listing
objects, and addition of a test case to see the usage of
pipelining in Redis.  Objects are fetched from the cache
and the backend store and are then merged, before returning
the final list.

Co-authored-by: sinashan <sinatak1373@live.com>
Added code for bucket listing using ObjectDirectory(this
has been removed)

Co-authored-by: Samarah <samarah.uriarte@ibm.com>
Fixed log levels in BucketDirectory and ObjectDirectory
methods. Added enum for field retrieval in Directory get
methods.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: write to the cache with O_SYNC flag by default
Mark Kogan [Wed, 15 Jan 2025 18:43:59 +0000 (18:43 +0000)]
rgw/d4n: write to the cache with O_SYNC flag by default

add conf to allow modifying cache write 'man 2 open' flags
with O_SYNC enabled by default.

performance impact measurment -
workload is PUT of 100K 5KB objects

- with O_SYNC flag: 3890 OP/s,
  iostat IO util% range while workload is running: ~45%-49%

- without O_SYNC flag: 4511 OP/s,
  iostat IO util% range while workload is running: ~10%-25%

Signed-off-by: Mark Kogan <mkogan@redhat.com>
5 months agorgw/d4n: removing calls to redis MULTI, DISCARD, WATCH,
Pritha Srivastava [Thu, 19 Dec 2024 10:17:28 +0000 (15:47 +0530)]
rgw/d4n: removing calls to redis MULTI, DISCARD, WATCH,
UNWATCH and EXEC since other options for Redis transactions
are being explored.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: fix output of binary data to text log and logs cleanup
Mark Kogan [Mon, 9 Dec 2024 16:23:43 +0000 (16:23 +0000)]
rgw/d4n: fix output of binary data to text log and logs cleanup

the RGW_ATTR_ACL attr logging requires special handling

Signed-off-by: Mark Kogan <mkogan@redhat.com>
5 months agorgw/d4n: fix valgrind Invalid Memory Read & Write
Mark Kogan [Mon, 9 Dec 2024 15:53:17 +0000 (15:53 +0000)]
rgw/d4n: fix valgrind Invalid Memory Read & Write

Signed-off-by: Mark Kogan <mkogan@redhat.com>
5 months agorgw/cache: Remove `del` method
Samarah [Thu, 17 Oct 2024 17:20:34 +0000 (17:20 +0000)]
rgw/cache: Remove `del` method

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agorgw/d4n: Remove dirty prefix and make xattr instead
Samarah [Tue, 29 Oct 2024 22:07:19 +0000 (22:07 +0000)]
rgw/d4n: Remove dirty prefix and make xattr instead

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agorgw/d4n: squashing following commits to address concurrency in
Pritha Srivastava [Fri, 25 Oct 2024 04:56:05 +0000 (10:26 +0530)]
rgw/d4n: squashing following commits to address concurrency in
filter driver and ssd backed cache.

1. rgw/d4n: addressing concurrency issues by adding a refcount
to each block.
Blocks with positive refcounts are pinned (similar to dirty blocks)
and not eligible for eviction or deletion. Updating unit tests also.
2. rgw/cache: addressing concurrency issues while directories creation,
deletion, updating xattrs, get_attr and put.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: squashing following commits related
Samarah [Tue, 15 Oct 2024 18:37:39 +0000 (18:37 +0000)]
rgw/d4n: squashing following commits related
to lazy deletion - delete dirty objects data
blocks in cleaning method and non-dirty objects
data blocks in eviction method

1. rgw/d4n: Implement lazy deletion
2. rgw/d4n: cleaning method now supports delete markers
also (both versioned and null). The delete markers
are written correctly to the backend store.
Also modifying the description of rgw_d4n_cache_cleaning_interval
to explicitly state that the duration is in seconds.
3. rgw/d4n: do not call invalidate_dirty_object in case
of a simple delete request for dirty objects belonging
to a versioned bucket.
In this case, a delete marker needs to be created instead of
invalidating/deleting an object.
4. rgw/d4n: Update lazy deletion in policy

Co-authored-by: Pritha Srivastava <prsrivas@redhat.com>
Added code for creation of delete marker for a simple
delete request.

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Commit 2c1adbbd2b363cd5e02fd7da0cb496ca6a93aa77

d4n/policy.cc: Use ceph::split

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agorgw/d4n: support for dirty objects in delete object method.
Pritha Srivastava [Wed, 25 Sep 2024 09:19:08 +0000 (14:49 +0530)]
rgw/d4n: support for dirty objects in delete object method.

1. ordered set to maintain versions of a dirty object
2. creation of delete marker in case of a simple delete request
3. deletion of a specific version from the ordered set
4. cleaning method deletes from ordered set for dirty objects
5. use of redis atomicity constructs wherever needed

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: squashing following commits that add support for
Pritha Srivastava [Thu, 26 Sep 2024 06:06:47 +0000 (11:36 +0530)]
rgw/d4n: squashing following commits that add support for
WATCH, EXEC, INCR, MULTI and DISCARD redis commands.

1. d4n/directory: support for watch, exec and incr methods in Block
and Object Directory.
2. d4n/directory: support for redis MULTI and DISCARD command,
adding a test case to exercise usage of MULTI.

Co-authored-by: Samarah <samarah.uriarte@ibm.com>
Adjusted log levels for directory methods added in this commit.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/directory: support for ordered set in both ObjectDirectory
Pritha Srivastava [Wed, 25 Sep 2024 04:16:34 +0000 (09:46 +0530)]
rgw/directory: support for ordered set in both ObjectDirectory
and BlockDirectory.

Adds methods to add, list a range and remove members from a
redis ordered set ordered by score passed in. Also adds unit
test cases to test the methods.

Samarah has fixed the arguments passed in to zrevrange in
ZAddZRemYield and ZAddZRevRangeYield tests.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: squashing commits related to handling of
Pritha Srivastava [Fri, 27 Sep 2024 11:39:18 +0000 (17:09 +0530)]
rgw/d4n: squashing commits related to handling of
clean (non-dirty) objects for delete_obj method.

1. rgw/d4n: miscellaneous fixes that include modifying
set_head_obj_dir_entry() and delete_obj method to handle
clean objects only.
2. rgw/d4n: changes to design when write cache is turned off:
a. do not store a hash entry for latest version for versioned
buckets, the latest version will always be fetched from backend store,
to maintain correct order of versions during a delete object request.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: squashing commits for supporting delete object
Samarah [Mon, 9 Sep 2024 15:24:00 +0000 (15:24 +0000)]
rgw/d4n: squashing commits for supporting delete object
for unversioned buckets.

1. d4n/directory: Update logging
2. d4n/filter: Update `set_head_obj_dir_entry` to handle null versioning and update `prevVersion` for versioned head objects
3. rgw/d4n: Simplify code to only support unversioned bucket deletes

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agorgw/cache: implementation for organizing data in ssd cache
Pritha Srivastava [Tue, 10 Sep 2024 14:38:53 +0000 (20:08 +0530)]
rgw/cache: implementation for organizing data in ssd cache
into bucket directory, object directory and then versions
representing file names.

This commit for extracts bucket id, object name, version,
offset, and length from input key and organizes data into
directories - with bucket id, object name being used to
create directories and filenames within them using version
and offset and length.

Data can be restored back to in memory LFUDA and dirty object
data structure once rgw is restarted.

Updating unit tests.
test/rgw: Correct RedisDriver keys and add checks for cache blocks after
write

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agorgw/d4n: handling special characters in object names such that
Pritha Srivastava [Thu, 5 Sep 2024 06:31:11 +0000 (12:01 +0530)]
rgw/d4n: handling special characters in object names such that
parsing file names while restoring data from cache does not result
in errors.

1. Introduce a new delimiter # instead of _ for concatening bucket_id,
objectname etc to create a key, because "_" is a valid char in object names
and is not encoded and results in incorrect values while parsing filenames
for restorin data.
2. url encode the bucket id, version and object name before all are concatenated
to form a key
3. url_decode the bucket id, version and object name after parsing the filename
from cache while restoring data back.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: squashing the following commits for restoring
Pritha Srivastava [Tue, 3 Sep 2024 04:59:20 +0000 (10:29 +0530)]
rgw/d4n: squashing the following commits for restoring
in-memory data for LFUDA policy and dirty objects from
cache on disk

1. rgw/d4n: restore in memory data structure for dirty
objects using the xattrs in the head block of an object
in the cache.
2. rgw/d4n: replacing string cache attr names with constexpr char.
3. rgw/d4n: restore LFUDA policy data from cache on disk.
4. rgw/d4n: correcting the key used while updating the LFUDA data structure
for the head object block in the read path.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: miscellaneous updates:
Pritha Srivastava [Fri, 30 Aug 2024 06:20:46 +0000 (11:50 +0530)]
rgw/d4n: miscellaneous updates:

1. use bucket id instead of name in the cache block key
as this will be helpful to differentiate between objects
belonging to buckets that have been deleted and recreated.
2. add helper methods to derive prefix and key for cache blocks.
3. comments and code cleanup, renaming of policy methods
related to adding and erasing dirty objects to and from
in-memory data structures.
4. rgw/d4n: reading in chunks of rgw_max_chunk_size instead
of rgw_obj_max_req_size since data is being written in rgw_max_chunk_size
chunks in the write back cache.
5. rgw/d4n: correctly set the version for objects
with 'null' versionId in case of a write workflow.
The version stored in the block directory was 'null',
but that does not differentiate two different versions
of objects with versionId set to 'null', hence differentiating
between objects with 'null' versionId by deriving and storing
a non-null version in the block directory, and based on this
version the name of the object in the cache is derived.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: removing code that writes object entry to the
Pritha Srivastava [Fri, 23 Aug 2024 07:15:00 +0000 (12:45 +0530)]
rgw/d4n: removing code that writes object entry to the
object directory in redis

Objects were being written to the directory for bucket listing
but another data structure needs to be used that allows for
ordered listing indexed by a bucket name/ id, hence removing
the entries that do not serve this purpose (they also add to the
number of calls to the redis server).

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: squashing the following commits that fix s3 test
Pritha Srivastava [Mon, 10 Jun 2024 07:02:42 +0000 (12:32 +0530)]
rgw/d4n: squashing the following commits that fix s3 test
failures.

1. rgw/d4n: fixing logical errors for ranged requests in iterate(), aligning
start chunk/block to beginning of the chunk/block boundary.
2. cache head object in write path in case write-cache
is disabled - for maintaining cache consistensy
3. delete dirty blocks of older versions of a non-versioned
bucket as dirty blocks are not evicted, and older versions won't
be written to the disk also.
4. remove dirty objects from the dirty objects data structure,
in case the bucket it belongs to has been deleted.
5. rgw/d4n: fixing compilation issue after rebasing with main.
6. Handle multipart objects correctly in copy object
7. Fix more ranged request errors.
8. handling part_num correctly for multipart and non-multipart objects
9. handling obect name starting with '_'.
10. bug in range request for sending back data to the client, after reading from
backend store.
11. rgw/d4n: code to populate RGW_ATTR_CRYPT_PARTS attr
in d4n filter.
12. rgw/d4n: fix for 'if-match' and 'if-nomatch' for
put object and copy object.
13. rgw/cache: Account for slashes in object name
14. d4n/filter: Handle request headers during read if `next->prepare` isn't called
15. d4n/filter: Fix overwriting of object size and instance
16. rgw/d4n: Supply attrs to `calculate_version`
17. rgw/d4n: Handle ACL and etag in copy_object
18. rgw/filter: Ensure cksum values are maintained
19. rgw/d4n: Set parts_count correctly and check for bufferlist length in calculate_version
20. rgw/d4n: adding a case for iterate method, where last
part to read is smaller than chunk size.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agod4n: Add filter `delete_obj` implementation and complete GET support
Samarah [Fri, 10 May 2024 14:43:20 +0000 (14:43 +0000)]
d4n: Add filter `delete_obj` implementation and complete GET support

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agod4n/filter: Implement `get_bucket` and `load_bucket`
Samarah [Tue, 16 Jul 2024 21:28:29 +0000 (21:28 +0000)]
d4n/filter: Implement `get_bucket` and `load_bucket`

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agorgw/d4n: Squash the following commits related to directory, eviction and filter drive...
Samarah [Fri, 17 May 2024 19:19:12 +0000 (19:19 +0000)]
rgw/d4n: Squash the following commits related to directory, eviction and filter driver logs:
1. d4n/directory: Remove `blockHosts` and change `objHosts` to store the hosts for the block
2. d4n/directory: Remove `dirtyBlock` metadata and use the cacheObj's `dirty` flag in block logic
3. rgw/d4n: This commit introduces the following changes:
  a. Fix `get_victim_block` method to correctly handle version
  b. Return `0` instead of error for non-error circumstances in `eviction`
  c. Switch `increase` to `decrease` for heap after localWeight update in
   `eviction`
  d. Update filter writer logs
4. d4n/filter: Make minor adjustments
5. test/d4n: Update `update_field` test calls

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agorgw/d4n: adding perfcounters for d4n cache hits, misses and evictions (LFUDA).
Pritha Srivastava [Thu, 30 May 2024 04:27:49 +0000 (09:57 +0530)]
rgw/d4n: adding perfcounters for d4n cache hits, misses and evictions (LFUDA).

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: implementation of copyObject.
Pritha Srivastava [Thu, 9 May 2024 07:19:40 +0000 (12:49 +0530)]
rgw/d4n: implementation of copyObject.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: squashing the following commits for miscellaneous fixes
Samarah [Wed, 27 Mar 2024 17:42:41 +0000 (17:42 +0000)]
rgw/d4n: squashing the following commits for miscellaneous fixes
to policy driver, redis driver, directory and filter driver.

1. d4n/directory: Use boost::split for simpler code
2. rgw: Lower log levels for failures in D4N and redis cache files
3. rgw: Add dpp and logs to directory, cache, and policy
4. rgw: Reduce Redis calls and fix workflow
5. qa/d4n: Remove D4N task and add S3 user creation to workunit driver script
6. d4n: Use Redis transactions to serialize consecutive requests for safe
data handling and faster completion
7. d4n/directory: Remove boost lexical_cast calls
8. rgw/d4n: Add return values to error logs
9. rgw/d4n: Change directory hostsList to use `unordered_set`
10. d4n/filter: Simplify logic for storing block in `handle_data`
11. rgw/policy: Properly delete `LFUDAEntry` instances
12. rgw/d4n: Add support for `dirty` block metadata, `check_bool` for consistent values, and fix directory updates in `cleanup` method

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agorgw/d4n: miscellaneous corrections/additions:
Pritha Srivastava [Tue, 14 May 2024 09:12:29 +0000 (14:42 +0530)]
rgw/d4n: miscellaneous corrections/additions:
1. storing objects in directory using their oid, so that the version
is included.
2. making sure that the head block corresponds to latest
version in the block directory.
3. add a directory entry for head block for every version
in case of a versioned bucket.
4. Populating hostsList correctly for blocks and objects.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: fix to correctly populate rgw_obj of GetObjectState in
Pritha Srivastava [Wed, 8 May 2024 09:29:04 +0000 (14:59 +0530)]
rgw/d4n: fix to correctly populate rgw_obj of GetObjectState in
RGWRados, in case ReadOp::prepare() reads the head object from
the cache.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agod4n/test: squashing the following commits related to
Samarah [Mon, 6 May 2024 16:58:35 +0000 (16:58 +0000)]
d4n/test: squashing the following commits related to
D4N test failures.

1 d4n: Add `rename` method and unit test and update D4N unit tests
2. d4n/test: Fix linking issue

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agorgw/d4n: squashing all commits related to caching head in the
Pritha Srivastava [Wed, 20 Mar 2024 04:14:50 +0000 (09:44 +0530)]
rgw/d4n: squashing all commits related to caching head in the
write-back workflow, modifying set_obj_attrs(), get_obj_attrs() and
delete_obj_attrs based on the cached head and modifying the cleaning
method to use a min-heap data structure for storing dirty objects only.

1. rgw/d4n: implementation for caching head object in write-back workflow.
2. rgw/d4n: modifications to get write back cache working after cleaning
process.
3. rgw/d4n: modifications for eviction of dirty blocks.
4. rgw/d4n: modifications include adding a heap of dirty objects
which has objects ordered by their creation time and the top
element of which is fetched in the cleaning method, processed
and deleted in a loop.
5. rgw/d4n: changing the format of cached blocks to
bucket_name_version_object_name_ofs_len, to avoid checks
for versioned and non-versioned objects.
6. rgw/d4n: modifications to set_obj_attrs(), modify_obj_attrs()
and delete_obj_attrs() to check if the head object exists in a cache,
else direct the calls to backend store.
7. rgw/d4n: handling version in case of bucket versioning being suspended
while writing the object.

Co-authored by: Samarah <samarah.uriarte@ibm.com>
Changed dynamic_cast to static_cast for D4NFilterObject
in D4NFilterWriter class constructors.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agorgw/d4n: squashing all commits related to initial implementation
mosayyebzadeh [Mon, 26 Feb 2024 15:43:01 +0000 (15:43 +0000)]
rgw/d4n: squashing all commits related to initial implementation
of write-back cache for non-multipart objects (writing objects to
cache and then to backend store in the cleaning process):

1. combining write cache with latest D4N code
2. cleaning the code
3. removing some bugs on bigger objects
4. updating iterate function to check the dirty flag
5. Updating write cache based on the pull request comments.
Read process needs to be updated based on write process. It needs to check where is the data and if it is dirty or clean.
If it is in the cache and dirty, we need to put D_ in the oid of the object before reading it from cache.
If it is clean, there is nothing to do.
6. updating flush functions and comments.

Signed-off-by: mosayyebzadeh <mosayyeb@bu.edu>
5 months agorgw/d4n: Add directory probing to read workflow
Samarah [Wed, 6 Mar 2024 20:58:03 +0000 (20:58 +0000)]
rgw/d4n: Add directory probing to read workflow

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
5 months agorgw/d4n: implementation of caching head in read workflow.
Pritha Srivastava [Fri, 8 Mar 2024 08:07:34 +0000 (13:37 +0530)]
rgw/d4n: implementation of caching head in read workflow.

modifications in ReadOp::prepare() method of the d4n filter driver
to cache the head object.

modification in get_obj_attrs to read from cache or backend store.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 months agoMerge pull request #62879 from tchaikov/pkgutil.find_loader
Ilya Dryomov [Sun, 20 Apr 2025 19:58:10 +0000 (21:58 +0200)]
Merge pull request #62879 from tchaikov/pkgutil.find_loader

pybind: switch from pkgutil.find_loader() to importlib.util.find_spec()

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
6 months agopybind: switch from pkgutil.find_loader() to importlib.util.find_spec()
Kefu Chai [Fri, 18 Apr 2025 09:24:58 +0000 (17:24 +0800)]
pybind: switch from pkgutil.find_loader() to importlib.util.find_spec()

Replace pkgutil.find_loader() with importlib.util.find_spec() throughout
Python bindings. This addresses the deprecation warning in Python 3.10
(scheduled for removal in 3.14) that appeared when generating librbd
Python bindings.

The importlib.util.find_spec() API has been available since Python 3.4
and is compatible with our minimum required Python version (3.9, since
commit 51f71fc1).

The warning resolved:
```
/home/kefu/dev/ceph/src/pybind/rbd/setup.py:8: DeprecationWarning: 'pkgutil.find_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead
  if not pkgutil.find_loader('setuptools'):
```

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
6 months agoMerge pull request #62736 from adamemerson/wip-unbreak-d4n
Casey Bodley [Fri, 18 Apr 2025 20:23:21 +0000 (16:23 -0400)]
Merge pull request #62736 from adamemerson/wip-unbreak-d4n

rgw: Unbreak D4N

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Reviewed-by: Samarah Uriarte <samarah.uriarte@ibm.com>
6 months agoMerge pull request #62850 from ivancich/wip-shard-report-crash
J. Eric Ivancich [Fri, 18 Apr 2025 18:14:31 +0000 (14:14 -0400)]
Merge pull request #62850 from ivancich/wip-shard-report-crash

rgw: prevent crash in `radosgw-admin bucket object shard ...`

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jesse Williamson <jfw@ibm.com>
6 months agoMerge pull request #62871 from cbodley/wip-doc-rgw-user-admin-system
Casey Bodley [Fri, 18 Apr 2025 17:34:00 +0000 (13:34 -0400)]
Merge pull request #62871 from cbodley/wip-doc-rgw-user-admin-system

doc/rgw: document Admin and System Users

Reviewed-by: Seena Fallah <seenafallah@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61486 from cbodley/wip-qa-rgw-s3tests-logging
Casey Bodley [Fri, 18 Apr 2025 16:57:54 +0000 (12:57 -0400)]
Merge pull request #61486 from cbodley/wip-qa-rgw-s3tests-logging

qa/rgw: run-s3tests.sh disables bucket_logging tests

Reviewed-by: Yuval Lifshitz <ylifshit@ibm.com>
6 months agoMerge pull request #62497 from bill-scales/ec_rollback_changes
Laura Flores [Fri, 18 Apr 2025 15:43:15 +0000 (10:43 -0500)]
Merge pull request #62497 from bill-scales/ec_rollback_changes

osd: EC optimizations: changes to rollback to support partial writes

6 months agoMerge pull request #57740 from bill-scales/wip-bscales-align-write-buffers-v2
Laura Flores [Fri, 18 Apr 2025 15:41:13 +0000 (10:41 -0500)]
Merge pull request #57740 from bill-scales/wip-bscales-align-write-buffers-v2

os/transaction: page align write data buffers to improve performance - version 2

6 months agodoc/rgw: document Admin and System Users
Casey Bodley [Thu, 17 Apr 2025 21:52:27 +0000 (17:52 -0400)]
doc/rgw: document Admin and System Users

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 months agorgw: prevent crash in `radosgw-admin bucket object shard ...`
J. Eric Ivancich [Wed, 16 Apr 2025 16:38:33 +0000 (12:38 -0400)]
rgw: prevent crash in `radosgw-admin bucket object shard ...`

This subcommand is used to ask radosgw-admin which bucket index shard
a given object in a given bucket would have its bucket index entry
on. The user is required to supply the number of shards (i.e., the
command doesn't look that up). If 0 is provided it would result in a
divide by zero runtime exception. Values less than or equal to zero
are now protected.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
6 months agoMerge pull request #62803 from ShwetaBhosale1/fix_issue_70870_update_log_message_for_...
Adam King [Fri, 18 Apr 2025 13:00:33 +0000 (09:00 -0400)]
Merge pull request #62803 from ShwetaBhosale1/fix_issue_70870_update_log_message_for_enabling_logrotate.timer

cephadm: Updated log message for enabling logrotate.timer service while bootstrap

Reviewed-by: Adam King <adking@redhat.com>
6 months agoMerge pull request #61800 from MaxKellermann/blk_includes
Max Kellermann [Fri, 18 Apr 2025 08:48:08 +0000 (10:48 +0200)]
Merge pull request #61800 from MaxKellermann/blk_includes

blk: add missing includes

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
6 months agoMerge pull request #62849 from VinayBhaskar-V/WIP-instancereplayer-crash
Ilya Dryomov [Fri, 18 Apr 2025 08:37:56 +0000 (10:37 +0200)]
Merge pull request #62849 from VinayBhaskar-V/WIP-instancereplayer-crash

rbd-mirror: release lock before calling m_async_op_tracker.finish_op()

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
6 months agodoc/rgw: Admin Capabilities section links to Admin Ops API
Casey Bodley [Thu, 17 Apr 2025 21:51:46 +0000 (17:51 -0400)]
doc/rgw: Admin Capabilities section links to Admin Ops API

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #62819 from pritha-srivastava/wip-rgw-iam-oidc-caps
Casey Bodley [Thu, 17 Apr 2025 16:54:21 +0000 (12:54 -0400)]
Merge pull request #62819 from pritha-srivastava/wip-rgw-iam-oidc-caps

rgw/iam: correcting the caps for OIDC Provider for a user.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #62300 from rishabh-d-dave/mgr-vol-link-docs
Rishabh Dave [Thu, 17 Apr 2025 16:19:55 +0000 (21:49 +0530)]
Merge pull request #62300 from rishabh-d-dave/mgr-vol-link-docs

doc/cephfs: link section for pausing async threads in section for...

Reviewed-by: Zac Dover <zac.dover@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 months agoMerge pull request #62766 from adamemerson/wip-70864
Casey Bodley [Thu, 17 Apr 2025 16:03:31 +0000 (12:03 -0400)]
Merge pull request #62766 from adamemerson/wip-70864

rgw: Don't print spurious error on `radosgw-admin` exit

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
6 months agoMerge pull request #62793 from BBoozmen/wip-oozmen-70270
Casey Bodley [Thu, 17 Apr 2025 16:00:27 +0000 (12:00 -0400)]
Merge pull request #62793 from BBoozmen/wip-oozmen-70270

rgw: metadata and data sync notification to retry upon any failure case

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 months agoMerge pull request #62828 from ifed01/wip-ifed-fix-70802
Igor Fedotov [Thu, 17 Apr 2025 15:05:02 +0000 (18:05 +0300)]
Merge pull request #62828 from ifed01/wip-ifed-fix-70802

os/bluestore: eliminate build warning

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Adam Kupczyk<akupczyk@ibm.com>
6 months agoMerge pull request #62859 from bluikko/doc-fixes-radosgw
Anthony D'Atri [Thu, 17 Apr 2025 15:02:29 +0000 (11:02 -0400)]
Merge pull request #62859 from bluikko/doc-fixes-radosgw

doc/radosgw: Fix formatting, cosmetic issues, typos

6 months agodoc/radosgw: Fix formatting, cosmetic issues, typos
Ville Ojamo [Thu, 17 Apr 2025 04:05:30 +0000 (11:05 +0700)]
doc/radosgw: Fix formatting, cosmetic issues, typos

Fix stray example command block leftover from rebase in
cloud-transition.rst.
Remove extra character > in cloud-sync-module.rst.
Add missing formatting char ` in cloud-sync-module.rst.
Remove extra empty line between example commands that
resulted in a line with just a "#" prompt.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
6 months agorbd-mirror: release lock before calling m_async_op_tracker.finish_op()
VinayBhaskar-V [Wed, 16 Apr 2025 15:52:21 +0000 (21:22 +0530)]
rbd-mirror: release lock before calling m_async_op_tracker.finish_op()

m_async_op_tracker.finish_op() in InstanceReplayer::start_image_replayers
may invoke a completion that re-enters code paths that attempt to acquire
the same mutex (m_lock), violating the non-recursive lock constraint.
This can be fixed by releasing the lock before calling
m_async_op_tracker.finish_op().

Fixes: https://tracker.ceph.com/issues/70951
Signed-off-by: VinayBhaskar-V <vvarada@redhat.com>
6 months agoMerge pull request #61936 from xxhdx1985126/wip-seastore-omap-tree-pointer
Yingxin Cheng [Thu, 17 Apr 2025 07:05:06 +0000 (15:05 +0800)]
Merge pull request #61936 from xxhdx1985126/wip-seastore-omap-tree-pointer

crimson/os/seastore/omap_manager: apply linked tree nodes to omap trees

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 months agoMerge pull request #62769 from ronen-fr/wip-rf-delayready
Ronen Friedman [Thu, 17 Apr 2025 05:03:01 +0000 (08:03 +0300)]
Merge pull request #62769 from ronen-fr/wip-rf-delayready

osd/scrub: discard delay_ready_t

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
6 months agoMerge pull request #62858 from bluikko/doc-fix-radosgw
Anthony D'Atri [Thu, 17 Apr 2025 03:46:28 +0000 (23:46 -0400)]
Merge pull request #62858 from bluikko/doc-fix-radosgw

doc/radosgw: Remove extra literal blocks in cloud-transition.rst

6 months agodoc/radosgw: Remove extra literal blocks in cloud-transition.rst
Ville Ojamo [Thu, 17 Apr 2025 03:35:32 +0000 (10:35 +0700)]
doc/radosgw: Remove extra literal blocks in cloud-transition.rst

Fix double-colon literal blocks before blocks with
prompts, missed in rebase.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
6 months agoMerge pull request #62763 from bluikko/doc-prompts-radosgw
Zac Dover [Thu, 17 Apr 2025 02:55:27 +0000 (12:55 +1000)]
Merge pull request #62763 from bluikko/doc-prompts-radosgw

doc/radosgw: Promptify CLI, cosmetic fixes

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #62754 from cbodley/wip-64895
Casey Bodley [Wed, 16 Apr 2025 19:45:32 +0000 (15:45 -0400)]
Merge pull request #62754 from cbodley/wip-64895

common: CephContext::_refresh_perf_values() checks for null _mempool_perf

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 months agoMerge pull request #62775 from bluikko/doc-releases-codeblocks
Anthony D'Atri [Wed, 16 Apr 2025 13:59:21 +0000 (09:59 -0400)]
Merge pull request #62775 from bluikko/doc-releases-codeblocks

doc/releases: Fix invalid triple backticks in reef.rst squid.rst

6 months agoMerge pull request #62818 from ronen-fr/wip-rf-iocnt-plus
Ronen Friedman [Wed, 16 Apr 2025 12:44:20 +0000 (15:44 +0300)]
Merge pull request #62818 from ronen-fr/wip-rf-iocnt-plus

osd/scrub: performance counters: count I/Os, use unlabeled counters

Reviewed-by: Alex Ainscow <aainscow@uk.ibm.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
6 months agodoc/radosgw: Promptify CLI, cosmetic fixes
Ville Ojamo [Thu, 10 Apr 2025 10:34:57 +0000 (17:34 +0700)]
doc/radosgw: Promptify CLI, cosmetic fixes

Use the more modern prompt block for CLI commands
and use right one $ vs #.
Fix indentation on JSON example outputs and
some CLI command switches.
Add some arguably missing comma in JSON example output.
Add a full stop at the end of a one-sentence paragraph.
Remove extra comma mid-sentence in another.
Fix missing backslashes or typo at end of multiline commands.
Lines under section headings as long as heading text.
Fix hyperlinks. Fix list items prefixed with - insted of *.
Format configuration syntax in the middle of text as code.
Fix typo "PI" to "API" and remove extra space.
Remove colons at the end of section headers in a few places.
Use Title Case in section titles consistently with short words lowercase.
Possibly controversial: don't add whitespace before and
after main title section header text.
Possibly controversial: don't indent line continuation
backslashes, leave only 1 space before them.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
6 months agoblk/kernel: add missing includes
Max Kellermann [Tue, 5 Nov 2024 11:49:31 +0000 (12:49 +0100)]
blk/kernel: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
6 months agoextblkdev/vdo: add missing includes
Max Kellermann [Fri, 25 Oct 2024 09:08:58 +0000 (11:08 +0200)]
extblkdev/vdo: add missing includes

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
6 months agocrimson/os/seastore/logical_child_node: drop unnecessary
Xuehan Xu [Thu, 3 Apr 2025 06:31:42 +0000 (14:31 +0800)]
crimson/os/seastore/logical_child_node: drop unnecessary
"has_parent_tracker()" check

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
6 months agocrimson/os/seastore/logical_child_node: rename child_node_t to
Xuehan Xu [Sun, 30 Mar 2025 08:23:10 +0000 (16:23 +0800)]
crimson/os/seastore/logical_child_node: rename child_node_t to
lba_child_node_t

To be distinguished with omap nodes' child_node_t

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
6 months agocrimson/os/seastore/linked_tree_node: move "account_absent_access()" out
Xuehan Xu [Thu, 6 Mar 2025 08:29:54 +0000 (16:29 +0800)]
crimson/os/seastore/linked_tree_node: move "account_absent_access()" out
of ExtentTransViewRetriever

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
6 months agocrimson/os/seastore/onode: increase the default inline snapset size to
Xuehan Xu [Mon, 24 Feb 2025 02:07:06 +0000 (10:07 +0800)]
crimson/os/seastore/onode: increase the default inline snapset size to
35

So that snapsets for un-snapshoted objects can be store inline with the
onode.

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
6 months agocrimson/os/seastore/omap_manager: apply linked_tree_node to omap trees
Xuehan Xu [Fri, 14 Feb 2025 07:48:01 +0000 (15:48 +0800)]
crimson/os/seastore/omap_manager: apply linked_tree_node to omap trees

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
6 months agoMerge pull request #62795 from laimis9133/main
Zac Dover [Tue, 15 Apr 2025 19:52:49 +0000 (05:52 +1000)]
Merge pull request #62795 from laimis9133/main

doc/radosgw/cloud-transition: use reStructuredText for code

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #62798 from zdover23/wip-doc-2025-04-14-squid-upgrade-warning
Zac Dover [Tue, 15 Apr 2025 19:32:04 +0000 (05:32 +1000)]
Merge pull request #62798 from zdover23/wip-doc-2025-04-14-squid-upgrade-warning

doc/releases: Direct users to upgrade to 19.2.2

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #62792 from prik73/70719-fix-user-form-login-typo
afreen23 [Tue, 15 Apr 2025 18:54:58 +0000 (00:24 +0530)]
Merge pull request #62792 from prik73/70719-fix-user-form-login-typo

mgr/dashboard: fix typo in User Management form (logon → login)

Reviewed-by: Afreen Misbah <afreen@ibm.com>
6 months agoMerge pull request #62812 from Matan-B/wip-matanb-crimson-only-backfill-stuck
Matan Breizman [Tue, 15 Apr 2025 15:24:42 +0000 (18:24 +0300)]
Merge pull request #62812 from Matan-B/wip-matanb-crimson-only-backfill-stuck

crimson/osd: fix do_recovery returned boolean

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
Reviewed-by: Mohit Agrawal <moagrawa@redhat.com>
6 months agoos/bluestore: eliminate build warning
Igor Fedotov [Tue, 15 Apr 2025 13:47:49 +0000 (16:47 +0300)]
os/bluestore: eliminate build warning

Fixes: https://tracker.ceph.com/issues/70802
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
6 months agoMerge pull request #62744 from rhcs-dashboard/accounts-e2e
Nizamudeen A [Tue, 15 Apr 2025 13:42:41 +0000 (19:12 +0530)]
Merge pull request #62744 from rhcs-dashboard/accounts-e2e

mgr/dashboard: rgw accounts UI e2e tests

6 months agoosd/scrub: fixing scrub reservation process counters
Ronen Friedman [Mon, 14 Apr 2025 16:22:27 +0000 (11:22 -0500)]
osd/scrub: fixing scrub reservation process counters

Using regular (unlabeled) OSD performance counters for
tracking the scrub reservation performance.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoosd/scrub: turning additional counters into unlabeled
Ronen Friedman [Mon, 14 Apr 2025 09:47:24 +0000 (04:47 -0500)]
osd/scrub: turning additional counters into unlabeled

i.e. - moving counters from the 'scrbcnt_' enums into
the ScrubCounterSet object.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoosd/scrub: a single counters selection mechanism - step 1
Ronen Friedman [Sun, 13 Apr 2025 17:53:12 +0000 (12:53 -0500)]
osd/scrub: a single counters selection mechanism - step 1

Following the preceeding PR, the Scrubber now employs
two methods for selecting the specific subset of performance
counters to update (the replicated pool set or the EC one).
The first method is using labeled counters, with 4 optional labels
(Primary/Replica X Replicated/EC Pool). The second method
is by naming the specific OSD counters to use in ScrubIoCounterSet
objects, then selecting the appropriate set based on the pool type.

This commit is the first step on the path to unifying the two
methods - discarding the use of labeled counters, and only
naming OSD counters.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoosd/scrub: perf-counters for I/O performed by the scrubber
Ronen Friedman [Thu, 3 Apr 2025 07:55:23 +0000 (02:55 -0500)]
osd/scrub: perf-counters for I/O performed by the scrubber

Define two sets of performance counters to track I/O performed
by the scrubber - one set to be used when scrubbing a PG
in a replicated pool, and one - for EC PGs.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
6 months agorgw/iam: correcting the caps for OIDC Provider for a user.
Pritha Srivastava [Tue, 15 Apr 2025 09:43:18 +0000 (15:13 +0530)]
rgw/iam: correcting the caps for OIDC Provider for a user.

Fixes: https://tracker.ceph.com/issues/70926
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
6 months agocrimson/osd: fix stuck recovery
Matan Breizman [Tue, 15 Apr 2025 07:35:31 +0000 (07:35 +0000)]
crimson/osd: fix stuck recovery

https://github.com/ceph/ceph/pull/62080 tested version was **different**
from the one that got merged.
The untested change was changing the boolean returned from start_recovery_ops.
While the seastar::repeat loop in BackgroundRecoveryT<T>::start() was changed accordingly,
other do_recovery() return cases were not considered.

See Tested / Merged here: https://github.com/Matan-B/ceph/pull/2/files

start_recovery_ops used by do_recovery should return whether the iteration (i.e recovery) keep going.

_Note: This has caused a regression in our suite_

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
6 months agoMerge pull request #61992 from dparmar18/ib61357
Venky Shankar [Tue, 15 Apr 2025 09:26:34 +0000 (14:56 +0530)]
Merge pull request #61992 from dparmar18/ib61357

qa: add parallelized cleanup step in _rebuild_metadata()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 months agoMerge PR #62259 into main
Venky Shankar [Tue, 15 Apr 2025 09:25:21 +0000 (14:55 +0530)]
Merge PR #62259 into main

* refs/pull/62259/head:
qa/tasks/cephfs/mount: introduce _default_gateway method
qa/tasks/cephfs/mount: use 'ip r' instead 'route'

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 months agoMerge PR #62553 into main
Venky Shankar [Tue, 15 Apr 2025 09:23:39 +0000 (14:53 +0530)]
Merge PR #62553 into main

* refs/pull/62553/head:
mds: fix issues with use-after-free in C_Flush_Journal
mds: fix issues with use-after-free in C_Flush_Journal

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 months agoMerge pull request #62764 from rhcs-dashboard/bucket-ratelimit-fix
Pedro Gonzalez Gomez [Tue, 15 Apr 2025 09:19:51 +0000 (11:19 +0200)]
Merge pull request #62764 from rhcs-dashboard/bucket-ratelimit-fix

mgr/dashboard: bucket ratelimit API failing while changing owner with ratelimit config

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
6 months agoMerge pull request #59533 from ifed01/wip-ifed-no-async-compact-in-splillover-tests
Igor Fedotov [Tue, 15 Apr 2025 08:53:25 +0000 (11:53 +0300)]
Merge pull request #59533 from ifed01/wip-ifed-no-async-compact-in-splillover-tests

test/store_test: enforce sync compaction for spillover test cases.

Reviewed-by: Md Mahamudur Rahaman Sajib mahamudur.sajib@croit.io
6 months agoMerge pull request #62807 from ceph/wip-yuriw-release.pocess-main
Yuri Weinstein [Mon, 14 Apr 2025 23:42:39 +0000 (16:42 -0700)]
Merge pull request #62807 from ceph/wip-yuriw-release.pocess-main

doc: changed refs from quincy to squid

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
6 months agoMerge pull request #61786 from Hezko/ns-create-size-fix
Hezko [Mon, 14 Apr 2025 22:19:29 +0000 (01:19 +0300)]
Merge pull request #61786 from Hezko/ns-create-size-fix

mgr/dashboard: Ns create size fix

6 months agodoc/releases: Direct users to upgrade to 19.2.2
Zac Dover [Sun, 13 Apr 2025 23:49:16 +0000 (09:49 +1000)]
doc/releases: Direct users to upgrade to 19.2.2

Direct users to upgrade only to Squid v19.2.2, and warn readers not to
upgrade to Squid 19.2.1. This PR is raised in response to a request from
Neha Ojha.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #62799 from anthonyeleven/fix-formatting
Zac Dover [Mon, 14 Apr 2025 21:44:46 +0000 (07:44 +1000)]
Merge pull request #62799 from anthonyeleven/fix-formatting

doc/cephadm/services: Fix formatting in osd.rst

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
6 months agoMerge pull request #61610 from rzarzynski/wip-test-bl-lastp-on
Radoslaw Zarzynski [Mon, 14 Apr 2025 20:03:25 +0000 (22:03 +0200)]
Merge pull request #61610 from rzarzynski/wip-test-bl-lastp-on

test/bufferlist: turn the old last_p fix verification on

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
6 months agoMerge pull request #56922 from ifed01/wip-ifed-store-test-no-sleeps
Igor Fedotov [Mon, 14 Apr 2025 18:06:45 +0000 (21:06 +0300)]
Merge pull request #56922 from ifed01/wip-ifed-store-test-no-sleeps

test/store_test: get rid off sleep() call wherever possible

Reviewed-by: Pere Diaz Bou <pere-altea@hotmail.com>
6 months agorgw: metadata and data sync fairness notifications to retry upon any error case
Oguzhan Ozmen [Fri, 11 Apr 2025 21:45:19 +0000 (21:45 +0000)]
rgw: metadata and data sync fairness notifications to retry upon any error case

This is a complementary fix to the earlier one described at #62156.
When the sync shard notification fails due to any failures including timeout,
this change keeps the loop going for both metadata and data sync.

Fixes https://tracker.ceph.com/issues/70270

Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
6 months agoMerge pull request #62804 from Matan-B/wip-matanb-rgw-spec.in
Casey Bodley [Mon, 14 Apr 2025 15:56:31 +0000 (11:56 -0400)]
Merge pull request #62804 from Matan-B/wip-matanb-rgw-spec.in

ceph.spec.in: package man/rgw-gap-list

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>