From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932458Ab1GNVzA (ORCPT ); Thu, 14 Jul 2011 17:55:00 -0400 Received: from lucidpixels.com ([72.73.18.11]:50733 "EHLO lucidpixels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932311Ab1GNVy7 (ORCPT ); Thu, 14 Jul 2011 17:54:59 -0400 Date: Thu, 14 Jul 2011 17:54:58 -0400 (EDT) From: Justin Piszcz To: linux-kernel@vger.kernel.org cc: Alan Piszcz Subject: 2.6.39.2: discard not supported on mpt2sas Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Something interesting to note: When I have an Intel 510 SSD plugged into an mpt2sas board, discard (TRIM) is not supported: [ 16.483409] EXT4-fs (sda2): re-mounted. Opts: discard [ 17.814743] EXT4-fs warning (device sda2): release_blocks_on_commit:2679: discard not supported, disabling With a regular SATA port or an (PCI-e 2.0 x1 card), it works but with the overhead, PCI-e x1 seems to peak around 400-430MiB/s for reads, whereas with an X8 SAS controller I see 480-495MiB/s as the benchmarks show on various websites, ah well, its one thing or the other. Justin.