From: Tejun Heo <tj@xxxxxxxxxx> Date: Thu, 21 Apr 2011 19:09:25 +0200 > check_events() implementations in both ide-gd and ide-cd are > inadequate for in-kernel event polling. Both generate media change > events continuously when certain conditions are met causing infinite > event loop between the driver and userland event handler. > > As disk event now supports suppression of unlisted events, simply > de-listing DISK_EVENT_MEDIA_CHANGE from disk->events resolves the > problem. Internal handling around media revalidation will behave the > same while userland will fall back to userland event polling after > detecting the device doesn't support disk events. > > Signed-off-by: Tejun Heo <tj@xxxxxxxxxx> > Reported-by: Jens Axboe <jaxboe@xxxxxxxxxxxx> Acked-by: David S. Miller <davem@xxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html