Re: [patch] aio: add per task aio wait event condition

From: Jeff Moyer
Date: Thu Feb 01 2007 - 16:47:04 EST


==> On Wed, 3 Jan 2007 10:50:06 -0800, Zach Brown <zach.brown@xxxxxxxxxx> said:

Zach> The controversial part here happens when min_nr is larger than the
Zach> ring size. In that case I think we should consider min_nr to be
Zach> equal to the ring size. We'll return fewer events than userspace
Zach> asked for, but it'll still be a big batch.

That sounds like a programming error, don't you think? Maybe
returning EINVAL is the right approach?

-Jeff
-
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/