Re: [PATCH] [RFC] Add support for uevents on block device idle changes

From: Kay Sievers
Date: Thu Nov 19 2009 - 06:10:01 EST


On Wed, Nov 18, 2009 at 22:33, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
> On Wed, Nov 18, 2009 at 10:06:33PM +0100, Kay Sievers wrote:
>
>> That's true, but I think there is a significant difference between
>> polling every one or two seconds for media changes, and usually one or
>> two minutes for a disk idle. It's not that we poll in a rather hight
>> frequency, in an arbitrary interval, and check if some condition is
>> met.
>
> My use cases are on the order of a second.

Ok, what's the specific use case, which should be triggered after a
second? I thought you were thinking about disk spindown or similar.

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