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

Pass Vec<Segment> as &[Segment] #171

Merged
merged 1 commit into from
Sep 21, 2017

Conversation

mulkieran
Copy link
Member

These are really just representations of data, not things that should be
claimed. The segments are all cloneable.

Also, it should make error-chain easier, since the segments no longer
need to be moved in the same way.

Signed-off-by: mulhern amulhern@redhat.com

@mulkieran
Copy link
Member Author

See stratis-storage/stratisd#574 for usage.

@mulkieran mulkieran force-pushed the master-segments branch 2 times, most recently from 7d6b0ba to b6d224d Compare September 20, 2017 17:41
@mulkieran mulkieran requested review from agrover and trgill September 20, 2017 17:44
@mulkieran
Copy link
Member Author

@agrover @trgill review?

These are really just representations of data, not things that should be
claimed. The segments are all cloneable.

Also, it should make error-chain easier, since the segments no longer
need to be moved in the same way.

Signed-off-by: mulhern <amulhern@redhat.com>
@mulkieran
Copy link
Member Author

rebased.

@mulkieran
Copy link
Member Author

@agrover review?

@mulkieran
Copy link
Member Author

Blocks #163.

@agrover
Copy link
Contributor

agrover commented Sep 21, 2017

👍 , merging as last reviewer.

@agrover agrover merged commit 415ce49 into stratis-storage:master Sep 21, 2017
@mulkieran mulkieran deleted the master-segments branch September 21, 2017 18:16
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.

3 participants