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

Support building a zfs-modules-dkms sub package #823

Closed
wants to merge 1 commit into from
Closed

Support building a zfs-modules-dkms sub package #823

wants to merge 1 commit into from

Conversation

prakashsurya
Copy link
Member

This commit adds support for building a zfs-modules-dkms sub package
built around Dynamic Kernel Module Support. This is to allow building
packages using the DKMS infrastructure which is intended to ease the
burden of kernel version changes, upgrades, etc. By default, the dkms
sub package is disabled. This can be toggled by passing the
'--with kernel-dkms' parameter to rpmbuild.

Examples:

# To build packaged binaries against the kernal as well as a dkms package
$ rpmbuild --rebuild --with kernel --with kernel-dkms $SRPM

# To build only the dkms package
$ rpmbuild --rebuild --without kernel --with kernel-dkms $SRPM

Note: Only the RHEL 5/6 and CHAOS 5 distributions are supported for
building the dkms sub package.

Signed-off-by: Prakash Surya [email protected]
Issue #535

This commit adds support for building a zfs-modules-dkms sub package
built around Dynamic Kernel Module Support. This is to allow building
packages using the DKMS infrastructure which is intended to ease the
burden of kernel version changes, upgrades, etc. By default, the dkms
sub package is disabled. This can be toggled by passing the
'--with kernel-dkms' parameter to rpmbuild.

Examples:

    # To build packaged binaries against the kernal as well as a dkms package
    $ rpmbuild --rebuild --with kernel --with kernel-dkms $SRPM

    # To build only the dkms package
    $ rpmbuild --rebuild --without kernel --with kernel-dkms $SRPM

Note: Only the RHEL 5/6 and CHAOS 5 distributions are supported for
      building the dkms sub package.

Signed-off-by: Prakash Surya <[email protected]>
Issue #535
@behlendorf
Copy link
Contributor

Closing issue, the patch has been refreshed against the latest source and includes several fixes. See #830

@behlendorf behlendorf closed this Jul 14, 2012
pcd1193182 pushed a commit to pcd1193182/zfs that referenced this pull request Sep 26, 2023
In `zpool iostat -ow`, the `object_store` latencies are being counted in
one higher bucket than they should be (e.g. 512us instead of 256us),
making it hard to compared to the `object_agent` latencies.  The bucket
index is somewhat confusing due to the kernel's definition of
`L_HISTO()`.

This commit fixes the issue.
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