Re: [PATCH] nvmet: serialize port attribute updates with enable

From: Christoph Hellwig

Date: Wed Oct 28 2026 - 10:42:20 EST


On Wed, Oct 28, 2026 at 01:13:29PM +0800, Jiale Yao wrote:
> + scoped_guard(rwsem_write, &nvmet_config_sem) {

Please use normal locking primitives instead of turning the functions
into a mess with the guards.