zfs/contrib
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
..
bash_completion.d contrib/bash_completion.d: fix error spew from __zfs_match_snapshot() 2021-12-07 12:30:10 -08:00
bpftrace Pass `--enable=all` to shellcheck within contrib/ 2021-11-30 10:23:10 -08:00
dracut Pass `--enable=all` to shellcheck within contrib/ 2021-11-30 10:23:10 -08:00
initramfs Pass `--enable=all` to shellcheck within contrib/ 2021-11-30 10:23:10 -08:00
intel_qat Add intel_QAT patches 2020-09-30 13:17:30 -07:00
pam_zfs_key zfs list: Allow more fields in ZFS_ITER_SIMPLE mode 2021-12-16 02:15:06 +00:00
pyzfs Add `const` to nvlist functions to properly expose their real behavior 2021-12-06 18:19:13 -07:00
zcp Fix contrib/zcp/Makefile.am 2019-10-30 12:37:49 -07:00
Makefile.am Pass `--enable=all` to shellcheck within contrib/ 2021-11-30 10:23:10 -08:00