daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
36e8a3
From c16785e970b83590fc9de4ea0f7e410470d88db5 Mon Sep 17 00:00:00 2001
36e8a3
From: Vojtech Trefny <vtrefny@redhat.com>
36e8a3
Date: Tue, 4 Dec 2018 16:47:36 +0100
36e8a3
Subject: [PATCH] rules: watch metadata changes on DASD devices
36e8a3
36e8a3
To make sure the change event is emitted and udev db is updated
36e8a3
after metadata changes.
36e8a3
36e8a3
(cherry picked from commit 38397c8ce044fdc0138c9919168a856c0e16f720)
36e8a3
36e8a3
Resolves: #1638676
36e8a3
---
36e8a3
 rules/60-block.rules | 2 +-
36e8a3
 1 file changed, 1 insertion(+), 1 deletion(-)
36e8a3
36e8a3
diff --git a/rules/60-block.rules b/rules/60-block.rules
4bff0a
index 343fc06f85..a1458e9188 100644
36e8a3
--- a/rules/60-block.rules
36e8a3
+++ b/rules/60-block.rules
36e8a3
@@ -8,4 +8,4 @@ ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_
36e8a3
 ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST=="block", ATTR{block/*/uevent}="change"
36e8a3
 
36e8a3
 # watch metadata changes, caused by tools closing the device node which was opened for writing
36e8a3
-ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*|xvd*|pmem*|mmcblk*", OPTIONS+="watch"
36e8a3
+ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*|xvd*|pmem*|mmcblk*|dasd*", OPTIONS+="watch"