Bug#443535: start-stop-daemon: should offer an option for ionice

2007-09-22 Thread Dominique Dumont
Package: dpkg Version: 1.14.6 Severity: wishlist --- Please enter the report below this line. --- Hello I use start-stop-daemon to launch hellanzb which can sometimes be very io intensive (with par2 and unrar) It would be great if I could launch hellanzb with ionice -c idle through start-stop-d

Bug#443535: start-stop-daemon: should offer an option for ionice

2009-01-07 Thread Colin Watson
user ubuntu-de...@lists.ubuntu.com usertags 443535 ubuntu-patch jaunty thanks On Sat, Sep 22, 2007 at 09:35:25AM +0200, Dominique Dumont wrote: > I use start-stop-daemon to launch hellanzb which can sometimes be very > io intensive (with par2 and unrar) > > It would be great if I could launch hel

Bug#443535: start-stop-daemon: should offer an option for ionice

2009-01-07 Thread Jörg Sommer
Hi, Colin Watson schrieb am Wed 07. Jan, 12:18 (+): > On Sat, Sep 22, 2007 at 09:35:25AM +0200, Dominique Dumont wrote: > > I use start-stop-daemon to launch hellanzb which can sometimes be very > > io intensive (with par2 and unrar) > > > > It would be great if I could launch hellanzb with i

Bug#443535: start-stop-daemon: should offer an option for ionice

2009-01-07 Thread Chris Coulson
Hi Jörg, On Wed, 2009-01-07 at 18:35 +0100, Jörg Sommer wrote: > Hi, > > Colin Watson schrieb am Wed 07. Jan, 12:18 (+): > > On Sat, Sep 22, 2007 at 09:35:25AM +0200, Dominique Dumont wrote: > > > I use start-stop-daemon to launch hellanzb which can sometimes be very > > > io intensive (with

Bug#443535: start-stop-daemon: should offer an option for ionice

2009-01-07 Thread Chris Coulson
On Wed, 2009-01-07 at 18:52 +, Colin Watson wrote: > ===snip=== > Although I'm sure I could work with anything sufficiently expressive, it > seems to me that making the interface parallel that of ionice would be > the course of least confusion. > I agree. I can modify the patch to make the int

Bug#443535: start-stop-daemon: should offer an option for ionice

2009-01-07 Thread Colin Watson
On Wed, Jan 07, 2009 at 06:42:37PM +, Chris Coulson wrote: > On Wed, 2009-01-07 at 18:35 +0100, Jörg Sommer wrote: > > Colin Watson schrieb am Wed 07. Jan, 12:18 (+): > > > diff -Nru dpkg-1.14.22ubuntu1/utils/start-stop-daemon.c > > > dpkg-1.14.22ubuntu2/utils/start-stop-daemon.c > > > --

Bug#443535: start-stop-daemon: should offer an option for ionice

2009-01-07 Thread Guillem Jover
Hi! Thanks for the forward and the patch, although I see few problems with it. On Wed, 2009-01-07 at 18:42:37 +, Chris Coulson wrote: > On Wed, 2009-01-07 at 18:35 +0100, Jörg Sommer wrote: > > Colin Watson schrieb am Wed 07. Jan, 12:18 (+): > > > On Sat, Sep 22, 2007 at 09:35:25AM +0200

Bug#443535: start-stop-daemon: should offer an option for ionice

2009-01-08 Thread Chris Coulson
On Wed, 2009-01-07 at 22:06 +0200, Guillem Jover wrote: > > ===snip=== > > > As Colin already mentioned, glibc does not yet provide such wrappers > (it's also stated in the man page). > > This is also highly Linux specific, and even then the syscall will > only be defined for recent kernels. Al

Bug#443535: start-stop-daemon: should offer an option for ionice

2009-01-11 Thread Jörg Sommer
Colin Watson schrieb am Wed 07. Jan, 18:52 (+): > On Wed, Jan 07, 2009 at 06:42:37PM +, Chris Coulson wrote: > > On Wed, 2009-01-07 at 18:35 +0100, Jörg Sommer wrote: > > > Colin Watson schrieb am Wed 07. Jan, 12:18 (+): > > > > diff -Nru dpkg-1.14.22ubuntu1/utils/start-stop-daemon.c

Bug#443535: start-stop-daemon: should offer an option for ionice

2009-01-14 Thread Guillem Jover
Hi! On Tue, 2009-01-13 at 22:46:06 +, Chris Coulson wrote: > I have re-written the patch again now. It now accepts both IO scheduler > class and IO scheduler data with a single flag, as you said you would > prefer earlier (in the format "-I :"). Also, on non-Linux > platforms or Linux systems

Bug#443535: start-stop-daemon: should offer an option for ionice

2009-01-23 Thread Chris Coulson
Hi, I've attached another revision of the patch. It behaves basically the same as before, but I've completely re-written the code in the style of the --procsched example you already did in git. Sorry for the delay, I've been busy with a few other things. > Thanks for improving the patch. Could y

Bug#443535: start-stop-daemon: should offer an option for ionice

2009-02-25 Thread Guillem Jover
tag 443535 pending thanks Hi! On Fri, 2009-01-23 at 21:44:59 +, Chris Coulson wrote: > Sorry for the delay, I've been busy with a few other things. No problem. I've reviewed, done some final stylistic changes and committed, this is now in git master, and will be included in dpkg 1.15.0.

Bug#443535: [Fwd: Re: Bug#443535: start-stop-daemon: should offer an option for ionice]

2009-01-13 Thread Chris Coulson
Hi, I have re-written the patch again now. It now accepts both IO scheduler class and IO scheduler data with a single flag, as you said you would prefer earlier (in the format "-I :"). Also, on non-Linux platforms or Linux systems that don't support ioprio_set, passing the '-I' flag will have no e