20.01.2018 10:56, Andrei Borzenkov пишет:
20.01.2018 10:41, Paul Neuwirth пишет:
Well, I expect this does not require reboot. Can you confirm that the value is still 0?
# echo 0 > /sys/block/sdc/events_poll_msecs # cat /sys/block/sdc/events_poll_msecs 0 # udevadm monitor monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent
KERNEL[523053.824420] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc (block) KERNEL[523053.834769] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc (block) UDEV [523154.250415]
Could you run "udevadm monitor -kp" to show event properties, this may give hint?
But I start to suspect that it is indeed triggered by udev opening device.
Try stracing udevd systemctl show -p MainPID systemd-udevd.service strace -f -o /tmp/udevd.trace -p <Value of MainPID> for couple of events. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org