linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tao Ma <tm@tao.ma>
To: Keith Mannthey <kmannth@us.ibm.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: Quick EXT4 discard question
Date: Fri, 22 Apr 2011 10:53:37 +0800	[thread overview]
Message-ID: <4DB0EDB1.2070506@tao.ma> (raw)
In-Reply-To: <1303440294.1389.136.camel@keith-laptop>

On 04/22/2011 10:44 AM, Keith Mannthey wrote:
> On Fri, 2011-04-22 at 10:27 +0800, Tao Ma wrote:
>> On 04/22/2011 08:45 AM, Keith Mannthey wrote:
>>> Hello,
>>>   I am using some Intel SSD drives with 2.6.38.2. 
>>>
>>>
>>> /proc/scsi/scsi identifies them as: 
>>>
>>> "
>>> Host: scsi4 Channel: 00 Id: 04 Lun: 00
>>>   Vendor: ATA      Model: INTEL SSDSA2M080 Rev: 02M3
>>>   Type:   Direct-Access                    ANSI  SCSI revision: 05
>>> "
>>>
>>> Sometimes I am see the following messages that indicate discard is
>>> disabled during runtime:  
>>>
>>> Relevant dmesg:
>>>
>>> ...
>>> EXT4-fs (sdw): mounted filesystem with ordered data mode. Opts: nobarrier,discard
>>> EXT4...... 
>>>
>>> .... (some time later) 
>>>
>>> EXT4-fs warning (device sdw): release_blocks_on_commit:2672: discard not supported, disabling
>>> EXT4-fs warning (device sds): release_blocks_on_commit:2672: discard not supported, disabling
>>> EXT4-fs warning (device sdt): release_blocks_on_commit:2672: discard not supported, disabling
>>> EXT4-fs warning (device sdu): release_blocks_on_commit:2672: discard not supported, disabling
>>> EXT4-fs warning (device sdv): release_blocks_on_commit:2672: discard not supported, disabling
>> Please check whether your ssd works with discard or whether your ssd
>> firmware has the ability to do so.
>> I used an SSDSA2M160(I guess you are using the same type as me except
>> the volume size is 80g, but you have to find it out from intel side) and
>> after I upgraded my firmware to the new version(you can download it from
>> intel site), it supports discard now.
> 
> 
> Firmware is up to date as of a few weeks ago.  It is 02M3 which still
> looks to be the current version. 
ok...
So please check whether your device supports discard or not.
Intel has a tool named Intel SSD Toolbox, and it can check the status of
your ssd, but the bad thing is that it seems to only have a windows
version...

Regards,
Tao

  reply	other threads:[~2011-04-22  2:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-22  0:45 Quick EXT4 discard question Keith Mannthey
2011-04-22  2:27 ` Tao Ma
2011-04-22  2:44   ` Keith Mannthey
2011-04-22  2:53     ` Tao Ma [this message]
2011-04-22  7:44       ` Lukas Czerner
2011-04-22  8:31         ` Tao Ma
2011-04-22 16:08         ` Keith Mannthey
2011-04-23 14:23           ` Eric Sandeen
2011-04-22 19:59 ` Greg Freemyer
  -- strict thread matches above, loose matches on Subject: below --
2011-04-23  6:41 Girish Shilamkar

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=4DB0EDB1.2070506@tao.ma \
    --to=tm@tao.ma \
    --cc=kmannth@us.ibm.com \
    --cc=linux-ext4@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).