lkml.org 
[lkml]   [2008]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [JANITOR PROPOSAL] Switch ioctl functions to ->unlocked_ioctl
Date
On Thursday 10 January 2008 03:39, Alasdair G Kergon wrote:
> On Thu, Jan 10, 2008 at 01:49:15AM -0800, Daniel Phillips wrote:
> > So what stops you from changing to unlocked_ioctl for the main
> > device mapper ctl_ioctl?
>
> Nothing - patches to do this are queued for 2.6.25:

Nice. This removes a deadlock we hit, where if creating a device mapper
target blocks indefinitely (say on network IO) then nobody else can
complete a device mapper operation because BKL is held. If completing
the device create depends on some other device mapper operation, then
it is game over.

Our current workaround is to test for and drop BKL, ugh. Thanks for the
cleanup.

Regards,

Daniel


\
 
 \ /
  Last update: 2008-01-10 23:59    [W:0.285 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site