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

reef: crimson/os/seastore: enable SMR HDD #53935

Merged
merged 2 commits into from Oct 17, 2023
Merged

Conversation

Matan-B
Copy link
Contributor

@Matan-B Matan-B commented Oct 11, 2023

backport of: #51355
See: https://gist.github.com/Matan-B/3366024c130634942d0b1227112663e1

this backport was staged using crimson-backport.sh which is based on ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

We can essentially support SMR devices(HDD) and ZNS device(SSDs)
which are both subsets of Zoned Block Devices under the same interface
ZNSSegmentManager with small changes in design. Hence changing the
interface name to a more contextual name ZBDSegmentManager.
This also helps to add SMR device support for crimson.

Signed-off-by: Aravind Ramesh <aravind.ramesh@wdc.com>
(cherry picked from commit 7fbdeab)
SMR HDDs are also zoned block devices similar to ZNS SSDs. SMR
devices have 2 types of zones named as conventional zones which are
random writeable and sequentially-write-required zones, which are
sequentially writable and lend themselves to zone operations like
ZNS SSD zones.

Conventional zones do not respond to zone operations, so to enable
crimson-osd to use SMR HDDs, for now, we don't consider the
conventional zones which generally make up a very small percentage
of the drive capacity.

Signed-off-by: Aravind Ramesh <aravind.ramesh@wdc.com>
(cherry picked from commit 355ffa4)
@Matan-B Matan-B requested a review from a team as a code owner October 11, 2023 10:35
@Matan-B Matan-B added this to the reef milestone Oct 11, 2023
@Matan-B Matan-B changed the title reef: null reef: crimson/os/seastore: enable SMR HDD Oct 11, 2023
@Matan-B Matan-B merged commit e41e899 into ceph:reef Oct 17, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants