-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 11196-dnode_next_offset
- Loading branch information
Showing
930 changed files
with
59,879 additions
and
26,072 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: OpenZFS Questions | ||
url: https://github.com/openzfs/zfs/discussions/new | ||
about: Ask the community for help | ||
- name: OpenZFS Community Support Mailing list (Linux) | ||
url: https://zfsonlinux.topicbox.com/groups/zfs-discuss | ||
about: Get community support for OpenZFS on Linux | ||
- name: FreeBSD Community Support Mailing list | ||
url: https://lists.freebsd.org/mailman/listinfo/freebsd-fs | ||
about: Get community support for OpenZFS on FreeBSD | ||
- name: OpenZFS on IRC | ||
url: https://webchat.freenode.net/#openzfs | ||
url: https://kiwiirc.com/nextclient/irc.libera.chat/openzfs | ||
about: Use IRC to get community support for OpenZFS |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: zfs-tests-functional | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
tests-functional-ubuntu: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [18.04, 20.04] | ||
runs-on: ubuntu-${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --yes -qq build-essential autoconf libtool gdb lcov \ | ||
git alien fakeroot wget curl bc fio acl \ | ||
sysstat mdadm lsscsi parted gdebi attr dbench watchdog ksh \ | ||
nfs-kernel-server samba rng-tools xz-utils \ | ||
zlib1g-dev uuid-dev libblkid-dev libselinux-dev \ | ||
xfslibs-dev libattr1-dev libacl1-dev libudev-dev libdevmapper-dev \ | ||
libssl-dev libffi-dev libaio-dev libelf-dev libmount-dev \ | ||
libpam0g-dev pamtester python-dev python-setuptools python-cffi \ | ||
python-packaging python3 python3-dev python3-setuptools python3-cffi \ | ||
libcurl4-openssl-dev python3-packaging | ||
- name: Autogen.sh | ||
run: | | ||
sh autogen.sh | ||
- name: Configure | ||
run: | | ||
./configure --enable-debug --enable-debuginfo | ||
- name: Make | ||
run: | | ||
make --no-print-directory -s pkg-utils pkg-kmod | ||
- name: Install | ||
run: | | ||
sudo dpkg -i *.deb | ||
# Update order of directories to search for modules, otherwise | ||
# Ubuntu will load kernel-shipped ones. | ||
sudo sed -i.bak 's/updates/extra updates/' /etc/depmod.d/ubuntu.conf | ||
sudo depmod | ||
sudo modprobe zfs | ||
# Workaround to provide additional free space for testing. | ||
# https://github.com/actions/virtual-environments/issues/2840 | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf "/usr/local/share/boost" | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
- name: Tests | ||
run: | | ||
/usr/share/zfs/zfs-tests.sh -v -s 3G | ||
- name: Prepare artifacts | ||
if: failure() | ||
run: | | ||
RESULTS_PATH=$(readlink -f /var/tmp/test_results/current) | ||
sudo dmesg > $RESULTS_PATH/dmesg | ||
sudo cp /var/log/syslog $RESULTS_PATH/ | ||
sudo chmod +r $RESULTS_PATH/* | ||
# Replace ':' in dir names, actions/upload-artifact doesn't support it | ||
for f in $(find $RESULTS_PATH -name '*:*'); do mv "$f" "${f//:/__}"; done | ||
- uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: Test logs Ubuntu-${{ matrix.os }} | ||
path: /var/tmp/test_results/20*/ | ||
if-no-files-found: ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: zfs-tests-sanity | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --yes -qq build-essential autoconf libtool gdb lcov \ | ||
git alien fakeroot wget curl bc fio acl \ | ||
sysstat mdadm lsscsi parted gdebi attr dbench watchdog ksh \ | ||
nfs-kernel-server samba rng-tools xz-utils \ | ||
zlib1g-dev uuid-dev libblkid-dev libselinux-dev \ | ||
xfslibs-dev libattr1-dev libacl1-dev libudev-dev libdevmapper-dev \ | ||
libssl-dev libffi-dev libaio-dev libelf-dev libmount-dev \ | ||
libpam0g-dev pamtester python-dev python-setuptools python-cffi \ | ||
python-packaging python3 python3-dev python3-setuptools python3-cffi \ | ||
python3-packaging libcurl4-openssl-dev | ||
- name: Autogen.sh | ||
run: | | ||
sh autogen.sh | ||
- name: Configure | ||
run: | | ||
./configure --enable-debug --enable-debuginfo | ||
- name: Make | ||
run: | | ||
make --no-print-directory -s pkg-utils pkg-kmod | ||
- name: Install | ||
run: | | ||
sudo dpkg -i *.deb | ||
# Update order of directories to search for modules, otherwise | ||
# Ubuntu will load kernel-shipped ones. | ||
sudo sed -i.bak 's/updates/extra updates/' /etc/depmod.d/ubuntu.conf | ||
sudo depmod | ||
sudo modprobe zfs | ||
# Workaround to provide additional free space for testing. | ||
# https://github.com/actions/virtual-environments/issues/2840 | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf "/usr/local/share/boost" | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
- name: Tests | ||
run: | | ||
/usr/share/zfs/zfs-tests.sh -v -s 3G -r sanity | ||
- name: Prepare artifacts | ||
if: failure() | ||
run: | | ||
RESULTS_PATH=$(readlink -f /var/tmp/test_results/current) | ||
sudo dmesg > $RESULTS_PATH/dmesg | ||
sudo cp /var/log/syslog $RESULTS_PATH/ | ||
sudo chmod +r $RESULTS_PATH/* | ||
# Replace ':' in dir names, actions/upload-artifact doesn't support it | ||
for f in $(find $RESULTS_PATH -name '*:*'); do mv "$f" "${f//:/__}"; done | ||
- uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: Test logs | ||
path: /var/tmp/test_results/20*/ | ||
if-no-files-found: ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: zloop | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
env: | ||
TEST_DIR: /var/tmp/zloop | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --yes -qq build-essential autoconf libtool gdb \ | ||
git alien fakeroot \ | ||
zlib1g-dev uuid-dev libblkid-dev libselinux-dev \ | ||
xfslibs-dev libattr1-dev libacl1-dev libudev-dev libdevmapper-dev \ | ||
libssl-dev libffi-dev libaio-dev libelf-dev libmount-dev \ | ||
libpam0g-dev \ | ||
python-dev python-setuptools python-cffi python-packaging \ | ||
python3 python3-dev python3-setuptools python3-cffi python3-packaging | ||
- name: Autogen.sh | ||
run: | | ||
sh autogen.sh | ||
- name: Configure | ||
run: | | ||
./configure --enable-debug --enable-debuginfo | ||
- name: Make | ||
run: | | ||
make --no-print-directory -s pkg-utils pkg-kmod | ||
- name: Install | ||
run: | | ||
sudo dpkg -i *.deb | ||
# Update order of directories to search for modules, otherwise | ||
# Ubuntu will load kernel-shipped ones. | ||
sudo sed -i.bak 's/updates/extra updates/' /etc/depmod.d/ubuntu.conf | ||
sudo depmod | ||
sudo modprobe zfs | ||
- name: Tests | ||
run: | | ||
sudo mkdir -p $TEST_DIR | ||
# run for 20 minutes to have a total runner time of 30 minutes | ||
sudo /usr/share/zfs/zloop.sh -t 1200 -l -m1 | ||
- name: Prepare artifacts | ||
if: failure() | ||
run: | | ||
sudo chmod +r -R $TEST_DIR/ | ||
- uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: Logs | ||
path: | | ||
/var/tmp/zloop/*/ | ||
!/var/tmp/zloop/*/vdev/ | ||
if-no-files-found: ignore | ||
- uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: Pool files | ||
path: | | ||
/var/tmp/zloop/*/vdev/ | ||
if-no-files-found: ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "scripts/zfs-images"] | ||
path = scripts/zfs-images | ||
url = https://github.com/zfsonlinux/zfs-images | ||
url = https://github.com/openzfs/zfs-images |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
Meta: 1 | ||
Name: zfs | ||
Branch: 1.0 | ||
Version: 2.0.0 | ||
Release: rc1 | ||
Version: 2.1.99 | ||
Release: 1 | ||
Release-Tags: relext | ||
License: CDDL | ||
Author: OpenZFS | ||
Linux-Maximum: 5.9 | ||
Linux-Maximum: 5.11 | ||
Linux-Minimum: 3.10 |
Oops, something went wrong.