]> 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)
commit786d8aa08918ee1475bb8a836beadf7398df420f
tree62b9f4ec0a2c0ce84ca893abcbc01a5e2e3012f4
parent263c008cf54c005365a0121cc763a62b051844e4
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.032504 seconds and 5 git commands to generate.