mirror_zfs/module
LOLi cd47801828 Avoid WARN() from procfs on kstat collision
When we load a ZFS pool having spa_name equals to some existing kstat
we would have to create a duplicate entry, which procfs doesn't like.

For instance a ZFS pool named "zil" would have its kstat "txgs"
(module "zfs/zil") intalled under "/proc/spl/kstat/zfs/zil":
unfortunately we already have a kstat named "zil" (module "zfs")
installed in the same procfs location.

Avoid this issue by skipping the duplicate entry creation in procfs.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #628
2017-07-24 10:52:53 -07:00
..
spl Avoid WARN() from procfs on kstat collision 2017-07-24 10:52:53 -07:00
splat Linux 4.13 compat: wait queues 2017-07-23 19:32:14 -07:00
.gitignore Improve gitignore 2017-05-25 10:12:50 -07:00
Makefile.in Prevent rm modules.* when make install 2015-12-02 14:38:20 -08:00