Dan Kenigsberg has uploaded a new change for review.

Change subject: Drop remnant CMD_LOWPRIO
......................................................................

Drop remnant CMD_LOWPRIO

Commit aba12f81be549 attempted to drop all CMD_LOWPRIO, but due to a sloppy
rebase, one reference remains.

Change-Id: I9f361a0de7a928cc7207221144d0a2b5396f413c
Signed-off-by: Dan Kenigsberg <[email protected]>
---
M vdsm/storage/blockSD.py
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/84/12184/1

diff --git a/vdsm/storage/blockSD.py b/vdsm/storage/blockSD.py
index 6c161e2..193c2ee 100644
--- a/vdsm/storage/blockSD.py
+++ b/vdsm/storage/blockSD.py
@@ -196,11 +196,11 @@
     # 128 M is the vdsm extent size default
     BS = constants.MEGAB  # 1024 ** 2 = 1 MiB
     count = size / BS
-    cmd = tuple(constants.CMD_LOWPRIO)
-    cmd += (constants.EXT_DD, "oflag=%s" % misc.DIRECTFLAG, "if=/dev/zero",
-            "of=%s" % lvm.lvPath(sdUUID, volUUID), "bs=%s" % BS,
-            "count=%s" % count)
-    p = misc.execCmd(cmd, sudo=False, sync=False)
+    cmd = (constants.EXT_DD, "oflag=%s" % misc.DIRECTFLAG, "if=/dev/zero",
+           "of=%s" % lvm.lvPath(sdUUID, volUUID), "bs=%s" % BS,
+           "count=%s" % count)
+    p = misc.execCmd(cmd, sudo=False, sync=False,
+                     nice=misc.NICENESS.LOW, ioclass=misc.IOCLASS.IDLE)
     return p
 
 


--
To view, visit http://gerrit.ovirt.org/12184
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9f361a0de7a928cc7207221144d0a2b5396f413c
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to