[S390] vmlogrdr: purge after recording is switched off
authorStefan Weinhuber <wein@de.ibm.com>
Wed, 10 Nov 2010 09:05:54 +0000 (10:05 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 10 Nov 2010 09:05:54 +0000 (10:05 +0100)
commitca768b663131ca644689fcadc9ca092dcc96a758
treeaaf4136000d7f0204830978f304636beb4fd2368
parent16d2ce271c6b8b3527ed1461d03b5f373d53f78f
[S390] vmlogrdr: purge after recording is switched off

If automatic purge is enabled for a vmlogrdr device, old records are
purged before an IUCV recording service is switched on or off. If z/VM
generates a large number of records between purging and switching the
recording service off, these records remain queued, and may have a
negative performance impact on the z/VM system. To avoid this problem,
we need to purge the records after recording is switched off.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/vmlogrdr.c