Re: [PATCH v3 1/2] block: disallow Persistent Reservation on partitions

From: Christoph Hellwig
Date: Tue Jun 13 2023 - 09:49:32 EST


On Tue, Jun 13, 2023 at 04:40:07PM +0800, Jingbo Xu wrote:
> Refuse Persistent Reservation operations on partitions as reservation
> on partitions doesn't make sense.
>
> Besides, introduce blkdev_pr_allowed() helper, where more policies could
> be placed here later.

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>