lkml.org 
[lkml]   [2010]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/7] block: push down BKL into .locked_ioctl
    On 2010-07-07 16:51, Arnd Bergmann wrote:
    > As a preparation for the removal of the big kernel
    > lock in the block layer, this removes the BKL
    > from the common ioctl handling code, moving it
    > into every single driver still using it.
    >
    > diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c
    > index ad3ddef..fc593fb 100644
    > --- a/drivers/message/i2o/i2o_block.c
    > +++ b/drivers/message/i2o/i2o_block.c
    > @@ -941,8 +930,7 @@ static const struct block_device_operations i2o_block_fops = {
    > .owner = THIS_MODULE,
    > .open = i2o_block_open,
    > .release = i2o_block_release,
    > - .ioctl = i2o_block_ioctl,
    > - .compat_ioctl = i2o_block_ioctl,
    > + .locked_ioctl = i2o_block_ioctl,
    > .getgeo = i2o_block_getgeo,
    > .media_changed = i2o_block_media_changed
    > };

    Hmm?

    --
    Jens Axboe



    \
     
     \ /
      Last update: 2010-07-08 10:39    [W:0.024 / U:33.448 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site