lkml.org 
[lkml]   [2007]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.20-rc2+: CFQ halving disk throughput.
Tejun Heo wrote:
>
> OT but care to make -i and -I work equivalently? Such that -i reports
> more detailed info and user can dump stored id block.

hdparm -I works just fine now.

hdparm -i requires the HDIO_GET_IDENTITY ioctl() from drivers/ide,
to retrieve the "boot time" copy of the identify block, before any
mods are made by the driver. But in recent years, drivers/ide has
broken it, in that it tries to maintain the "boot time" copy in sync
with the on-drive copy. Kinda makes -i pointless.

Is there a way to retrieve the libata cached copy of the ID block?
How?

>Support for IDENTIFY PACKET DEVICE would be nice too.

It already does that, using HDIO_DRIVE_CMD to retrieve it
in the same way as for regular IDENTIFY DEVICE commands.

In hdparm-7.0, I'll have it use ATA passthrough when possible
for most/all commands.

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

\
 
 \ /
  Last update: 2007-01-02 18:39    [W:0.055 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site