Skip to content

pyocf: Avoid disarm() attempt for not-registered volumes#926

Merged
robertbaldyga merged 1 commit intoOpen-CAS:masterfrom
robertbaldyga:composite-no-disarm
Feb 16, 2026
Merged

pyocf: Avoid disarm() attempt for not-registered volumes#926
robertbaldyga merged 1 commit intoOpen-CAS:masterfrom
robertbaldyga:composite-no-disarm

Conversation

@robertbaldyga
Copy link
Member

An example of such volume is composite_volume, which is internal OCF implementation, thus does not have pyocf specific features, like disarm(). It is also not registered in Volume.instances, because registration of pyocf volumes is done in open() callback, which for composite_volume is implemented internally in OCF.

Co-developed-by: Claude Opus 4.6 noreply@anthropic.com

An example of such volume is composite_volume, which is internal
OCF implementation, thus does not have pyocf specific features,
like disarm(). It is also not registered in Volume._instances_,
because registration of pyocf volumes is done in open() callback,
which for composite_volume is implemented internally in OCF.

Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
@robertbaldyga robertbaldyga merged commit 4044bdf into Open-CAS:master Feb 16, 2026
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