Messages in this thread | | | Subject | Re: [PATCH 01/12] target: Convert se_node_acl->device_list[] to RCU hlist | From | "Nicholas A. Bellinger" <> | Date | Wed, 13 May 2015 01:46:11 -0700 |
| |
On Wed, 2015-05-13 at 08:35 +0200, Christoph Hellwig wrote: > Onemore comments from looking oer the RCU usage with all the patches > applied: > > In core_get_se_deve_from_rtpi we dereference lun->lun_sep, so > either struct se_port needs to be switched to kfree_rcu, > or we need to mirror the rtpi value into the se_lun.
Updated to use a mirror lun->lun_rtpi, with the assignment from sep_rtpi occuring in core_dev_export() code.
Thanks HCH.
| |