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

Support mdev as a udev alternative #638

Closed
ryao opened this issue Apr 4, 2012 · 1 comment
Closed

Support mdev as a udev alternative #638

ryao opened this issue Apr 4, 2012 · 1 comment
Labels
Type: Feature Feature request or new feature

Comments

@ryao
Copy link
Contributor

ryao commented Apr 4, 2012

Changes in upstream udev have prompted some Gentoo developers to begin moving toward using mdev in place of udev. They have asked me to make mdev rules for ZFS, although I don't have time for it at the moment.

I am filing an issue for this in advance so that people are aware of this possibility. It will take a while for me to get to this. Anyone familiar with mdev is more than welcome to write rules for ZFS to address this.

@ryao
Copy link
Contributor Author

ryao commented Apr 24, 2012

Looking at 90-zfs.rules, installing mdev-specific rules would need to be unnecessary, because the only thing that udev does is /sbin/modprobe zfs.

It also appears that mdev's rules are in a single configuration file, so it is not possible to install mdev-specific rules.

@ryao ryao closed this as completed Apr 24, 2012
behlendorf pushed a commit to behlendorf/zfs that referenced this issue 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 <tim@chase2k.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
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
Type: Feature Feature request or new feature
Projects
None yet
Development

No branches or pull requests

1 participant