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


Groups > linux.kernel > #1279067

Re: [PATCH v2 1/3] lightnvm: missing nvm_lock acquire

From Wenwei Tao <ww.tao0320@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/3] lightnvm: missing nvm_lock acquire
Date 2015-11-28 02:50 +0100
Message-ID <qzCOd-2dR-9@gated-at.bofh.it> (permalink)
References <qziFP-6i7-5@gated-at.bofh.it> <qziFP-6i7-3@gated-at.bofh.it> <qzmJt-pZ-23@gated-at.bofh.it> <qzq0G-2Gm-15@gated-at.bofh.it> <qzxbQ-75z-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Matiasl
Just to let you know this patch and previous version both cannot
address 'register device with supported manager may blocked while
holding the lock' issue.

2015-11-28 3:41 GMT+08:00 Matias Bjørling <m@bjorling.me>:
> On 11/27/2015 01:04 PM, Wenwei Tao wrote:
>>
>> Hi Matias
>> Previous version patch miss acquire lock before find supported manager
>> in nvm_init().
>> And find supported manager code is duplicated in nvm_init() and
>> nvm_create_target(), we may move it into a function to make the code
>> more clean.
>> And find supported manager may blocked while holding the lock, this is
>> not good.
>>
>
> Ok, thanks. I'll pick this one up instead then.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH v2 1/3] lightnvm: missing nvm_lock acquire Wenwei Tao <ww.tao0320@gmail.com> - 2015-11-27 05:20 +0100
  Re: [PATCH v2 1/3] lightnvm: missing nvm_lock acquire Matias Bjørling <m@bjorling.me> - 2015-11-27 09:40 +0100
    Re: [PATCH v2 1/3] lightnvm: missing nvm_lock acquire Wenwei Tao <ww.tao0320@gmail.com> - 2015-11-27 13:10 +0100
      Re: [PATCH v2 1/3] lightnvm: missing nvm_lock acquire Matias Bjørling <m@bjorling.me> - 2015-11-27 20:50 +0100
        Re: [PATCH v2 1/3] lightnvm: missing nvm_lock acquire Wenwei Tao <ww.tao0320@gmail.com> - 2015-11-28 02:50 +0100

csiph-web