Skip to contentSkip to conversation

2.6.39.2: discard not supported on mpt2sas

DISCUSSION Justin Piszcz 1 participant 2 messages Jul 14, 2011 – Jul 15, 2011

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 4 lines · Justin Piszcz

Hi,

Something interesting to note:

Quoted 9 lines

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.