All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Mark Lord <kernel@teksavvy.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
	Herbert Poetzl <herbert@13thfloor.at>,
	linux-ide@vger.kernel.org, Jeff Garzik <jeff@garzik.org>
Subject: Re: WDC WD20EARS and 4k sector size
Date: Tue, 25 Jan 2011 11:26:14 +0300	[thread overview]
Message-ID: <4D3E8926.70806@msgid.tls.msk.ru> (raw)
In-Reply-To: <4D3E503B.40207@teksavvy.com>

25.01.2011 07:23, Mark Lord wrote:
> On 11-01-24 10:52 PM, Martin K. Petersen wrote:
> ..
>> If the drive had reported its block size correctly mkfs would have
>> picked this information up automatically.
> 
> Apparently revision 00Z drives now show 4096 physical sector size,
> with 512 for logical.  Can anyone out there confirm this first-hand?
> (hdparm -I)

There's no "00Z" revision for 20EARS, as far as I can tell.
There is, however, 00Z revision for 15EARS, which is 1.5Tb.

I've this drive:

 Model Family:     Western Digital Caviar Green (Adv. Format) family
 Device Model:     WDC WD20EARS-00MVWB0
 Serial Number:    WD-WMAZ20464440
 Firmware Version: 50.0AB50

this was the latest (the 3-platter version) of the drive
as were available ~2 months ago.

This drive does NOT report 4kb, it tells that both logical
and physical sector size is 512 bytes.  But it actually
uses 4kb sectors internally, which is visible when writing
by chunks of <4Kb with O_DIRECT: any size which is not
multiple of 4Kb and performance drops for a factor of 3..4.

Reportedly, WD15EARS with 00Z firmware does report all the
parameters correctly.  I've no idea what about WD10EARS,
more recentl 2TB+ drives and why they don't have (or do
they?) "right" firmware for 20EARS...

Thanks!

/mjt

  reply	other threads:[~2011-01-25  8:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25  3:04 WDC WD20EARS and 4k sector size Herbert Poetzl
2011-01-25  3:15 ` Martin K. Petersen
2011-01-25  3:32   ` Herbert Poetzl
2011-01-25  3:40     ` Greg Freemyer
2011-01-25  3:52     ` Martin K. Petersen
2011-01-25  4:23       ` Mark Lord
2011-01-25  8:26         ` Michael Tokarev [this message]
2011-01-25 10:01     ` Tejun Heo
2011-01-25  4:09 ` Jeff Garzik
2011-01-25  4:21 ` Mark Lord
2011-01-25  4:34   ` Herbert Poetzl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D3E8926.70806@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=herbert@13thfloor.at \
    --cc=jeff@garzik.org \
    --cc=kernel@teksavvy.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.