All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 36722] New: TRIM support is broken for Crucial M4 drives
@ 2011-06-05 15:05 bugzilla-daemon
  2011-06-06  9:04 ` [Bug 36722] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2011-06-05 15:05 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=36722

           Summary: TRIM support is broken for Crucial M4 drives
           Product: File System
           Version: 2.5
    Kernel Version: 2.6.38.8
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
        AssignedTo: fs_ext4@kernel-bugs.osdl.org
        ReportedBy: kernel-bugs.dev1world@spamgourmet.com
        Regression: No


Created an attachment (id=60842)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=60842)
dmesg output

The TRIM is disabled as per the following messages:

# dmesg | grep "discard not"
[   18.614000] EXT4-fs warning (device sdi8): release_blocks_on_commit:2674:
discard not supported, disabling
[42486.763000] EXT4-fs warning (device sdi11): release_blocks_on_commit:2674:
discard not supported, disabling

but TRIM support is there:

# hdparm -I /dev/sdi | grep TRIM
           *    Data Set Management TRIM supported (limit 8 blocks)
           *    Deterministic read data after TRIM

The drive is on this controller and not part of any RAID:

# lspci | grep LSI

04:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008
PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)

The dmesg is attached.

Can someone also say what this message means:

[42087.056000] EXT4-fs (sdi11): Unaligned AIO/DIO on inode 654340 by
VirtualBox; performance will be poor.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 36722] TRIM support is broken for Crucial M4 drives
  2011-06-05 15:05 [Bug 36722] New: TRIM support is broken for Crucial M4 drives bugzilla-daemon
@ 2011-06-06  9:04 ` bugzilla-daemon
  2011-06-06 14:43 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2011-06-06  9:04 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=36722





--- Comment #1 from Lukas Czerner <lczerner@redhat.com>  2011-06-06 09:04:51 ---
Created an attachment (id=60892)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=60892)
BLKDISCARD testing program

Hi,

thanks for reporting! Could you please provide the output of this simple test
program ? Also the output of the following command.

grep $ /sys/block/sda/queue/discard_*

What kernel version are you using ?

Thanks!
-Lukas

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 36722] TRIM support is broken for Crucial M4 drives
  2011-06-05 15:05 [Bug 36722] New: TRIM support is broken for Crucial M4 drives bugzilla-daemon
  2011-06-06  9:04 ` [Bug 36722] " bugzilla-daemon
@ 2011-06-06 14:43 ` bugzilla-daemon
  2011-06-06 17:43 ` bugzilla-daemon
  2012-08-24 13:01 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2011-06-06 14:43 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=36722





--- Comment #2 from devsk <kernel-bugs.dev1world@spamgourmet.com>  2011-06-06 14:41:55 ---
I am on 2.6.38.8

$ grep $ /sys/block/sdk/queue/discard_*
/sys/block/sdk/queue/discard_granularity:0
/sys/block/sdk/queue/discard_max_bytes:0
/sys/block/sdk/queue/discard_zeroes_data:0

# /tmp/discard /dev/sdk5
discard: Operation not supported

Is this because of the LSI card not passing the TRIM onto the drive? Why does
hdparm report that TRIM is supported then?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 36722] TRIM support is broken for Crucial M4 drives
  2011-06-05 15:05 [Bug 36722] New: TRIM support is broken for Crucial M4 drives bugzilla-daemon
  2011-06-06  9:04 ` [Bug 36722] " bugzilla-daemon
  2011-06-06 14:43 ` bugzilla-daemon
@ 2011-06-06 17:43 ` bugzilla-daemon
  2012-08-24 13:01 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2011-06-06 17:43 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=36722


Martin K. Petersen <mkp@mkp.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mkp@mkp.net




--- Comment #3 from Martin K. Petersen <mkp@mkp.net>  2011-06-06 17:43:15 ---
hdparm asks the drive directly whereas the LSI card must be able to translate
from SCSI to ATA commands. None the LSI cards I have support that functionality
yet.

You can try sending us the output of:

# sg_readcap -l /dev/sdk

# sg_vpd -p thpv /dev/sdk

-- 
Martin K. Petersen      Oracle Linux Engineering

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

* [Bug 36722] TRIM support is broken for Crucial M4 drives
  2011-06-05 15:05 [Bug 36722] New: TRIM support is broken for Crucial M4 drives bugzilla-daemon
                   ` (2 preceding siblings ...)
  2011-06-06 17:43 ` bugzilla-daemon
@ 2012-08-24 13:01 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2012-08-24 13:01 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=36722


Alan <alan@lxorguk.ukuu.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alan@lxorguk.ukuu.org.uk
         Resolution|                            |DOCUMENTED




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

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

end of thread, other threads:[~2012-08-24 13:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-05 15:05 [Bug 36722] New: TRIM support is broken for Crucial M4 drives bugzilla-daemon
2011-06-06  9:04 ` [Bug 36722] " bugzilla-daemon
2011-06-06 14:43 ` bugzilla-daemon
2011-06-06 17:43 ` bugzilla-daemon
2012-08-24 13:01 ` bugzilla-daemon

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.