Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1332176

Re: [PATCH] null_blk: oops when initializing without lightnvm

From Jens Axboe <axboe@kernel.dk>
Newsgroups linux.kernel
Subject Re: [PATCH] null_blk: oops when initializing without lightnvm
Date 2016-02-11 17:00 +0100
Message-ID <r11OW-2po-9@gated-at.bofh.it> (permalink)
References <r0ZN8-13S-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 02/11/2016 06:49 AM, Matias Bjørling wrote:
> If the LightNVM subsystem is not compiled into the kernel, and the
> null_blk device driver requests lightnvm to be initialized. The call to
> nvm_register fails and the null_add_dev function cleans up the
> initialization. However, at this point the null block device has
> already been added to the nullb_list and thus a second cleanup will
> occur when the function has returned, that leads to a double call to
> blk_cleanup_queue.

Deferring the add seems fine, applied for 4.5.

-- 
Jens Axboe

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] null_blk: oops when initializing without lightnvm Matias Bjørling <m@bjorling.me> - 2016-02-11 14:50 +0100
  Re: [PATCH] null_blk: oops when initializing without lightnvm Jens Axboe <axboe@kernel.dk> - 2016-02-11 17:00 +0100

csiph-web