zfs/contrib/pam_zfs_key
Allan Jude 9a9e2e343d zfs list: Allow more fields in ZFS_ITER_SIMPLE mode
If the fields to be listed and sorted by is constrained
to those populated by dsl_dataset_fast_stat(), then
zfs list is much faster, as it does not need to open each
objset and reads its properties.

A previous optimization by Pawel Dawidek
(0cee24064a) took advantage
of this to make listing snapshot names sorted only by name
much faster.

However, it was limited to `-o name -s name`, this work
extends this optimization to work with:
  - name
  - guid
  - createtxg
  - numclones
  - inconsistent
  - redacted
  - origin
and could be further extended to any other properties
supported by dsl_dataset_fast_stat() or similar, that do
not require extra locking or reading from disk.

Signed-off-by: Allan Jude <allan@klarasystems.com>
Sponsored-by: Klara Inc.
2021-12-16 02:15:06 +00:00
..
Makefile.am Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
pam_zfs_key.c zfs list: Allow more fields in ZFS_ITER_SIMPLE mode 2021-12-16 02:15:06 +00:00
zfs_key pam: implement a zfs_key pam module 2020-06-24 18:45:44 -07:00