Project

General

Profile

Actions

Bug #7392

closed

remove event channel support from lofi and implement lofi_devlink_cache.

Added by Toomas Soome over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
driver - device drivers
Start date:
2016-09-18
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

As it appeared, the event channels are local zone aware and since local zones do load lofi module automatically, it will create race in eventchannel teardown on zone halt. Therefore we can not use events directly from lofi driver, but have to extract device ADD/REMOVE events early enough to make sure this extraction happens in global zone, and let lofi module to access this information by simple query.

Since devfsadm events are received by modctl, I did implement the device link cache in modctl (as private interface), and allow lofi to access it.

https://www.illumos.org/rb/r/218/

Actions

Also available in: Atom PDF