]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
19 hours agocrimson/test: chain invoke_on_all() future instead of calling get() 69288/head
Ronen Friedman [Thu, 4 Jun 2026 13:05:26 +0000 (13:05 +0000)]
crimson/test: chain invoke_on_all() future instead of calling get()

The reactors start-up code on ARM64 uses invoke_on_all() to
set a configuration option.
Replace smp::invoke_on_all().get() with future chaining. This
avoids waiting on a future from a reactor continuation (outside
of a seastar thread) that throws exception.

See: https://docs.seastar.io/master/classseastar_1_1future.html#a50bfeff0acccd2f365cce40f9954218c

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
19 hours agoMerge pull request #69148 from ronen-fr/wip-rf-scrubjob
Ronen Friedman [Thu, 4 Jun 2026 18:32:30 +0000 (21:32 +0300)]
Merge pull request #69148 from ronen-fr/wip-rf-scrubjob

osd/scrub: scrub_job cleanup

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
21 hours agoMerge pull request #69054 from tchaikov/wip-cls-rgw-cleanup
Casey Bodley [Thu, 4 Jun 2026 17:01:44 +0000 (13:01 -0400)]
Merge pull request #69054 from tchaikov/wip-cls-rgw-cleanup

cls: remove unused variable

Reviewed-by: Casey Bodley <cbodley@redhat.com>
22 hours agoMerge pull request #69270 from sseshasa/wip-fix-ok-to-upgrade-error-msg
Sridhar Seshasayee [Thu, 4 Jun 2026 15:23:26 +0000 (20:53 +0530)]
Merge pull request #69270 from sseshasa/wip-fix-ok-to-upgrade-error-msg

mgr/DaemonServer: clarify ok-to-upgrade error message for CRUSH buckets

Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
23 hours agoMerge pull request #69171 from cbodley/wip-76996
Casey Bodley [Thu, 4 Jun 2026 14:38:30 +0000 (10:38 -0400)]
Merge pull request #69171 from cbodley/wip-76996

qa/rgw: remove ragweed from multifs subsuite

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
24 hours agoMerge pull request #69285 from tchaikov/wip-test-rgw-posix-fix-leak
Casey Bodley [Thu, 4 Jun 2026 14:12:04 +0000 (10:12 -0400)]
Merge pull request #69285 from tchaikov/wip-test-rgw-posix-fix-leak

test/rgw/posix: free the quota handler in TestDriver

Reviewed-by: Nithya Balachandran <nithya.balachandran@ibm.com>
27 hours agoMerge pull request #69259 from knrt10/fix-ares-depedency
Kautilya Tripathi [Thu, 4 Jun 2026 11:05:09 +0000 (16:35 +0530)]
Merge pull request #69259 from knrt10/fix-ares-depedency

ceph.spec.in: require c-ares >= 1.28 for ceph-osd-crimson

27 hours agotest/rgw/posix: free the quota handler in TestDriver 69285/head
Kefu Chai [Thu, 4 Jun 2026 10:38:24 +0000 (18:38 +0800)]
test/rgw/posix: free the quota handler in TestDriver

TestDriver::init() allocates quota_handler via
RGWQuotaHandler::generate_handler() but nothing frees it. The real
POSIXDriver frees it in finalize(), which the unit tests never call, so
every fixture that runs init() leaks the handler and the stat caches
hanging off it: 274 allocations, ~40KB, all rooted at generate_handler()
under ASan:

  ==6102==ERROR: LeakSanitizer: detected memory leaks
  Direct leak of 3200 byte(s) in 5 object(s) allocated from:
    #1 RGWQuotaHandler::generate_handler(...) src/rgw/rgw_quota.cc:989
    #2 TestDriver::init(...) src/test/rgw/test_rgw_posix_driver.cc:1100
    #3 POSIXDriverTest::SetUp() src/test/rgw/test_rgw_posix_driver.cc:1191
    ...
  SUMMARY: AddressSanitizer: 40099 byte(s) leaked in 274 allocation(s).

So free it in ~TestDriver(), the counterpart to the init() allocation.
~POSIXDriver() is empty and nothing else touches quota_handler, so there
is no double free, and free_handler(nullptr) is a no-op when init()
bailed out early.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
28 hours agoMerge pull request #64805 from NitzanMordhai/wip-nitzan-mgr-from-cache-ttl-to-cache...
NitzanMordhai [Thu, 4 Jun 2026 09:59:45 +0000 (12:59 +0300)]
Merge pull request #64805 from NitzanMordhai/wip-nitzan-mgr-from-cache-ttl-to-cache-changed

Enhance mgr cache - from cache based on ttl to cache based on changes

Reviewed-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
Signed-off-by: Nizamudeen A <nia@redhat.com>
28 hours agoMerge pull request #69201 from kginonredhat/issue-75359-iscsi-rocky-doc
Ilya Dryomov [Thu, 4 Jun 2026 09:40:39 +0000 (11:40 +0200)]
Merge pull request #69201 from kginonredhat/issue-75359-iscsi-rocky-doc

doc/rbd: clarify Rocky iSCSI gateway requirements

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
29 hours agoMerge pull request #68734 from rhcs-dashboard/sync-policy-daemon-context
Aashish Sharma [Thu, 4 Jun 2026 08:58:46 +0000 (14:28 +0530)]
Merge pull request #68734 from rhcs-dashboard/sync-policy-daemon-context

mgr/dashboard: multisite sync-policy page should include daemon selection

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
30 hours agoMerge pull request #69183 from tchaikov/wip-rgw-posix-leak
Kefu Chai [Thu, 4 Jun 2026 08:04:23 +0000 (16:04 +0800)]
Merge pull request #69183 from tchaikov/wip-rgw-posix-leak

