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@xxxxxxxxxxxxxxxxxxxx ReportedBy: kernel-bugs.dev1world@xxxxxxxxxxxxxxx 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. -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html