Re: [PATCH 06/12] target/pr: Convert se_dev_entry to kref for RCU

2015-05-12 Thread Christoph Hellwig
On Tue, May 12, 2015 at 09:25:30AM +, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger > > This patch converts se_dev_entry->pr_ref_count access to use modern > struct kref counting. > > It updates core_enable_device_list_for_node() to kref_init() when se_dev_entry > is being enabled,

[PATCH 06/12] target/pr: Convert se_dev_entry to kref for RCU

2015-05-12 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts se_dev_entry->pr_ref_count access to use modern struct kref counting. It updates core_enable_device_list_for_node() to kref_init() when se_dev_entry is being enabled, and updates core_disable_device_list_for_node() to kref_put() and blocks on ->pr_com