aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zpool/zpool_main.c
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-04-14 23:30:41 +0200
committerBrian Behlendorf <[email protected]>2022-05-18 12:51:42 -0700
commit38f4d99f769efbb472ab3c35558700163e4f023c (patch)
tree720cef5d371484596b80d22fa1e42ce15c5cdd67 /cmd/zpool/zpool_main.c
parent89e81bc6adf58ec442ddaa23e629bf888bc55488 (diff)
linux: libzfs: simplify module-loaded check
The short-path is now one access() call, we always modprobe zfs (ZFS_MODULE_LOADING which doesn't use the libzfs boolean parsing is gone), and we use a simple inotify IN_CREATE loop with a timerfd timeout rather than 10ms kernel-style polling There's one substantial difference: ZFS_MODULE_TIMEOUT=-1 now means "never give up", rather than "wait 10 minutes" Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13330
Diffstat (limited to 'cmd/zpool/zpool_main.c')
0 files changed, 0 insertions, 0 deletions