]> sourceware.org Git - lvm2.git/commit
Avoid using pipes on lv commands
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 3 Mar 2011 15:46:05 +0000 (15:46 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 3 Mar 2011 15:46:05 +0000 (15:46 +0000)
commit6a9646d1ce6530fe1ed18329d7da40babcd306f1
tree62b9f4ec0a2c0ce84ca893abcbc01a5e2e3012f4
parent8595f0c6ac1b6ff9b5e77f5016714bd15c527e35
Avoid using pipes on lv commands

Failure on pipe kills lv command and produces memory stacktrace.
Add 'true' for empty grep/sed to avoid generating stacktrace.

This should help with long time (7min) for this test on Lenny testing maching
(mimage was filler with stacktrace and each word was used as LV name).
test/t-mirror-vgreduce-removemissing.sh
This page took 0.038221 seconds and 5 git commands to generate.