Unless you have the latest CAM patches, which is in current, you wont be
doing TRIM on SATA disk connected to an LSI controller.
I've just tested using the following cmd under 8.3 with MFC'ed changes from
current, using ATA_TRIM, UNMAP & WS16 and have had no issues on a machine
with Intel SSD and LSI controller.
./iotest -t 20 -s 536870912 -W 100 -T 500 /test/iotest/
I did however notice that your test is hardly doing any disk access apart
from when its "Initializing test file....", instead it seems to be CPU bound,
so not sure if there's a problem with the iotest code or with my command
line args?
Given this my current thinking is either:
1. There's a problem with your patches
2. There's a bug in the FW of the Seagate disk
3. There's a problem with the UNMAP code which is being trigged by your disk
only.
I think #3 is quite unlikely.
If you could install a recent version of current and test with that it
should rule out #1, leaving #2.
================================================