Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
9223372036854775807
Description
Half of the OBD_NOTIFY_* flags are essentially useless but we still have code that used them. The useless ones are
OBD_NOTIFY_CREATE OBD_NOTIFY_CONNECT OBD_NOTIFY_SYNC_NONBLOCK OBD_NOTIFY_SYNC OBD_NOTIFY_CONFIG
- Server side OBDs do not implement o_notify and so the OBD_NOTIFY_CONFIG notification in server_start_targets() is useless and can be removed.
- The data parameter of obd_notify() and obd_notify_observer() may be removed.
- lov_notify() may be simplified by assuming that watched is not NULL.
- The OBD_NOTIFY_CONNECT notification in lov_connect() is useless and can be removed.
- The OBD_NOTIFY_ACTIVE notification in lmv_connect_mdc() is useless and can be rremoved.
- lco_flags is never checked in llite and can be removed.
- enum config_flags can be removed.