Re: update ionice manpage (ioprio_set: Operation not permitted)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Karel,

The proposed patch for ionice manpage was fine.

Reading the url I quoted in the first place, i wondered if we 
could add a few word regarding the lock issue.
> http://ubuntuforums.org/archive/index.php/t-498394.html

I propose something like this (but feel free to rewrite it):

A process of class "Idle" shouldn't be used to access files which could
also be used by a process of higher priority : if a third process keeps
the IO system busy, the idle process would hold the file locked.
Therefore the process with higher priority could be waiting for the
locked file forever.

Franklin

On Thu, 2007-09-20 at 14:38 +0200, Karel Zak wrote:
> On Sun, Sep 16, 2007 at 09:38:41PM +0200, Franklin PIAT wrote:
> > Could you update the ionice manpage (or release notes)
> > to mention that regular user can't schedule a task with
> > an "idle" class. A typical example is:
> 
>  Well, see a patch below. OK?
> 

> diff --git a/schedutils/ionice.1 b/schedutils/ionice.1
> -class does not take a priority argument.
> +class does not take a priority argument. This scheduling class is not
> +permitted for an ordinary (i.e., non-root) user.
>  


-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux