Re: [PATCH v3.4-rc5] block: iocontext->nr_tasks should be initialized to one

From: Jeff Moyer
Date: Tue May 01 2012 - 15:20:43 EST


Vivek Goyal <vgoyal@xxxxxxxxxx> writes:

> On Tue, May 01, 2012 at 02:31:07PM -0400, Jeff Moyer wrote:
>
> [..]
>> > But as to actual users, I really don't know. I agree it's probably not
>> > that widely used. If google still had that code search, we could get a
>> > better idea :-)
>>
>> I know of one project: the venerable dump/restore utility uses CLONE_IO.
>
> I thought you wrote cooperating queue logic to fix dump as it was not
> using CLONE_IO and IO from multiple threads was going in separate
> queues.

That's correct. I believe I sent the patch for dump before the kernel
patch was accepted. Plus, it can't hurt, right?

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