Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for flash-only bcache (with ABI compatibility) #607

Merged
merged 8 commits into from Jan 30, 2019

Conversation

joseivanlopez
Copy link
Contributor

PBI: https://trello.com/c/T7taTEix/606-5-use-the-bcache-command-for-probing

This PR adds support for probing so-called "Flash-only" Bcache devices. Initially, another PR #603 was proposed. Although API offered by #603 might be more precise (IMHO), it breaks the ABI compatibility due to the Bcache API is modified.

Due to we need to preserve ABI compatibility during the whole SLE15 cycle, another approach has been implemented here, where the ABI compatibility is kept.

PR #603 should be taken into account for the future, when ABI changes will be allowed (i.e., for SLE16).

Note for reviewers: actions to create/delete Flash-only Bcache devices is out of scope. That will come with another PBI.

@joseivanlopez joseivanlopez changed the title [WIP] Add support for flash-only bcache (with ABI compatibility) Add support for flash-only bcache (with ABI compatibility) Jan 29, 2019
storage/Devices/Bcache.cc Outdated Show resolved Hide resolved
storage/Devices/Bcache.h Outdated Show resolved Hide resolved
storage/Devices/Bcache.h Outdated Show resolved Hide resolved
@aschnell
Copy link
Member

The minor library version must be increased (LIBVERSION is 1.7.0).

@aschnell
Copy link
Member

LGTM

@joseivanlopez joseivanlopez merged commit 8f4000c into openSUSE:master Jan 30, 2019
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.

None yet

2 participants