Re: [RESEND PATCH] xen/blkfront: convert to blk-mq APIs

From: Christoph Hellwig
Date: Sat Jul 11 2015 - 07:27:42 EST


On Sat, Jul 11, 2015 at 07:17:18AM -0400, Konrad Rzeszutek Wilk wrote:
> The 'locked' parameter can be used to tell the function to not take the lock.
>
> But it would drop the lock in both cases.

Konrad,

no conditional locking please. Split the functionality up in multiple
functions if you may call with or without a lock held.

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