Re: [PATCH 12/14] sr: convert to the atomic queue limits API
- To: Christoph Hellwig <hch@lst.de>
- Cc: Jens Axboe <axboe@kernel.dk>, "Martin K. Petersen" <martin.petersen@oracle.com>, Richard Weinberger <richard@nod.at>, Anton Ivanov <anton.ivanov@cambridgegreys.com>, Johannes Berg <johannes@sipsolutions.net>, Josef Bacik <josef@toxicpanda.com>, Ilya Dryomov <idryomov@gmail.com>, Dongsheng Yang <dongsheng.yang@easystack.cn>, Roger Pau Monné <roger.pau@citrix.com>, linux-um@lists.infradead.org, linux-block@vger.kernel.org, nbd@other.debian.org, ceph-devel@vger.kernel.org, xen-devel@lists.xenproject.org, linux-scsi@vger.kernel.org, Damien Le Moal <dlemoal@kernel.org>
- Subject: Re: [PATCH 12/14] sr: convert to the atomic queue limits API
- From: "Martin K. Petersen" <martin.petersen@oracle.com>
- Date: Thu, 13 Jun 2024 21:48:15 -0400
- Message-id: <[🔎] yq15xucs3bj.fsf@ca-mkp.ca.oracle.com>
- In-reply-to: <20240531074837.1648501-13-hch@lst.de> (Christoph Hellwig's message of "Fri, 31 May 2024 09:48:07 +0200")
- References: <20240531074837.1648501-1-hch@lst.de> <20240531074837.1648501-13-hch@lst.de>
Christoph,
> Assign all queue limits through a local queue_limits variable and
> queue_limits_commit_update so that we can't race updating them from
> multiple places, and free the queue when updating them so that
> in-progress I/O submissions don't see half-updated limits.
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
--
Martin K. Petersen Oracle Linux Engineering
Reply to: