Go to file
Ameer Hamza 0f9457d1dd linux/zvol_os.c: Fix max_discard_sectors limit for 6.8+ kernel
In kernels 6.8 and later, the zvol block device is allocated with
qlimits passed during initialization. However, the zvol driver does not
set `max_hw_discard_sectors`, which is necessary to properly
initialize `max_discard_sectors`. This causes the `zvol_misc_trim` test
to fail on 6.8+ kernels when invoking the `blkdiscard` command. Setting
`max_hw_discard_sectors` in the `HAVE_BLK_ALLOC_DISK_2ARG` case resolve
the issue.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Rob Norris <robn@despairlabs.com>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #16462
2024-08-22 15:43:34 -07:00
.github Move nodes into correct subgraphs 2024-01-29 14:53:29 -08:00
cmd zdb: dump ZAP_FLAG_UINT64_KEY ZAPs properly (#16334) 2024-07-17 14:54:47 -07:00
config Linux 6.11: avoid passing "end" sentinel to register_sysctl() 2024-08-22 15:42:14 -07:00
contrib Python 3.12 deprecated python3-distutils 2024-04-29 13:50:05 -07:00
etc etc/init.d: decide which variant to use at build time. 2024-04-22 09:28:06 -07:00
include Linux 6.11: add compat macro for page_mapping() 2024-08-22 15:42:14 -07:00
lib Use memset to zero stack allocations containing unions 2024-07-17 14:54:47 -07:00
man one-word manpage correction: snapshot->rollback (#16294) 2024-07-16 16:34:07 -07:00
module linux/zvol_os.c: Fix max_discard_sectors limit for 6.8+ kernel 2024-08-22 15:43:34 -07:00
rpm Linux 6.10 compat: fix rpm-kmod and builtin 2024-08-22 15:42:49 -07:00
scripts disable automatic dependency tracking for dkms builds 2024-07-17 14:54:47 -07:00
tests ZTS: Use /dev/urandom instead of /dev/random 2024-08-22 15:42:14 -07:00
udev udev: correctly handle partition #16 and later 2024-04-22 09:23:23 -07:00
.cirrus.yml
.editorconfig
.gitignore Packaging: Auto-generate changelog during configure (#15528) 2023-11-16 14:23:03 -08:00
.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 Packaging: Auto-generate changelog during configure (#15528) 2023-11-16 14:23:03 -08:00
copy-builtin
COPYRIGHT
LICENSE
Makefile.am
META Tag zfs-2.2.5 2024-08-02 18:03:09 -07:00
NEWS
NOTICE
README.md FreeBSD: Fix the build on FreeBSD 12 2023-11-28 15:19:07 -08:00
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.