#18216 closed enhancement (fixed)
libblockdev-3.0
Reported by: | Bruce Dubbs | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 12.0 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
New major version.
Change History (10)
comment:1 by , 22 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 22 months ago
comment:3 by , 22 months ago
This is a new major version. When I tried to build with current instructions it failed due to missing libnvme.so. That can be overcome with passing --without-nvme. I am reluctant to add a new page to the book, but I really don't know what capabilities this library adds.
The only package we have that uses this one is udisks2. The only packages that use udisks2 are kf5 (opt for solid), gvfs (rec), gnome-control-center (req), and gnome-disk-utility (req).
The info I found for libnvme is:
"This is the libnvme development C library. libnvme provides type definitions for NVMe specification structures, enumerations, and bit fields, helper functions to construct, dispatch, and decode commands and payloads, and utilities to connect, scan, and manage nvme devices on a Linux system."
In src/plugins/nvme/nvme.c:
- SECTION: nvme
- @short_description: plugin for NVMe device reporting and management
I guess the question is whether to add yet another library to the book or just list this as an external optional library.
comment:4 by , 22 months ago
This library would add the capability of checking the health of an NVMe SSD (such as how many wear cycles it has left), as well as running commands directly on the controller of an NVMe SSD. It's similar to what sg3_utils does for SCSI/SATA drives
That being said though, I think we can probably go without it, though in the case of gnome-disk-utility it might be useful.
comment:5 by , 22 months ago
It seems keyutils is required now. It can be disabled with --without-crypto
but I'm not sure if it's a good idea.
comment:6 by , 22 months ago
Ooooops. Udisks2-2.10.0 requires libblockdev to be built with keyutils and libnvme, unless --disable-daemon
is used. And a Udisks2 installation w/o the daemon is essentially useless.
comment:7 by , 22 months ago
JSON-C, keyutils, d-bus are optional dependencies for libnvme. d-bus is not enabled automatically.
We can pass -Dlibdbus=auto
so d-bus will be pick up if installed.
comment:9 by , 22 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at commits
1e12131018 Add libnvme-1.5. a4013faf3b Update to libblockdev-3.0. f0454b5734 Update to udisks-2.10.0.
New major release of the libblockdev library. This release contains a large API overhaul, please check the documentation for full list of API changes.
Notable changes