Go to file
Coleman Kane ea61e07413 Linux 5.16: bio_set_dev is no longer a helper macro
This change adds a confiugre check to determine if bio_set_dev is a
helper macro or not. If not, then the attempt to override its internal
call to bio_associate_blkg(), with a macro definition to our own
version, is no longer possible, as the compiler won't use it when
compiling the new inline function replacement implemented in the header.
This change also creates a new vdev_bio_set_dev() function that performs
the same work, and also performs the work implemented in
vdev_bio_associate_blkg(), as it is the only thing calling that function
in our code. Our custom vdev_bio_associate_blkg() is now only compiled
if the bio_set_dev() is a macro in the Linux headers.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #12819
2021-12-07 13:14:23 -08:00
.github Strip colons from all test result filenames 2021-12-06 12:23:02 -08:00
cmd zed: Control NVMe fault LEDs 2021-11-05 07:51:21 -07:00
config Linux 5.16: bio_set_dev is no longer a helper macro 2021-12-07 13:14:23 -08:00
contrib Fix plymouth passphrase prompt with dracut 2021-06-29 13:14:49 -07:00
etc systemd: import: expand $ZPOOL_IMPORT_OPTS correctly 2021-06-15 16:56:53 -07:00
include Linux 5.16 compat: asm/fpu/xcr.h is new location for xgetbv/xsetbv 2021-12-07 13:14:23 -08:00
lib Upgrade to libabigail 2.0.0 2021-11-05 07:59:40 -07:00
man Fix lseek(SEEK_DATA/SEEK_HOLE) mmap consistency 2021-11-05 08:08:55 -07:00
module Linux 5.16: bio_set_dev is no longer a helper macro 2021-12-07 13:14:23 -08:00
rpm Correct a flaw in the Python 3 version checking (#12636) 2021-11-01 14:54:47 -07:00
scripts Add zfs-test facility to automatically rerun failing tests 2021-12-06 12:22:43 -08:00
tests tests/file_check: remove unused variable 2021-12-06 13:52:34 -08:00
udev Udev rules: use match (==) rather than assign (=) for PROGRAM 2021-09-14 12:23:10 -07:00
.editorconfig
.gitignore
.gitmodules
AUTHORS
autogen.sh
CODE_OF_CONDUCT.md
configure.ac Fix lseek(SEEK_DATA/SEEK_HOLE) mmap consistency 2021-11-05 08:08:55 -07:00
copy-builtin copy-builtin: posix conformance 2021-05-10 12:18:54 -07:00
COPYRIGHT
LICENSE
Makefile.am Upgrade to libabigail 2.0.0 2021-11-05 07:59:40 -07:00
META Tag 2.1.1 2021-09-15 13:37:50 -07:00
NEWS
NOTICE
README.md
RELEASES.md
TEST
zfs.release.in

img

OpenZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the OpenZFS community. This repository contains the code for running OpenZFS on Linux and FreeBSD.

codecov coverity

Official Resources

Installation

Full documentation for installing OpenZFS on your favorite operating system can be found at the Getting Started Page.

Contribute & Develop

We have a separate document with contribution guidelines.

We have a Code of Conduct.

Release

OpenZFS is released under a CDDL license. For more details see the NOTICE, LICENSE and COPYRIGHT files; UCRL-CODE-235197

Supported Kernels

  • The META file contains the officially recognized supported Linux kernel versions.
  • Supported FreeBSD versions are any supported branches and releases starting from 12.2-RELEASE.