Hard drive spec change

Ric Wheeler rwheeler at redhat.com
Fri Mar 19 13:21:53 UTC 2010


On 03/19/2010 08:08 AM, Till Maas wrote:
> On Thu, Mar 11, 2010 at 04:21:47PM -0600, Eric Sandeen wrote:
>> Alexander Boström wrote:
>>> ons 2010-03-10 klockan 15:57 -0600 skrev Eric Sandeen:
>>>
>>>> There has been a lot of work upstream on 4k sector support, and in general
>>>> yes, we are ready.
>>>
>>> Problems can probably be expected in case the drive does not report its
>>> real block size to the software, though, like my WD15EARS (I think) or
>>> VMware's emulated SCSI drives.
>>
>> There's only so much we can do in the face of bad hardware ;)
>
> How about making it possible to overwrite the wrong reported values,
> e.g. by making /sys/block/sdb/queue/[physical_block_size
> writable,minimum_io_size} writable.
>
> Regards
> Till
>

I think that would be a bad idea - if you know what you want to change, why not 
just invoke the tool with those specific parameters?

It would be very confusing to have us probe the device, get the real information 
from the storage device and then let a user update that information to something 
"false" :-)

ric



More information about the devel mailing list