Re: [PATCH -next 4/5] blk-iocost: fix sleeping in atomic context warnning in ioc_qos_write()

From: Christoph Hellwig
Date: Sun Oct 30 2022 - 05:55:38 EST


This seems a little convoluted to me. I'd suggest to add a new
sleeping lock that protects the updates, then you just take the
spinlock after parsing without much other changes.

(The same comment also applies to patch 5).