zfs/include/os/linux
Rob Norris 0dd0a2d302 linux/kstat: allow multi-level module names
Module names are mapped directly to directory names in procfs, but
nothing is done to create the intermediate directories, or remove them.
This makes it impossible to sensibly present kstats about sub-objects.

This commit loops through '/'-separated names in the full module name,
creates a separate module for each, and hooks them up with a parent
pointer and child counter, and then unrolls this on the other side when
deleting a module.

Sponsored-by: Klara, Inc.
Sponsored-by: Syneto
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
2024-05-22 09:41:55 +10:00
..
kernel/linux vdev_disk: disable flushes if device does not support it 2024-05-02 15:18:35 -07:00
spl linux/kstat: allow multi-level module names 2024-05-22 09:41:55 +10:00
zfs/sys zio: remove io_cmd and DKIOCFLUSHWRITECACHE 2024-04-11 17:17:11 -07:00
Makefile.am dkio: remove kernel dkio.h compatibility header 2024-04-11 17:17:18 -07:00