Skip to content

Implement cache connect/disconnect#1760

Merged
robertbaldyga merged 6 commits into
Open-CAS:masterfrom
robertbaldyga:cache-disconnect
May 6, 2026
Merged

Implement cache connect/disconnect#1760
robertbaldyga merged 6 commits into
Open-CAS:masterfrom
robertbaldyga:cache-disconnect

Conversation

@robertbaldyga
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Implement a box service that allows to temporarily deposit
an exported object. It is useful for cas_cache module updates
without stopping the exported objects.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Allow to disconnect a cache completely without dismantling exported
objects and freeing the disks. The disconnect operation deposits all
the exp_objs in the cas_bd box service and sets them to freeze or
pass-through mode.

Once all the caches are disconnected, it is possible to unload cas_cache
module, while keeping all the /dev/casX-Y devices functional.

This mode is meant to be used for OpenCAS version upgrade.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
@robertbaldyga robertbaldyga merged commit 8a79bd3 into Open-CAS:master May 6, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant