]> git.proxmox.com Git - mirror_zfs.git/commit
Report ashift of L2ARC devices in zdb
authorGeorge Amanakis <gamanakis@gmail.com>
Mon, 2 Oct 2023 23:57:09 +0000 (01:57 +0200)
committerGitHub <noreply@github.com>
Mon, 2 Oct 2023 23:57:09 +0000 (16:57 -0700)
commitfe4d055b36b8f2ec64a8b67bf4fa6366e954f82f
tree282d8553f57dc20b2307d8f9c165679b06077ca8
parente13538856479ff79ca6642e53dddf8a593deb2c9
Report ashift of L2ARC devices in zdb

Commit 8af1104f does not actually store the ashift of cache devices in
their label. However, in order to facilitate reporting the ashift
through zdb, we enable this in the present commit. We also document
how the retrieval of the ashift is done.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #15331
cmd/zdb/zdb.c
module/zfs/vdev_label.c