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

Update descriptions for vnops #8767

Merged
merged 1 commit into from
May 25, 2019
Merged

Update descriptions for vnops #8767

merged 1 commit into from
May 25, 2019

Conversation

kusumi
Copy link
Member

@kusumi kusumi commented May 20, 2019

Motivation and Context

Update descriptions for vnops.

Description

These descriptions are not uptodate with the code.

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)
  • Documentation (a change to man pages or other documentation)

Checklist:

These descriptions are not uptodate with the code.

Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
@codecov
Copy link

codecov bot commented May 21, 2019

Codecov Report

Merging #8767 into master will increase coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #8767      +/-   ##
==========================================
+ Coverage   78.63%   78.72%   +0.08%     
==========================================
  Files         381      381              
  Lines      117798   117798              
==========================================
+ Hits        92636    92740     +104     
+ Misses      25162    25058     -104
Flag Coverage Δ
#kernel 79.22% <ø> (-0.11%) ⬇️
#user 67.3% <ø> (+0.35%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9dc41a7...9c6b3aa. Read the comment docs.

@loli10K loli10K added the Status: Code Review Needed Ready for review and testing label May 21, 2019
@behlendorf behlendorf requested a review from ikozhukhov May 24, 2019 19:36
* cr - credentials of caller.
* flags - case flags
*
* OUT: ipp - Inode for new symbolic link.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add big comment about inode as Linux specific and provide references like (see comment above) about this specific?
ipp - it is inode Linux specific and known only to persons who looked it before.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I get what you mean, but this entire file is pretty much Linux specific in ZoL, with all the changes to be able to call VOP's from Linux VFS interface.

e.g. zfs_read() in ZoL has
IN: ip - inode of file to be read from.
whereas in FreeBSD
IN: vp - vnode of file to be read from.
so there are at least several comment diffs like this already.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is something we'll want to work on once the code can be built on multiple platforms.

Copy link
Contributor

@ikozhukhov ikozhukhov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, only one question/comment about inode Linux specific with reference where it possible

@behlendorf behlendorf added Status: Accepted Ready to integrate (reviewed, tested) and removed Status: Code Review Needed Ready for review and testing labels May 25, 2019
@behlendorf behlendorf merged commit 841a7a9 into openzfs:master May 25, 2019
allanjude pushed a commit to allanjude/zfs that referenced this pull request Jun 7, 2019
These descriptions are not uptodate with the code.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes openzfs#8767
allanjude pushed a commit to allanjude/zfs that referenced this pull request Jun 15, 2019
These descriptions are not uptodate with the code.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes openzfs#8767
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Aug 13, 2019
These descriptions are not uptodate with the code.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes openzfs#8767
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Aug 22, 2019
These descriptions are not uptodate with the code.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes openzfs#8767
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Aug 23, 2019
These descriptions are not uptodate with the code.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes openzfs#8767
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Sep 17, 2019
These descriptions are not uptodate with the code.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes openzfs#8767
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Sep 18, 2019
These descriptions are not uptodate with the code.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes openzfs#8767
tonyhutter pushed a commit that referenced this pull request Sep 26, 2019
These descriptions are not uptodate with the code.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #8767
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Ready to integrate (reviewed, tested)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants