lkml.org 
[lkml]   [2015]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RESEND PATCH] xen/blkfront: convert to blk-mq APIs
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.



\
 
 \ /
  Last update: 2015-07-11 13:41    [W:0.036 / U:2.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site