[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac3eb2510911181130l6f25642cy1d5332f79a112cf9@mail.gmail.com>
Date: Wed, 18 Nov 2009 20:30:07 +0100
From: Kay Sievers <kay.sievers@...y.org>
To: Matthew Garrett <mjg59@...f.ucam.org>
Cc: David Zeuthen <david@...ar.dk>, linux-kernel@...r.kernel.org,
axboe@...nel.dk, linux-hotplug@...r.kernel.org
Subject: Re: [PATCH] [RFC] Add support for uevents on block device idle
changes
On Tue, Nov 17, 2009 at 19:57, Matthew Garrett <mjg59@...f.ucam.org> wrote:
> Ok. How about something like this? It adds an extra field to the stat
> file and introduces David's suggestion of making it pollable.
Hmm, while thinking more about it, I'm still not sure if we should add
an interface which can work for a single user only, and add a timer to
the kernel which is only used by a userspace policy thing.
Wouldn't it be good enough, if we add a file "idle_since" which
contains the time of the actual disk idle time, and userspace can
schedule a re-examination of that value at the actual end of the idle
time it is looking for?
Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists