Re: 2.6.39.2: discard not supported on mpt2sas

From: Justin Piszcz
Date: Fri Jul 15 2011 - 03:42:10 EST



On Thu, 14 Jul 2011, Justin Piszcz wrote:

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.


Hi,

Is there anyway to allow pass through for TRIM via mp2sas or is it strictly for SATA controllers only?

Justin.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/