Re: [PATCH RESEND] scsi: sd: Update dix config everytime sd_revalidate_disk is called
From: Martin K. Petersen
Date: Tue Feb 21 2023 - 21:30:32 EST
Xingui,
> When the host protection capabilities are 0x77 and a DIF disk is
> connected, the DIX and DIF of the disk are default enabled. Then if
> that DIF disk is reformatted as a non-DIF format, per the currently
> flow, the DIX is kept enabled which is not correct, which will cause
> the following errors when accessing the non-DIF disk:
Applied to 6.3/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering