Re: remove another host aware model leftover

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/28/23 16:51, Christoph Hellwig wrote:
> Hi all,
> 
> now that support for the host aware zoned model is gone in the
> for-6.8/block branch, there is no way the sd driver can find a device
> where is has to clear the zoned flag, and we can thus remove the code
> for it, including a block layer helper.

Hmmm... There is one case: if the user uses a passthrough command to issue a
FORMAT WITH PRESET command to reformat the disk from SMR to CMR or from CMR to
SMR. The next revalidate will see a different device type in this case, and
SMR-to-CMR reformat will need clearing the zoned stuff.

> 
> Diffstat:
>  block/blk-zoned.c      |   21 ---------------------
>  drivers/scsi/sd.c      |    7 +++----
>  include/linux/blkdev.h |    1 -
>  3 files changed, 3 insertions(+), 26 deletions(-)
> 

-- 
Damien Le Moal
Western Digital Research





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux