Re: [PATCH 4/4] sd: Handle ZBC drives correctly

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

 



On 07/21/2014 06:18 PM, John Utz wrote:
If I read Hanne's patch correctly, he is checking for the ZBC signature
> when the drives are probed.

Yep.

Thus, the only circumstance where adding zbc handling would lead to
> unexpected bad behavior in sd would be if a ZBC drive reported itself
> as a standard ATA drive or an ATA drive reported itself as a ZBC drive.

It's actually worse than that:
Currently libata will happily attach to a ZAC device, and passing them on to the SCSI stack as a normal disk device.
Which most definitely will lead to unexpected results :-)

Cheers,

Hannes
--
Dr. Hannes Reinecke		      zSeries & Storage
hare@xxxxxxx			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux