On Sat, 20 Jan 2018 10:56:47 +0300 Andrei Borzenkov <arvidjaar@gmail.com> wrote:
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.
KERNEL[580813.701828] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc (block) ACTION=change DEVNAME=/dev/sdc DEVPATH=/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc DEVTYPE=disk DISK_MEDIA_CHANGE=1 MAJOR=8 MINOR=32 SEQNUM=11304 SUBSYSTEM=block KERNEL[580914.259870] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc (block) ACTION=change DEVNAME=/dev/sdc DEVPATH=/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc DEVTYPE=disk DISK_RO=0 MAJOR=8 MINOR=32 SEQNUM=11305 SUBSYSTEM=block KERNEL[580914.270359] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc (block) ACTION=change DEVNAME=/dev/sdc DEVPATH=/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc DEVTYPE=disk DISK_RO=1 MAJOR=8 MINOR=32 SEQNUM=11306 SUBSYSTEM=block KERNEL[581014.717657] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc (block) ACTION=change DEVNAME=/dev/sdc DEVPATH=/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc DEVTYPE=disk DISK_MEDIA_CHANGE=1 MAJOR=8 MINOR=32 SEQNUM=11307 SUBSYSTEM=block KERNEL[581115.206136] change /devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc (block) ACTION=change DEVNAME=/dev/sdc DEVPATH=/devices/pci0000:00/0000:00:0a.0/0000:01:06.0/host1/target1:0:3/1:0:3:0/block/sdc DEVTYPE=disk DISK_RO=0 MAJOR=8 MINOR=32 SEQNUM=11308 SUBSYSTEM=block -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org