Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zfs-create(8): ZFS for swap: caution, clarity #16893

Open
wants to merge 2 commits into
base: zfs-2.1-release
Choose a base branch
from

Conversation

makhomed
Copy link

zfs-create(8): ZFS for swap: caution, clarity

Make the section heading more generic (the section relates to ZFS files as well as ZFS volumes).

Swapping to a ZFS volume is prone to deadlock. Remove the related instruction, direct readers to OpenZFS FAQ. Related, but not linked from within the manual page:

https://openzfs.github.io/openzfs-docs/Project%20and%20Community/FAQ.html#using-a-zvol-for-a-swap-device-on-linux (Using a zvol for a swap device on Linux).

Motivation and Context

Fixes issue #16891

Description

Backport patch from 6c29422 to branch 2.1-release

How Has This Been Tested?

man page updated only, no code changes.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

zfs-create(8): ZFS for swap: caution, clarity
Make the section heading more generic (the section relates to ZFS files
as well as ZFS volumes).

Swapping to a ZFS volume is prone to deadlock. Remove the related
instruction, direct readers to OpenZFS FAQ. Related, but not linked
from within the manual page:

<https://openzfs.github.io/openzfs-docs/Project%20and%20Community/FAQ.html#using-a-zvol-for-a-swap-device-on-linux>
(Using a zvol for a swap device on Linux).

Signed-off-by: Hennadii Makhomed <[email protected]>
…date

zfs-create(8): ZFS for swap: caution, clarity
@gmelikov
Copy link
Member

@makhomed such backports should be at least as git cherry-pick with all info about original authors (see that full commit message is here with original authors https://github.com/openzfs/zfs/pull/16781/commits ) , and let's add info about 2.1 release into PR title. And "Merge pull request" is not needed here too, you may drop it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants