martin f. krafft: older iorenice do not yet have -t
Martin F. Krafft
madduck at alioth.debian.org
Fri Sep 3 09:54:40 UTC 2010
Module: mdadm
Branch: build
Commit: 4e4fcf9c51dbe6baa7ece9bbc6015eef827ca34c
URL: http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=4e4fcf9c51dbe6baa7ece9bbc6015eef827ca34c
Author: martin f. krafft <madduck at debian.org>
Date: Sun Aug 29 14:02:10 2010 +0200
older iorenice do not yet have -t
---
debian/checkarray | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/debian/checkarray b/debian/checkarray
index 5ee01ad..5b5dae1 100644
--- a/debian/checkarray
+++ b/debian/checkarray
@@ -194,7 +194,7 @@ for array in $arrays; do
resync_pid=$(ps -ef | awk -v dev=$array 'BEGIN { pattern = "^\\[" dev "_resync]$" } $8 ~ pattern { print $2 }')
if [ -n "$resync_pid" ]; then
echo "$PROGNAME: I: selecting $ionice I/O schedulung class for resync of $array." >&2
- ionice -t -p "$resync_pid" $arg
+ ionice -p "$resync_pid" $arg
break
fi
sleep 1
More information about the pkg-mdadm-commits
mailing list