rgw/posix: fix leaks in error paths

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
30 hours agoMerge pull request #69215 from sunyuechi/wip-legacy-option-headers-race
Kefu Chai [Thu, 4 Jun 2026 07:59:24 +0000 (15:59 +0800)]
Merge pull request #69215 from sunyuechi/wip-legacy-option-headers-race

cmake: link legacy-option-headers from targets that use legacy options

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
30 hours agoceph.spec.in: require c-ares >= 1.28 for ceph-osd-crimson 69259/head
Kautilya Tripathi [Wed, 3 Jun 2026 08:32:08 +0000 (14:02 +0530)]
ceph.spec.in: require c-ares >= 1.28 for ceph-osd-crimson

Seastar's DNS stack uses ares_query_dnsrec when built against c-ares
>= 1.28 (ARES_VERSION >= 0x011c00). Only ceph-osd-crimson links that
path; classic-osd does not, so add the version floor on the crimson
subpackage only.

Rocky Linux 10 shaman builds use docker.io/rockylinux/rockylinux:10
(os-release 10.1), but dnf builddeps resolve against the live Rocky 10
BaseOS/AppStream repos, which track the newest minor and install
c-ares-devel/c-ares 1.34.6. CMake links ceph-osd-crimson against that
library. Teuthology nodes are provisioned as Rocky 10.1 and install only
the requested Ceph packages without a full distro upgrade, so their
baseline c-ares stays at 1.25.0 (< 1.28, no ares_query_dnsrec). Install
succeeds but OSD startup fails with "undefined symbol: ares_query_dnsrec".

Require c-ares >= 1.28 on ceph-osd-crimson so dnf upgrades to a suitable
libcares (1.34.6 is already in Rocky 10.1 baseos) or fails cleanly at
install. Ubuntu crimson CI does not show this mismatch: the same LTS is
used for building and testing, and maintainers do not bump upstream
package versions across an LTS lifecycle (only cherry-picked fixes), so
build-time and runtime libc-ares stay aligned.

Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
31 hours agomgr/dashboard: cached osd_map pop pg_temp 64805/head
Nitzan Mordechai [Thu, 4 Jun 2026 06:52:18 +0000 (06:52 +0000)]
mgr/dashboard: cached osd_map pop pg_temp

get('osd_map') returns the cached object directly, so del and key
assignments were silently corrupting the cache for subsequent callers.
Take a shallow copy before modifying, and use pop() instead of del in
case the cache was already corrupted.

Fixes: https://tracker.ceph.com/issues/72447
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>
31 hours agomgr/cli_api: pretty_json for mappingproxy fix
Nitzan Mordechai [Thu, 4 Sep 2025 14:24:53 +0000 (14:24 +0000)]
mgr/cli_api: pretty_json for mappingproxy fix

since we are modifying read-only python object, we need to copy it first

Fixes: https://tracker.ceph.com/issues/72447
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>
34 hours agomgr/DaemonServer: clarify ok-to-upgrade error message for CRUSH buckets 69270/head
Sridhar Seshasayee [Wed, 6 May 2026 15:11:33 +0000 (20:41 +0530)]
mgr/DaemonServer: clarify ok-to-upgrade error message for CRUSH buckets

Refine the error string in DaemonServer.cc returned by the
ok-to-upgrade command when OSDs in a CRUSH bucket cannot be upgraded.

The original message is ambiguous. It fails to clearly convey that
stopping *any* individual OSD in that specific bucket will drop PGs
offline, meaning no OSDs within that bucket can be safely upgraded at
this time.

Update the phrasing to explicitly state that at least X PGs will go offline
if any OSD out of the total count in that CRUSH bucket is stopped. Also
standardize on capitalized acronyms (PG, OSD, CRUSH) and wrap the bucket
name in single quotes for better log readability.

Fixes: https://tracker.ceph.com/issues/74612
Signed-off-by: Sridhar Seshasayee <sridhar.seshasayee@ibm.com>
40 hours agoMerge pull request #69180 from ljflores/wip-tracker-68669
Laura Flores [Wed, 3 Jun 2026 21:45:40 +0000 (16:45 -0500)]
Merge pull request #69180 from ljflores/wip-tracker-68669

qa/workunits/rados: fetch files via GitHub instead of git.ceph.com

Reviewed-by: Kamoltat Sirivadhna <ksirivad@ibm.com>
43 hours agoMerge pull request #69268 from ronen-fr/wip-rf-utst-alienstore-crimson
Ronen Friedman [Wed, 3 Jun 2026 18:24:09 +0000 (21:24 +0300)]
Merge pull request #69268 from ronen-fr/wip-rf-utst-alienstore-crimson

crimson/tests: emit success message in unittest-seastar-alienstore-thread-pool

Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
45 hours agoMerge pull request #68979 from nhoad/trim-dead-file
Nathan Hoad [Wed, 3 Jun 2026 16:37:36 +0000 (12:37 -0400)]
Merge pull request #68979 from nhoad/trim-dead-file

rgw: Remove blank file.

46 hours agoMerge pull request #66154 from dparmar18/fix-ganesha-conf-vstart
Christopher Hoffman [Wed, 3 Jun 2026 16:02:38 +0000 (12:02 -0400)]
Merge pull request #66154 from dparmar18/fix-ganesha-conf-vstart

src/vstart.sh: fix start_ganesha() to avoid crashing nfs-ganesha server

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
46 hours agoMerge pull request #69221 from Jayaprakash-ibm/wip-doc-bluefs-spillover-cleaners
Jaya Prakash [Wed, 3 Jun 2026 15:49:12 +0000 (21:19 +0530)]
Merge pull request #69221 from Jayaprakash-ibm/wip-doc-bluefs-spillover-cleaners

