Re: LSI SAS2008 SATA TRIM not working

2015-09-08 Thread Chang Limin
Kurt Miller intricatesoftware.com> writes: > > On Thu, 2014-02-06 at 18:56 -0500, Kurt Miller wrote: > > Various sources indicate that LSI's SAS2008 controllers support TRIM > > when running their IT firmware (LSI [1] and this list [2]). However, I > > have not been able to get it working with D

Re: LSI SAS2008 SATA TRIM not working

2014-02-11 Thread Kurt Miller
I can report that the Samsung 840 Pro *does* support trim on the LSI SAS2008. As suspected it supports deterministic read zeros after trim. One other thing to note, in my testing the P16 LSI firmware has broken trim support. P14 and P15 report incorrect values for /sys/block/sdX/queue/discard_gran

Re: LSI SAS2008 SATA TRIM not working

2014-02-09 Thread Kurt Miller
On Fri, 2014-02-07 at 20:24 -0500, Martin K. Petersen wrote: > > "Kurt" == Kurt Miller writes: > > Kurt> # hdparm -I /dev/sdc > > [...] > > I don't see any deterministic read after trim/read zero after trim > support on your drive. And I have a sneaking suspicion that those are > two of th

Re: LSI SAS2008 SATA TRIM not working

2014-02-07 Thread Martin K. Petersen
> "Kurt" == Kurt Miller writes: Kurt> # hdparm -I /dev/sdc [...] I don't see any deterministic read after trim/read zero after trim support on your drive. And I have a sneaking suspicion that those are two of the fields that the LSI firmware looks at when deciding whether to support logica

Re: LSI SAS2008 SATA TRIM not working

2014-02-07 Thread Kurt Miller
On Fri, 2014-02-07 at 15:59 -0500, Martin K. Petersen wrote: > > "Kurt" == Kurt Miller writes: > Kurt>provisioning: lbpme=0, lbprz=0 Last logical block >^^^ > > This indicates the SAT on the mpt2sas board didn't enable discard > support for the drive. > > Plea

Re: LSI SAS2008 SATA TRIM not working

2014-02-07 Thread Martin K. Petersen
> "Kurt" == Kurt Miller writes: Kurt> Thank you for your reply. Below is the output you requested. Note Kurt> that when the EVO's are connected to a SATA AHCI port on my Kurt> desktop motherboard, TRIM works okay. Please let me know if you Kurt> need additional information. Kurt>provisio

Re: LSI SAS2008 SATA TRIM not working

2014-02-07 Thread Kurt Miller
On Fri, 2014-02-07 at 15:44 -0500, Martin K. Petersen wrote: > > "Kurt" == Kurt Miller writes: > > Kurt> Is TRIM working for anyone using LSI SAS2008 controllers? > > Yes. But its SAT appears to be somewhat selective about which devices it > flags as capable. > > Please send me the output o

Re: LSI SAS2008 SATA TRIM not working

2014-02-07 Thread Kurt Miller
On Thu, 2014-02-06 at 18:56 -0500, Kurt Miller wrote: > Various sources indicate that LSI's SAS2008 controllers support TRIM > when running their IT firmware (LSI [1] and this list [2]). However, I > have not been able to get it working with Dell PERC H200 or H310 cross > flashed into LSI IT firmwa

Re: LSI SAS2008 SATA TRIM not working

2014-02-07 Thread Martin K. Petersen
> "Kurt" == Kurt Miller writes: Kurt> Is TRIM working for anyone using LSI SAS2008 controllers? Yes. But its SAT appears to be somewhat selective about which devices it flags as capable. Please send me the output of: # sg_readcap -l /dev/sdc # sg_vpd -p bl /dev/sdc # sg_vpd -p lbpv /dev/sd

LSI SAS2008 SATA TRIM not working

2014-02-06 Thread Kurt Miller
Various sources indicate that LSI's SAS2008 controllers support TRIM when running their IT firmware (LSI [1] and this list [2]). However, I have not been able to get it working with Dell PERC H200 or H310 cross flashed into LSI IT firmware. Currently I'm testing with Samsung 840 EVO SATA SSDs. I ha