lkml.org 
[lkml]   [2022]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] scsi: sd: Update dix config everytime sd_revalidate_disk is called
From


On 2022/10/20 8:18, Martin K. Petersen wrote:
>
> 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
>
> DIX is orthogonal to DIF and a host property. DIX should not be disabled
> just because the disk is no longer formatted with protection
> information.
>
> That said, your patch is probably fine. I'll take a closer look
> tomorrow.
>

Friendly ping... Do you have other suggestions?
Thanks,
Xingui

\
 
 \ /
  Last update: 2022-11-29 03:46    [W:0.051 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site