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

OpenZFS 7259 - DS_FIELD_LARGE_BLOCKS is unused #5544

Merged
merged 1 commit into from
Jan 3, 2017

Conversation

gmelikov
Copy link
Member

@gmelikov gmelikov commented Jan 1, 2017

Description

The DS_FIELD_LARGE_BLOCKS macro has been unused since the integration of
this patch: 241b541 Illumos 5959 - clean up per-dataset feature count code

References:
https://www.illumos.org/issues/7259
illumos/illumos-gate@faa8036

Motivation and Context

Code cleanup.

How Has This Been Tested?

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)

Checklist:

  • My code follows the ZFS on Linux code style requirements.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • Change has been approved by a ZFS on Linux member.

@mention-bot
Copy link

@gmelikov, thanks for your PR! By analyzing the history of the files in this pull request, we identified @ahrens, @nedbass and @behlendorf to be potential reviewers.

@behlendorf
Copy link
Contributor

@gmelikov thanks! We definitely want to make a point to pull in the latest OpenZFS patches early in the new year. The content of the patch looks good, but let's fix up the commit comment to be consistent with the other OpenZFS patches we've pulled in. There are porting instructions posted on the wiki for what should be included and an example commit.

It looks like your just missing a few tags: Authored by:, OpenZFS-issue:, OpenZFS-commit:. And then we've been using OpenZFS xxx instead of Illumos xxx for the subject.

@gmelikov gmelikov changed the title Illumos 7259 - DS_FIELD_LARGE_BLOCKS is unused OpenZFS 7259 - DS_FIELD_LARGE_BLOCKS is unused Jan 1, 2017
@gmelikov
Copy link
Member Author

gmelikov commented Jan 1, 2017

@behlendorf thanks for help, my first port. Fixed.

Authored by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Ported-by: George Melikov <mail@gmelikov.ru>

The DS_FIELD_LARGE_BLOCKS macro has been unused since the integration of
this patch: 241b541 Illumos 5959 - clean up per-dataset feature count code.

This patch simply removes this macro from dsl_dataset.h.

OpenZFS-issue: https://www.illumos.org/issues/7259
OpenZFS-commit: openzfs/openzfs@faa8036
@behlendorf behlendorf merged commit 24d42e2 into openzfs:master Jan 3, 2017
@gmelikov gmelikov deleted the illumos_7259 branch January 12, 2017 20:00
wli5 pushed a commit to wli5/zfs that referenced this pull request Feb 28, 2017
Authored by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported-by: George Melikov <mail@gmelikov.ru>

The DS_FIELD_LARGE_BLOCKS macro has been unused since the integration of
this patch: 241b541 Illumos 5959 - clean up per-dataset feature count code.

This patch simply removes this macro from dsl_dataset.h.

OpenZFS-issue: https://www.illumos.org/issues/7259
OpenZFS-commit: openzfs/openzfs@faa8036
Closes openzfs#5544
wli5 pushed a commit to wli5/zfs that referenced this pull request Feb 28, 2017
Authored by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported-by: George Melikov <mail@gmelikov.ru>

The DS_FIELD_LARGE_BLOCKS macro has been unused since the integration of
this patch: 241b541 Illumos 5959 - clean up per-dataset feature count code.

This patch simply removes this macro from dsl_dataset.h.

OpenZFS-issue: https://www.illumos.org/issues/7259
OpenZFS-commit: openzfs/openzfs@faa8036
Closes openzfs#5544
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.

4 participants