From: Chaitanya Kulkarni Date: Fri, 15 Apr 2022 05:39:32 +0000 Subject: [Cluster-devel] [PATCH 03/27] target: fix discard alignment on partitions In-Reply-To: <20220415045258.199825-4-hch@lst.de> References: <20220415045258.199825-1-hch@lst.de> <20220415045258.199825-4-hch@lst.de> Message-ID: <883810d2-c170-388d-a031-63a9792fef5e@nvidia.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 4/14/22 21:52, Christoph Hellwig wrote: > Use the proper bdev_discard_alignment helper that accounts for partition > offsets. > > Fixes: c66ac9db8d4a ("[SCSI] target: Add LIO target core v4.0.0-rc6") > Signed-off-by: Christoph Hellwig > Reviewed-by: Martin K. Petersen > --- Helper does handle the case for of partition. Looks good. Reviewed-by: Chaitanya Kulkarni -ck