linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Quick EXT4 discard question
@ 2011-04-22  0:45 Keith Mannthey
  2011-04-22  2:27 ` Tao Ma
  2011-04-22 19:59 ` Greg Freemyer
  0 siblings, 2 replies; 10+ messages in thread
From: Keith Mannthey @ 2011-04-22  0:45 UTC (permalink / raw)
  To: linux-ext4

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

I am new to SSDs and discard is there something else I need to do to
make these drives work as expected? 


Thanks,
  Keith Mannthey 
  LTC Local Filesystem 


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Quick EXT4 discard question
@ 2011-04-23  6:41 Girish Shilamkar
  0 siblings, 0 replies; 10+ messages in thread
From: Girish Shilamkar @ 2011-04-23  6:41 UTC (permalink / raw)
  To: greg.freemyer, linux-ext4


----- greg.freemyer@gmail.com wrote:

> On Thu, Apr 21, 2011 at 8:45 PM, Keith Mannthey <kmannth@us.ibm.com>
> wrote:
> <snip>
> > I am new to SSDs and discard is there something else I need to do
> to
> > make these drives work as expected?
> 
> Keith,
> 
> If you're new to SSD trim, you might want to read this SUSE wiki
> page.
> 
> http://en.opensuse.org/SDB:SSD_discard_%28trim%29_support
> 
> (I wrote most of it, but I tried to keep it factual.)
> 
> For reference, it talks some about opensuse 11.2 and 11.3 but you can
> just think of those as older kernels.  (11.4 just came out and has a
> 2.6.37 kernel.)
> 
> Greg
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-04-23 14:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).