doc/rados/bluestore: Add documentation for the BlueFS spillover cleaner

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
46 hours agodoc/rbd: clarify Rocky iSCSI gateway requirements 69201/head
Kobi Ginon [Wed, 3 Jun 2026 14:03:09 +0000 (17:03 +0300)]
doc/rbd: clarify Rocky iSCSI gateway requirements

List Rocky Linux 8+ alongside RHEL/CentOS Stream 7.5+. Note that packaged
ceph-iscsi must recognize Rocky in /etc/os-release (ceph-iscsi#282). Add a
short Rocky note under iSCSI targets; expand the overview maintenance
warning with migration guidance to RBD and the NVMe-oF gateway.

Co-authored-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Kobi Ginon <kginon@redhat.com>
2 days agocrimson/tests: emit success message in unittest-seastar-alienstore-thread-pool 69268/head
Ronen Friedman [Wed, 3 Jun 2026 14:17:46 +0000 (14:17 +0000)]
crimson/tests: emit success message in unittest-seastar-alienstore-thread-pool

... avoiding the need to guess the results.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 days agoMerge pull request #68863 from benhanokh/dedup_ops_api
Gabriel Benhanokh [Wed, 3 Jun 2026 11:24:06 +0000 (14:24 +0300)]
Merge pull request #68863 from benhanokh/dedup_ops_api

rgw/dedup: add Admin OPS REST API for dedup commands

2 days agodoc/rados/bluestore: Add documentation for the BlueFS spillover cleaner 69221/head
Jaya Prakash [Mon, 1 Jun 2026 15:39:24 +0000 (15:39 +0000)]
doc/rados/bluestore: Add documentation for the BlueFS spillover cleaner

Fixes: https://tracker.ceph.com/issues/74319
Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
2 days agoMerge pull request #69007 from MaxKellermann/test__missing_includes
Ilya Dryomov [Wed, 3 Jun 2026 09:39:18 +0000 (11:39 +0200)]
Merge pull request #69007 from MaxKellermann/test__missing_includes

test: add missing includes

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 days agoMerge pull request #66459 from aainscow/ec_direct_reads_pr2
Jon Bailey [Wed, 3 Jun 2026 09:13:42 +0000 (10:13 +0100)]
Merge pull request #66459 from aainscow/ec_direct_reads_pr2

EC Direct Reads

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2 days agomgr/telemetry: get mutable copy for pool stats
Nitzan Mordechai [Wed, 3 Sep 2025 12:03:02 +0000 (12:03 +0000)]
mgr/telemetry: get mutable copy for pool stats

Since we are changing the 'application' for the report,
we need non-RO, in case of cached api call.
using 'pool_stats' map directly to avoid copy of the pg_dump
that can be huge.

Fixes: https://tracker.ceph.com/issues/72447
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>
2 days agomgr/insights: fix read-only copy before change
Nitzan Mordechai [Wed, 27 Aug 2025 10:49:40 +0000 (10:49 +0000)]
mgr/insights: fix read-only copy before change

since we are modifying read-only python object, we need to copy it first

Fixes: https://tracker.ceph.com/issues/72447
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>
2 days agomgr: replace TTLCache with MgrMapCache and protect api with readonly
Nitzan Mordechai [Thu, 17 Jul 2025 06:17:00 +0000 (06:17 +0000)]
mgr: replace TTLCache with MgrMapCache and protect api with readonly

This patch removes the old TTLCache implementation and introduces
a new generic MgrMapCache driven by a runtime toggle:

- Add `mgr_map_cache_enabled` config option in global.yaml
- Swap out `ttl_cache` for `api_cache` (MgrMapCache) in ActivePyModules
- Update cacheable_get_python() and get_python() to use LFU‐based api_cache
- add new get_mutable parameter to the get api call to get a copy.
- Invalidate api_cache on notify_all events
- Remove all TTLCache headers, sources, and tests
- Include MgrMapCache.cc in CMakeLists and update BaseMgrModule bindings
- Improve logging around cache hits, misses, and state changes

- ActivePyModules
  * Remove unused update_cache_metrics()
  * Log cache hits/misses inline and only insert into cache when
    enabled+cacheable (with proper Py_INCREF)
  * Switch get_python() to use PyFormatterRO for cacheable routes, PyFormatter otherwise

- MgrMapCache/LFUCache
  * Add can_read_cache()/can_write_cache() helpers and use const& for key parameters
  * Guard perf counter increments and improve debug logging

- PyFormatter
  * Add PyFormatterRO subclass that freezes dicts/lists into read-only
    proxies on the fly

- Python mgr_module
  * Simplify get() to return raw result

This change ensures immutable JSON output on cache hits and tightens up cache logic.

mgr/cli: add cache flush command with proper status reporting

Allow operators to invalidate individual mgr Python caches at runtime
without restarting the manager. Introduces a new CLI command:

  $ ceph mgr cli cache flush <map-name>

which returns success or a clear error if the named cache entry doesn’t
exist or isn’t cacheable. This makes it easy to drop stale cached maps
(e.g. osd_map, mon_map) on demand.

Fixes: https://tracker.ceph.com/issues/72447
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>
mgr: add new unit tests for MgrMapCache

- Guard against null perf‐counter before calling inc(), preventing crashes
- Add “foo” to allowed_keys list (for test coverage)
- Rename and refocus the CMake test target from TTLCache to MgrMapCache
- Introduce test_mgrmapcache.cc with LFUCache tests.
- Remove the obsolete test_ttlcache.cc

Fixes: https://tracker.ceph.com/issues/72447
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>
mgr/test_cache: add new tests

adding new unit-test for mgrcache

Fixes: https://tracker.ceph.com/issues/72447
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>
2 days agoMerge pull request #68996 from VallariAg/wip-nvmeof-cli-warning
Vallari Agrawal [Wed, 3 Jun 2026 08:07:35 +0000 (13:37 +0530)]
Merge pull request #68996 from VallariAg/wip-nvmeof-cli-warning

mgr/dashboard: show warning message in nvmeof cli

2 days agoMerge pull request #68817 from tchaikov/nvme-of-mon-client
Kefu Chai [Wed, 3 Jun 2026 07:00:43 +0000 (15:00 +0800)]
Merge pull request #68817 from tchaikov/nvme-of-mon-client

cmake,debian: enable ceph-mon-client-nvmeof on Debian derivatives

Reviewed-by: Dan Mick <dan.mick@redhat.com>
2 days agoMerge PR #66748 into main
Venky Shankar [Wed, 3 Jun 2026 06:54:23 +0000 (12:24 +0530)]
Merge PR #66748 into main

* refs/pull/66748/head:
doc: Document that client_dirsize_rbytes confuses rsync

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 days agoMerge pull request #69167 from rhcs-dashboard/fix-76989-main
Aashish Sharma [Wed, 3 Jun 2026 04:36:33 +0000 (10:06 +0530)]
Merge pull request #69167 from rhcs-dashboard/fix-76989-main

mgr/dashboard: Add Sync from/sync from all options on master zone edit

Reviewed-by: Naman Munet <nmunet@redhat.com>
2 days agomgr/dashboard: multisite sync-policy page should include daemon selection 68734/head
Naman Munet [Mon, 4 May 2026 12:57:53 +0000 (18:27 +0530)]
mgr/dashboard: multisite sync-policy page should include daemon selection

Fixes: https://tracker.ceph.com/issues/71522
Changes includes:
- Added daemon selection support to all sync policy endpoints
- Enhanced backend with daemon context awareness
- Fetch only the sync policies from the specified daemon

Signed-off-by: Naman Munet <naman.munet@ibm.com>
2 days agoMerge pull request #69137 from tchaikov/wip-assert-all-fmt
Kefu Chai [Wed, 3 Jun 2026 01:33:47 +0000 (09:33 +0800)]
Merge pull request #69137 from tchaikov/wip-assert-all-fmt

crimson: replace assert_all class with a format-safe function template

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 days agoMerge PR #69222 into main
Patrick Donnelly [Tue, 2 Jun 2026 19:59:10 +0000 (15:59 -0400)]
Merge PR #69222 into main

* refs/pull/69222/head:
qa: install nvme-cli only if distro remains rocky10

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2 days agochanges requested by reviewer 68863/head
Gabriel BenHanokh [Tue, 2 Jun 2026 19:12:55 +0000 (19:12 +0000)]
changes requested by reviewer

Signed-off-by: Gabriel BenHanokh <gbenhano@redhat.com>
2 days agoMerge pull request #68941 from adamemerson/wip-rgw-deprecate-omap-datalog
Adam Emerson [Tue, 2 Jun 2026 18:39:46 +0000 (14:39 -0400)]
Merge pull request #68941 from adamemerson/wip-rgw-deprecate-omap-datalog

rgw: Deprecate OMAP datalog

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2 days agoMerge PR #69219 into main
Patrick Donnelly [Tue, 2 Jun 2026 17:59:18 +0000 (13:59 -0400)]
Merge PR #69219 into main

* refs/pull/69219/head:
script/backport-create-issue: catch errors during traversal

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2 days agoMerge pull request #69174 from dang/wip-dang-merge-standalone
Daniel Gryniewicz [Tue, 2 Jun 2026 16:37:31 +0000 (12:37 -0400)]
Merge pull request #69174 from dang/wip-dang-merge-standalone

Merge rgw-standalone

2 days agoMerge pull request #68756 from phlogistonjohn/jjm-smb-ctl-tool
John Mulligan [Tue, 2 Jun 2026 14:42:52 +0000 (10:42 -0400)]
Merge pull request #68756 from phlogistonjohn/jjm-smb-ctl-tool

smb: add a ceph based smb remote control client tool

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
3 days agoMerge pull request #68774 from aclamk/aclamk-doc-bs-rocksdb-perf-counters
Adam Kupczyk [Tue, 2 Jun 2026 13:16:26 +0000 (15:16 +0200)]
Merge pull request #68774 from aclamk/aclamk-doc-bs-rocksdb-perf-counters

doc/rados/bluestore: RockDB cache shards, perf counters

3 days agoMerge pull request #68430 from Jayaprakash-ibm/wip-bluefs-spillover-cleaner-rework
Jaya Prakash [Tue, 2 Jun 2026 13:04:54 +0000 (18:34 +0530)]
Merge pull request #68430 from Jayaprakash-ibm/wip-bluefs-spillover-cleaner-rework

os/bluestore: BlueFS Spillover Cleaner Evolution

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
3 days agoMerge PR #67709 into main
Venky Shankar [Tue, 2 Jun 2026 10:12:16 +0000 (15:42 +0530)]
Merge PR #67709 into main

* refs/pull/67709/head:
tools/cephfs: always execute scan_{extents,inodes,frags} and cleanup

Reviewed-by: Edwin Rodriguez <edwin.rodriguez1@ibm.com>
3 days agoMerge pull request #69037 from dparmar18/i76728
Venky Shankar [Tue, 2 Jun 2026 08:55:12 +0000 (14:25 +0530)]
Merge pull request #69037 from dparmar18/i76728

mds: persist session auth_name in ESession journal event

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 days agoMerge pull request #67717 from leonidc/delay-failback
leonidc [Tue, 2 Jun 2026 08:03:36 +0000 (11:03 +0300)]
Merge pull request #67717 from leonidc/delay-failback

nvmeofgw: delay failback

3 days agoMerge pull request #69105 from guits/fix-bypass_workqueue
Guillaume Abrioux [Tue, 2 Jun 2026 06:10:59 +0000 (08:10 +0200)]
Merge pull request #69105 from guits/fix-bypass_workqueue

ceph-volume: detect rotational media under dm-crypt for workqueue bypass

3 days agosrc/test/reclaim: test session reclaim after mds failover 69037/head
Dhairya Parmar [Mon, 25 May 2026 12:01:33 +0000 (17:31 +0530)]
src/test/reclaim: test session reclaim after mds failover

ensure that the new active MDS reads the auth_name from the ESession
event and assigns it to the new session that MDS creates during journal
replay.

NOTE: the mds failover is carried by sending "respawn" command to active
MDS using libcephfs's ceph_mds_command().

Fixes: https://tracker.ceph.com/issues/76728
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
3 days agomds: persist session auth_name in ESession journal event
Dhairya Parmar [Wed, 20 May 2026 21:18:15 +0000 (02:48 +0530)]
mds: persist session auth_name in ESession journal event

So that it can be applied to the freshly creation session which happens
while recreating session in ESession::replay when the OMAP version fell
behind the ESession cmapv and the newly creation session would be
rejected as target when a client tries to reclaim this session.

Fixes: https://tracker.ceph.com/issues/76728
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
3 days agoMerge pull request #68098 from sunyuechi/riscv-isa-l-support
Kefu Chai [Tue, 2 Jun 2026 03:47:35 +0000 (11:47 +0800)]
Merge pull request #68098 from sunyuechi/riscv-isa-l-support

isa-l: enable on RISC-V

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
3 days agoMerge pull request #69121 from tchaikov/wip-seastore-rolling-in-bg
Kefu Chai [Tue, 2 Jun 2026 02:14:48 +0000 (10:14 +0800)]
Merge pull request #69121 from tchaikov/wip-seastore-rolling-in-bg

crimson/seastore: make RecordSubmitter::wait_available() idempotent

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 days agoMerge pull request #69214 from tchaikov/wip-cephadm-iscsi-gw
Kefu Chai [Mon, 1 Jun 2026 23:35:37 +0000 (07:35 +0800)]
Merge pull request #69214 from tchaikov/wip-cephadm-iscsi-gw

qa/cephadm: query iSCSI gateway FQDN from inside the container

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
3 days agoMerge pull request #69026 from jamiepryde/ec-profile-deprecation-warning
SrinivasaBharathKanta [Mon, 1 Jun 2026 23:19:05 +0000 (04:49 +0530)]
Merge pull request #69026 from jamiepryde/ec-profile-deprecation-warning

Add health warning for deprecated EC plugins and techniques

3 days agoMerge PR #68362 into main
Patrick Donnelly [Mon, 1 Jun 2026 19:33:50 +0000 (15:33 -0400)]
Merge PR #68362 into main

* refs/pull/68362/head:
doc: squid 19.2.4 release notes

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
3 days agoMerge pull request #66936 from jacquesh/remove-text-output-from-rados-bench-json
Radoslaw Zarzynski [Mon, 1 Jun 2026 19:30:25 +0000 (21:30 +0200)]
Merge pull request #66936 from jacquesh/remove-text-output-from-rados-bench-json

tools/rados: Remove plain text snippets from rados bench JSON output

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 days agoMerge pull request #69061 from jzhu116-bloomberg/wip-70346
Radoslaw Zarzynski [Mon, 1 Jun 2026 19:00:45 +0000 (21:00 +0200)]
Merge pull request #69061 from jzhu116-bloomberg/wip-70346

osd: unregister admin socket commands in fast shutdown

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 days agocommon/options, os/bluestore: add debug option to force bluefs files onto slow device 68430/head
Jaya Prakash [Thu, 7 May 2026 12:09:07 +0000 (12:09 +0000)]
common/options, os/bluestore: add debug option to force bluefs files onto slow device

Fixes: https://tracker.ceph.com/issues/74319
Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
3 days agoos/bluestore: start/stop BlueFS spillover cleaner on config change
Jaya Prakash [Mon, 16 Mar 2026 19:22:49 +0000 (19:22 +0000)]
os/bluestore: start/stop BlueFS spillover cleaner on config change

Fixes: https://tracker.ceph.com/issues/74319
Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
(cherry picked from commit dc768b782d54cc6a5dee29a9c4f358e8b9183aa6)

3 days agoos/bluestore: migrated files in 128MB chunks
Jaya Prakash [Fri, 15 May 2026 17:07:32 +0000 (17:07 +0000)]
os/bluestore: migrated files in 128MB chunks

Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
3 days agoos/bluestore: Spillover Cleaner Thread implementation in BlueFS
Jaya Prakash [Thu, 16 Apr 2026 15:30:28 +0000 (15:30 +0000)]
os/bluestore: Spillover Cleaner Thread implementation in BlueFS

Fixes: https://tracker.ceph.com/issues/74319
Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
3 days agocommon/options: add bluefs_spillover_cleaner option
Jaya Prakash [Mon, 16 Mar 2026 19:23:05 +0000 (19:23 +0000)]
common/options: add bluefs_spillover_cleaner option

Fixes: https://tracker.ceph.com/issues/74319
Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
3 days agoqa: install nvme-cli only if distro remains rocky10 69222/head
Patrick Donnelly [Mon, 1 Jun 2026 15:37:23 +0000 (11:37 -0400)]
qa: install nvme-cli only if distro remains rocky10

Notably, only include these the `dnf install` commands if the distro is
not overriden by some other mechanism (like cephfs kernel overrides).

This is only a problem for tentacle presently as the k-stock kernel will
override with centos9.

Fixes: https://tracker.ceph.com/issues/77037
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
3 days agoMerge pull request #69083 from fultheim/adaptive-cleaner-thresholds
Matan Breizman [Mon, 1 Jun 2026 16:12:08 +0000 (19:12 +0300)]
Merge pull request #69083 from fultheim/adaptive-cleaner-thresholds

crimson/os/seastore: adaptive cleaner thresholds from observed workload

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
3 days agoscript/backport-create-issue: catch errors during traversal 69219/head
Patrick Donnelly [Mon, 1 Jun 2026 14:29:13 +0000 (10:29 -0400)]
script/backport-create-issue: catch errors during traversal

A ServerError shouldn't prevent all forward progress.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
4 days agoMerge pull request #69203 from tchaikov/wip-libcephfs-test
Kefu Chai [Mon, 1 Jun 2026 14:08:36 +0000 (22:08 +0800)]
Merge pull request #69203 from tchaikov/wip-libcephfs-test

test/libcephfs: reduce SnapDiffDeletionRecreation bulk_count on Windows

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
4 days agoMerge pull request #68775 from gardran/wip-gardran-fix-write-v2-deferred-counters
Igor Fedotov [Mon, 1 Jun 2026 13:58:53 +0000 (16:58 +0300)]
Merge pull request #68775 from gardran/wip-gardran-fix-write-v2-deferred-counters

os/bluestore: do not increment *issued_deferred* counters twice

Reviewed-by: Jaya Prakash <jayaprakash@ibm.com>
Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
4 days agoMerge pull request #69168 from guits/fix-osd-type
Guillaume Abrioux [Mon, 1 Jun 2026 13:49:09 +0000 (15:49 +0200)]
Merge pull request #69168 from guits/fix-osd-type

cephadm: cephadm: omit --osd-type classic for older ceph-volume

4 days agoMerge PR #69152 into main
Patrick Donnelly [Mon, 1 Jun 2026 13:33:25 +0000 (09:33 -0400)]
Merge PR #69152 into main

* refs/pull/69152/head:
script/backport-create-issue: update custom field name

Reviewed-by: Redouane Kachach <rkachach@redhat.com>
4 days agocmake: link legacy-option-headers from targets that use legacy options 69215/head
Sun Yuechi [Mon, 1 Jun 2026 06:52:03 +0000 (14:52 +0800)]
cmake: link legacy-option-headers from targets that use legacy options

The *_legacy_options.h headers that define the legacy ConfigValues
members are generated at build time by y2c.py. Linking the
legacy-option-headers INTERFACE library adds an order dependency on
that step. A few targets reference legacy members without linking it,
so under a parallel build they can be compiled before the headers
exist and fail with "class ConfigValues has no member ...":

  neorados_objs, neorados_api_obj - objecter_inflight_ops,
      ms_die_on_unhandled_msg (via Objecter.h / Messenger.h)
  ceph_zstd - compressor_zstd_level
  heap_profiler - log_file

Link legacy-option-headers from them, as ceph_lz4, ceph_snappy and
jerasure_utils already do.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
4 days agoMerge pull request #67889 from gardran/wip-gardran-no-seq-bytes
Igor Fedotov [Mon, 1 Jun 2026 10:55:28 +0000 (13:55 +0300)]
Merge pull request #67889 from gardran/wip-gardran-no-seq-bytes

os/bluestore: avoid redundant map lookup for deferred op

Reviewed-by: Jaya Prakash <jayaprakash@ibm.com>
4 days agoos/bluestore: do not increment *issued_deferred* counter twice 68775/head
Garry Drankovich [Wed, 6 May 2026 16:19:45 +0000 (19:19 +0300)]
os/bluestore: do not increment *issued_deferred* counter twice
in write v2 mode.

_get_deferred_op() is already increasing performance counter on its own.

Signed-off-by: Garry Drankovich <garry.drankovich@clyso.com>
4 days agoqa/cephadm: query iSCSI gateway FQDN from inside the container 69214/head
Kefu Chai [Mon, 1 Jun 2026 10:40:06 +0000 (18:40 +0800)]
qa/cephadm: query iSCSI gateway FQDN from inside the container

rbd-target-api validates that the gateway hostname supplied by gwcli
matches the container's own socket.getfqdn(). Running the same call on
the host can return a different value when the host and container resolve
names differently (e.g. on Rocky 10), causing gateway creation to fail
with HTTP 400 and all subsequent gwcli configuration to break silently.

Query the FQDN from inside the iSCSI container directly so the value is
always consistent with what rbd-target-api expects. This also removes the
"run twice" workaround, which was compensating for host-side DNS
warm-up flakiness rather than addressing the underlying mismatch.

Fixes: https://tracker.ceph.com/issues/74577
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
4 days agoMerge pull request #69143 from guits/fix-cv-vg-lv-batch
Guillaume Abrioux [Mon, 1 Jun 2026 07:57:17 +0000 (09:57 +0200)]
Merge pull request #69143 from guits/fix-cv-vg-lv-batch

ceph-volume: retry lvs after empty result and "devices file is missing" stderr

4 days agotest/libcephfs: reduce SnapDiffDeletionRecreation bulk_count on Windows 69203/head
Kefu Chai [Mon, 1 Jun 2026 05:19:04 +0000 (13:19 +0800)]
test/libcephfs: reduce SnapDiffDeletionRecreation bulk_count on Windows

this test timed out on Windows. and HugeSnapDiffLargeDelta, at half
the file count, passed in 508 seconds on the same run, suggesting this
test takes ~17 minutes on Windows -- beyond the test runner limit.

we haven't profiled the Windows client yet, but the likely culprit is
EventPoll, the Windows messenger backend, which scans the entire poll
array on every event_wait() and poll_ctl() call rather than using a
keyed data structure.

in this change, we reduce bulk_count to 1 << 12 on Windows. the unique
thing this test covers is the deletion-recreation pattern: a name that
exists as a file in snap1, gets deleted, and reappears as a directory in
snap2 -- it must show up in the diff with both snapids. 4096 produces
1024 such pairs, which is enough to exercise that logic. multi-fragment
snapdiff is already covered by HugeSnapDiffLargeDelta, which derives its
file count from mds_bal_split_size and mds_bal_fragment_fast_factor
explicitly to trigger fragmentation.

Fixes: https://tracker.ceph.com/issues/77015
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
4 days agoMerge pull request #69135 from VallariAg/wip-nvmeof-teuthology-mon-conf
Vallari Agrawal [Sun, 31 May 2026 16:00:05 +0000 (21:30 +0530)]
Merge pull request #69135 from VallariAg/wip-nvmeof-teuthology-mon-conf

qa/suites/nvmeof: set beacon grace and connect panic

5 days agoMerge pull request #66500 from AliMasarweh/wip-alimasa-global-cors
Ali Masarwa [Sun, 31 May 2026 10:30:56 +0000 (13:30 +0300)]
Merge pull request #66500 from AliMasarweh/wip-alimasa-global-cors

RGW: add support for global CORS rule

Reviewed-by: Naman Munet <naman.munet@ibm.com>, Casey Bodley <cbodley@redhat.com>
5 days agoMerge pull request #69185 from sunyuechi/wip-with-system-spdk
Kefu Chai [Sun, 31 May 2026 10:26:14 +0000 (18:26 +0800)]
Merge pull request #69185 from sunyuechi/wip-with-system-spdk

cmake,blk/spdk: support WITH_SYSTEM_SPDK

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
5 days agoMerge pull request #68745 from Hezko/bugfix-13279
Hezko [Sun, 31 May 2026 08:04:07 +0000 (11:04 +0300)]
Merge pull request #68745 from Hezko/bugfix-13279

mgr/dashboard: fix listener add errors

5 days agoMerge pull request #69044 from xxhdx1985126/wip-seastore-rewrite-fix
Matan Breizman [Sun, 31 May 2026 07:20:36 +0000 (10:20 +0300)]
Merge pull request #69044 from xxhdx1985126/wip-seastore-rewrite-fix

crimson/os/seastore: force rewrite transactions to conflict with others if it involve insertions on the lba tree

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
5 days agocmake: add WITH_SYSTEM_SPDK to link a system-installed SPDK 69185/head
Sun Yuechi [Sat, 30 May 2026 06:15:12 +0000 (14:15 +0800)]
cmake: add WITH_SYSTEM_SPDK to link a system-installed SPDK

By default ceph builds the bundled src/spdk fork via BuildSPDK. Add a
WITH_SYSTEM_SPDK option that instead locates a distro-provided SPDK
through a new Findspdk.cmake (pkg-config based, modelled on
Finddpdk.cmake), exposing the same spdk::spdk target.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
5 days agoblk/spdk: support both old and new spdk_env_opts member names
Sun Yuechi [Sat, 30 May 2026 06:11:11 +0000 (14:11 +0800)]
blk/spdk: support both old and new spdk_env_opts member names

SPDK 21.01 renamed two struct spdk_env_opts members: pci_whitelist ->
pci_allowed and master_core -> main_core. Guard the assignments in
NVMEDevice with SPDK_VERSION.

pci_whitelist -> pci_allowed:  https://github.com/spdk/spdk/commit/4a6a2824119b
master_core -> main_core:      https://github.com/spdk/spdk/commit/fe137c8970bf

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
6 days agorgw/posix: fix event replay in BucketCache ev_loop 69183/head
Kefu Chai [Sat, 30 May 2026 07:49:18 +0000 (15:49 +0800)]
rgw/posix: fix event replay in BucketCache ev_loop

evec is never cleared after each n->notify() call, so events accumulate
across iterations of ev_loop's inner for loop. Each notify() call
receives not just the current event but all events dispatched in earlier
iterations too.

Add evec.clear() after each n->notify() call.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
6 days agorgw/posix: fix refcount leaks in BucketCache
Kefu Chai [Sat, 30 May 2026 07:49:14 +0000 (15:49 +0800)]
rgw/posix: fix refcount leaks in BucketCache

get_bucket(FLAG_LOCK) increments the refcount via lru.ref(), but three
paths returned without the paired lru.unref(): the "do nothing" early
return and the INVALIDATE branch in notify(), and unconditionally in
invalidate_bucket(). Entries hitting these paths accumulated inflated
refcounts that the LRU could never reclaim, leaking during
~BucketCache() → cache.drain().

Replace the manual lru.unref() calls in notify(), add_entry(),
remove_entry(), invalidate_bucket(), and list_bucket() with a scope_guard
declared before unique_lock. Since the guard outlives ulk, it fires after
the mutex is released on all paths, including exceptions from
getRWTransaction() or txn->commit() (e.g. MDB_MAP_FULL, EIO) that the
manual calls never reached.

list_bucket() also had a bare b->mtx.unlock() after fill(); replace it
with unique_lock{..., std::adopt_lock} so a throw from fill() releases
the mutex too.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
6 days agoqa/workunits/rados: fetch files via GitHub instead of git.ceph.com 69180/head
Laura Flores [Fri, 29 May 2026 21:45:17 +0000 (16:45 -0500)]
qa/workunits/rados: fetch files via GitHub instead of git.ceph.com

The current method fetches files from git.ceph.com, which is unreliable
and sometimes causes the file to contain HTML output instead of the C++ code.

Fetching from GitHub is a more reliable way to get the C++ code.

Fixes: https://tracker.ceph.com/issues/68669
Signed-off-by: Laura Flores <lflores@ibm.com>
6 days agoMerge pull request #68934 from cbodley/wip-76578
Casey Bodley [Fri, 29 May 2026 17:52:00 +0000 (13:52 -0400)]
Merge pull request #68934 from cbodley/wip-76578

rgw/beast: add ssl_ciphersuites option for tls 1.3

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 days agorgw/posix: remove path from table names 69174/head
Nithya Balachandran [Thu, 16 Apr 2026 10:01:50 +0000 (10:01 +0000)]
rgw/posix: remove path from table names

Removes the DB directory path from the table names.

Signed-off-by: Nithya Balachandran <nithya.balachandran@ibm.com>
6 days agorgw/posix: implement the quota feature
Nithya Balachandran [Tue, 24 Mar 2026 08:17:52 +0000 (08:17 +0000)]
rgw/posix: implement the quota feature

Implement the quota feature for the POSIX driver.

Signed-off-by: Nithya Balachandran <nithya.balachandran@ibm.com>
6 days agoRGW | standalone: add support for accounts in dbstore
Ali Masarwa [Sun, 12 Apr 2026 13:07:38 +0000 (16:07 +0300)]
RGW | standalone: add support for accounts in dbstore

Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
6 days agoradosgw-admin: Remove dependence on RADOS
Samarah Uriarte [Tue, 24 Mar 2026 15:21:00 +0000 (15:21 +0000)]
radosgw-admin: Remove dependence on RADOS

Signed-off-by: Samarah Uriarte <samarah.uriarte@ibm.com>
6 days agoRGW POSIX - Fix POSIX unittest
Daniel Gryniewicz [Mon, 30 Mar 2026 14:49:47 +0000 (10:49 -0400)]
RGW POSIX - Fix POSIX unittest

Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
6 days agorgw/posix: fix cached size of uploaded objects
Matt Benjamin [Tue, 24 Mar 2026 18:10:28 +0000 (14:10 -0400)]
rgw/posix: fix cached size of uploaded objects

Moves file open and stat into the (atomic) link step, so size
is correctly interned in the cache.  Fix suggested by dang.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 days agorgw/posix: fix crash in radosgw-admin
Nithya Balachandran [Tue, 24 Mar 2026 11:33:15 +0000 (11:33 +0000)]
rgw/posix: fix crash in radosgw-admin

The POSIXBucket copy constructor incorrectly calls .get() on a
on a temporary unique_ptr returned by clone(), causing immediate
deletion of the Directory object. This leaves a dangling pointer
that triggers a segfault during destruction.

Signed-off-by: Nithya Balachandran <nithya.balachandran@ibm.com>
6 days agocohort_lru: keep strict discard, but from LRU
Matt Benjamin [Wed, 26 Nov 2025 23:17:02 +0000 (18:17 -0500)]
cohort_lru: keep strict discard, but from LRU

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 days agoposixdriver: properly destruct BucketCacheEntry objects
Matt Benjamin [Wed, 26 Nov 2025 14:00:03 +0000 (09:00 -0500)]
posixdriver:  properly destruct BucketCacheEntry objects

* avoids leak of database handles during eviction

Also adds missing return-ref in invalidate_entry--this would
leak a cache entry.

With this change, we can now tolerate indefinite s3-test runs
wit rgw_posix_cache_max_buckets=100.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 days agocohort_lru: crash fix and reduce lock contention
Matt Benjamin [Tue, 25 Nov 2025 17:41:37 +0000 (12:41 -0500)]
cohort_lru: crash fix and reduce lock contention

Fixes crash induced by taking the address of the last element
of an empty intrusive list (!).

Also, introduces active queue, reducing potential for lock
contention in evict_block():

* entries are tracked on lane::active_queue when lru_refcnt > 1
** on some lane::q otherwise

Object transition between queues when lru_refcnt changes value--
a value of 0 triggers deletion, as before.

Fixes: https://tracker.ceph.com/issues/73992
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 days agoposixdriver: can move buffer::list leaving scope
Matt Benjamin [Fri, 13 Feb 2026 20:29:58 +0000 (15:29 -0500)]
posixdriver: can move buffer::list leaving scope

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 days agoposixdriver: add provisional manifest
Matt Benjamin [Wed, 4 Feb 2026 02:05:47 +0000 (21:05 -0500)]
posixdriver: add provisional manifest

initially, it is just used to remember the multipart layout, but
likely will see other use.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 days agoposixdriver: fix cksum_type, flags propagation
Matt Benjamin [Tue, 3 Feb 2026 22:12:22 +0000 (17:12 -0500)]
posixdriver: fix cksum_type, flags propagation

Posixdriver doesn't serialize POSIXMultipartUpload, but rather a
member mp_obj of type POSIXMPObj--so to avoid losing the latter's
inherited cksum_type and cksum_flags members (which are already
copied in), copy them out in POSIXMultiPartUpload::get_info() which
we need to call to copy out dest_placement anyway.

(oops, chksum_type was copied in, but not cksum_flags)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>