Re: [PATCH 1/9] move blk_iopoll to limit and make it generally available

From: Bart Van Assche
Date: Tue Nov 17 2015 - 12:42:10 EST


On 11/17/2015 09:16 AM, Bart Van Assche wrote:
On 11/13/2015 11:02 PM, Christoph Hellwig wrote:
On Fri, Nov 13, 2015 at 11:19:24AM -0800, Bart Van Assche wrote:
On 11/13/2015 05:46 AM, Christoph Hellwig wrote:
The new name is irq_poll as iopoll is already taken. Better suggestions
welcome.

Would it be possible to provide more background information about this ?
Which other kernel subsystem is using the name iopoll ?

Take a look at include/linux/iopoll.h - I can't reaplly make much sense
of it to be honest, but it's used in a quite a few places.

How about renaming blk_iopoll into blk_poll ? That way the name still
refers to the block layer. And although the current implementation
performs polling from IRQ context future implementations maybe will
allow polling from thread context.

(replying to my own e-mail)

Please ignore the previous comment - I just noticed that this mechanism is not limited to block devices.

Bart.

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