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

tree: use logical block size for lba #774

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Conversation

igaw
Copy link
Collaborator

@igaw igaw commented Jan 19, 2024

The kernel export the LBA size via the logical_block_size sysfs entry not the physical_block_size.

Fixes: 7959f52 ("tree: read all attributes from sysfs when available")
Fixes: linux-nvme/nvme-cli#2173

The kernel export the LBA size via the logical_block_size sysfs entry
not the physical_block_size.

Fixes: 7959f52 ("tree: read all attributes from sysfs when available")
Signed-off-by: Daniel Wagner <dwagner@suse.de>
@igaw igaw merged commit 5084885 into linux-nvme:master Jan 19, 2024
14 checks passed
@igaw igaw deleted the fix-lba branch January 19, 2024 12:11
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.

nvme list shows incorrect usage/size and format
1 participant