Go to file
Tino Reichardt 55468ccc3e ZTS: small fix for SEEK_DATA/SEEK_HOLE tests (#16413)
Some libc's like uClibc lag the proper definition of SEEK_DATA
and SEEK_HOLE. Since we have only two files in ZTS which use
these definitons, let's define them by hand:

```
#ifndef SEEK_DATA
#define SEEK_DATA 3
#endif
#ifndef SEEK_HOLE
#define SEEK_HOLE 4
#endif
```

There should be no failures, because:
- FreeBSD has support for SEEK_DATA/SEEK_HOLE since FreeBSD 8
- Linux has it since Linux 3.1
- the libc will submit the parameters unchanged to the kernel

Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
2024-11-04 10:57:05 -08:00
.github Move nodes into correct subgraphs 2024-01-29 14:53:29 -08:00
cmd zed: Add deadman-slot_off.sh zedlet 2024-11-04 10:49:53 -08:00
config Linux 6.11: avoid passing "end" sentinel to register_sysctl() 2024-08-22 15:42:14 -07:00
contrib contrib: link zpool to zfs in bash-completion (#16376) 2024-08-26 15:10:16 -07:00
etc etc/init.d: decide which variant to use at build time. 2024-04-22 09:28:06 -07:00
include zfs_log: add flex array fields to log record structs 2024-11-04 10:34:48 -08:00
lib Use memset to zero stack allocations containing unions 2024-07-17 14:54:47 -07:00
man zed: Add deadman-slot_off.sh zedlet 2024-11-04 10:49:53 -08:00
module zed: Add deadman-slot_off.sh zedlet 2024-11-04 10:49:53 -08:00
rpm contrib: link zpool to zfs in bash-completion (#16376) 2024-08-26 15:10:16 -07:00
scripts disable automatic dependency tracking for dkms builds 2024-07-17 14:54:47 -07:00
tests ZTS: small fix for SEEK_DATA/SEEK_HOLE tests (#16413) 2024-11-04 10:57:05 -08:00
udev udev: correctly handle partition #16 and later 2024-04-22 09:23:23 -07:00
.cirrus.yml
.editorconfig
.gitignore
.gitmodules
.mailmap AUTHORS: refresh with recent new contributors (#16362) 2024-07-23 11:58:49 -07:00
AUTHORS AUTHORS: refresh with recent new contributors (#16362) 2024-07-23 11:58:49 -07:00
autogen.sh
CODE_OF_CONDUCT.md
configure.ac
copy-builtin
COPYRIGHT
LICENSE
Makefile.am
META Linux 6.11 compat: META 2024-11-04 10:34:48 -08: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.4-RELEASE.