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

[cstor#128] Remove tgt from zfs repository #32

Merged
merged 1 commit into from
Apr 4, 2018
Merged

Conversation

jkryl
Copy link

@jkryl jkryl commented Apr 3, 2018

Two things: removing tgt and changing guid tests and code. Now we compare reported guids with real guids as reported by zpool and zfs commands. I have found out that there are two types of guids for dataset: fsid_guid and guid. fsid guid is guaranteed to be unique but can change. If during creation or import of a dataset it is found out that there is another dataset with the same guid the guid of created/imported file system is changed. The other guid is more suitable for our purpose, since we require that it never changes. Since the zvol guid is used in conjunction with spa guid the danger of collision is very very unlikely.

And the last change is separation of gtest routines which are generally useful to a separate file which can be shared between gtest test suites.

@jkryl jkryl requested review from gila and vishnuitta April 3, 2018 15:07
Signed-off-by: Jan Kryl <jan.kryl@cloudbyte.com>
Copy link

@vishnuitta vishnuitta left a comment

Choose a reason for hiding this comment

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

changes are good

@jkryl jkryl merged commit a3f9dee into zfs-0.7-release Apr 4, 2018
@jkryl jkryl deleted the remove-tgt branch April 4, 2018 08:39
jkryl pushed a commit that referenced this pull request Jun 26, 2018
* [GIT#31] zil_replay during open_dataset, flush API, fix for issue in uzfs_close_dataset
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