git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7a3729
)
Improve virtio-blk performance (RHBZ#509383).
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 2 Jul 2009 20:32:59 +0000
(21:32 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 2 Jul 2009 20:32:59 +0000
(21:32 +0100)
appliance/init
patch
|
blob
|
history
diff --git
a/appliance/init
b/appliance/init
index
48c7c34
..
dbe53f4
100755
(executable)
--- a/
appliance/init
+++ b/
appliance/init
@@
-44,6
+44,9
@@
ls -l /dev
lvm vgscan --ignorelockingfailure
lvm vgchange -ay --ignorelockingfailure
+# Improve virtio-blk performance (RHBZ#509383).
+for f in /sys/block/vd*/queue/rotational; do echo 1 > $f; done
+
if grep -sq guestfs_rescue=1 /proc/cmdline; then
bash -i
fi