Re: [PATCH 05/14] sd: simplify the ZBC case in provisioning_mode_store
- 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, Bart Van Assche <bvanassche@acm.org>, Damien Le Moal <dlemoal@kernel.org>
- Subject: Re: [PATCH 05/14] sd: simplify the ZBC case in provisioning_mode_store
- From: "Martin K. Petersen" <martin.petersen@oracle.com>
- Date: Thu, 13 Jun 2024 21:41:28 -0400
- Message-id: <[🔎] yq1a5joti66.fsf@ca-mkp.ca.oracle.com>
- In-reply-to: <20240531074837.1648501-6-hch@lst.de> (Christoph Hellwig's message of "Fri, 31 May 2024 09:48:00 +0200")
- References: <20240531074837.1648501-1-hch@lst.de> <20240531074837.1648501-6-hch@lst.de>
Christoph,
> Don't reset the discard settings to no-op over and over when a user
> writes to the provisioning attribute as that is already the default
> mode for ZBC devices. In hindsight we should have made writing to
> the attribute fail for ZBC devices, but the code has probably been
> around for far too long to change this now.
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
--
Martin K. Petersen Oracle Linux Engineering
Reply to: