Whamcloud - gitweb
LU-8066 obd: update udev event handling 24/34624/5
authorJames Simmons <uja.ornl@yahoo.com>
Tue, 9 Apr 2019 17:04:30 +0000 (13:04 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Apr 2019 03:38:05 +0000 (03:38 +0000)
commitb0d162390ad63d9dff12295a19022f3152592f7c
tree542621883f10860db5d00510c0e62e2870c0697f
parent546e83e5c6c78bb1e90cf4b5467fd1d0e5df232a
LU-8066 obd: update udev event handling

Add a timestamp that users have requested so it can be recorded
then a sysfs lustre file changed. Second the PARAM field only
was created with the kobject source and parent name but the
sysfs file could be deeper in the lustre sysfs tree. Add handling
for deeper sysfs tree paths.

Change-Id: I46d4861addd16a6d5b6c28ad8bc2ce446e554d62
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/34624
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/obd_config.c