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

ZFS Snapshot Alias #640

Closed
wants to merge 5 commits into from
Closed

ZFS Snapshot Alias #640

wants to merge 5 commits into from

Conversation

pyavdr
Copy link
Contributor

@pyavdr pyavdr commented Apr 5, 2012

With Oracle Solaris 11 convenient use of "zfs snap" is introduced, while "zfs snapshot" is still possible.

@rlaager
Copy link
Member

rlaager commented Apr 9, 2012

Solaris 11 also supports zfs list -t snap, which trips me up all the time on Linux.

behlendorf pushed a commit to behlendorf/zfs that referenced this pull request Apr 11, 2012
Add support for the `zfs list -t snap` alias which is available under
Oracle Solaris 11.

Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#640
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request May 21, 2018
taskq_seq_show_impl walks the tq_active_list to show the tqent_func and
tqent_arg. However for taskq_dispatch_ent, it's very likely that the
task entry will be freed during the function call, and causes a
use-after-free bug.

To fix this, we duplicate the task entry to an on-stack struct, and
assign it instead to tqt_task. This way, the tq_lock alone will
guarantee its safety.

Reviewed-by: Tim Chase <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Chunwei Chen <[email protected]>
Closes openzfs#638 
Closes openzfs#640
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