Re: [PATCH v2] nvmet-fc: associations list protected by rcu, instead of spinlock_irq where possible.

2021-01-12 Thread Christoph Hellwig
Thanks, applied to nvme-5.11.

Re: [PATCH v2] nvmet-fc: associations list protected by rcu, instead of spinlock_irq where possible.

2021-01-11 Thread James Smart
On 1/3/2021 10:12 AM, leonid.rav...@dell.com wrote: From: Leonid Ravich searching assoc_list protected by rcu_read_lock if list not changed inline. and according to the rcu list rules. queue array embedded into nvmet_fc_tgt_assoc protected by rcu_read_lock according to rcu dereference/assign

Re: [PATCH v2] nvmet-fc: associations list protected by rcu, instead of spinlock_irq where possible.

2021-01-11 Thread Christoph Hellwig
James, can you review this patch? On Sun, Jan 03, 2021 at 08:12:53PM +0200, leonid.rav...@dell.com wrote: > From: Leonid Ravich > > searching assoc_list protected by rcu_read_lock if list not changed inline. > and according to the rcu list rules. > > queue array embedded into nvmet_fc_tgt_assoc

[PATCH v2] nvmet-fc: associations list protected by rcu, instead of spinlock_irq where possible.

2021-01-03 Thread leonid . ravich
From: Leonid Ravich searching assoc_list protected by rcu_read_lock if list not changed inline. and according to the rcu list rules. queue array embedded into nvmet_fc_tgt_assoc protected by rcu_read_lock according to rcu dereference/assign rules. queue and assoc object freed after grace period

[PATCH v2] nvmet-fc: associations list protected by rcu, instead of spinlock_irq where possible.

2021-01-03 Thread leonid . ravich
From: Leonid Ravich searching assoc_list protected by rcu_read_lock if list not changed inline. and according to the rcu list rules. queue array embedded into nvmet_fc_tgt_assoc protected by rcu_read_lock according to rcu dereference/assign rules. queue and assoc object freed after grace period