Re: Patch or module?

From: Oliver Neukum (oliver@neukum.org)
Date: Tue Feb 19 2002 - 14:08:32 EST


On Tuesday 19 February 2002 19:23, cschumpf@gmx.net wrote:
> If thats not the right group to discuss that, please let me know.
>
> I would like to write an IO-Bandwidth-Limiter on per Process and per
> User-Basis for a few disk drives. I can either patch the kernel functions
> read/write and enhance the task- and user-structure and globally check if
> the correct devices are adressed or I can write my own module, twist
> pointers from the filesystems on the drives and store the information about
> users and tasks there.

You cannot do this on the device level as the writing task is not identical
to the task actual having caused the requirement to do IO.

        HTH
                Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:21 EST