mirror_zfs/lib
наб 38f4d99f76 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 <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13330
2022-05-18 12:51:42 -07:00
..
libavl cppcheck: explicitly exclude kernel code from userspace checks 2022-05-10 10:20:55 -07:00
libefi autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libicp cppcheck: explicitly exclude kernel code from userspace checks 2022-05-10 10:20:55 -07:00
libnvpair autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libshare linux: libshare/nfs: don't do anything unless exportfs is available 2022-05-12 09:27:12 -07:00
libspl libspl/include: remove unused/empty headers 2022-05-18 12:10:43 -07:00
libtpool autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libunicode cppcheck: explicitly exclude kernel code from userspace checks 2022-05-10 10:20:55 -07:00
libuutil autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libzfs linux: libzfs: simplify module-loaded check 2022-05-18 12:51:42 -07:00
libzfs_core autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libzfsbootenv autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
libzpool Remove hw_serial, ddi_strtoul() 2022-05-13 10:15:31 -07:00
libzstd cppcheck: explicitly exclude kernel code from userspace checks 2022-05-10 10:20:55 -07:00
libzutil linux: libzutil: zfs_strip_path: only strip known prefixes 2022-05-16 15:56:57 -07:00
Makefile.am autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00