Re: [PATCH] sd: do not set changed flag on all unit attention conditions

From: Paolo Bonzini
Date: Tue Jul 17 2012 - 12:47:20 EST


Il 17/07/2012 18:36, Christoph Hellwig ha scritto:
>> > There's no such thing in the market today as a removable disk that's
>> > resizeable. Removable disks are for things like backup cartridges and
>> > ageing jazz drives. Worse: most removeable devices today are USB card
>> > readers whose standards compliance varies from iffy to non existent.
>> > Resizeable disks are currently the province of storage arrays.
> The virtual disks exported by aacraid are both marked removable and
> can be resized.

Do they report resizing via unit attention? I can skip this part on
removable virtio-scsi disks if that's what real hardware does, it would
also work.

Paolo


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/