Bug 172841 - aacraid does not support TRIM in Raw (Pass Through) devices
Summary: aacraid does not support TRIM in Raw (Pass Through) devices
Status: RESOLVED OBSOLETE
Alias: None
Product: SCSI Drivers
Classification: Unclassified
Component: DC395X (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: scsi_drivers-dc395x
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-24 00:38 UTC by Badalyan Vyacheslav
Modified: 2016-12-27 23:07 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.7.4-1.el7.elrepo.x86_64
Subsystem:
Regression: No
Bisected commit-id:


Attachments
AACRAID get config 1 (24.31 KB, text/plain)
2016-09-24 00:38 UTC, Badalyan Vyacheslav
Details

Description Badalyan Vyacheslav 2016-09-24 00:38:22 UTC
Created attachment 239601 [details]
AACRAID get config 1

Have SW raid 10. 8 x Intel SSD

Can't do fstrim.
mount -o discard does not add discard flag to mount point

[root@nas ~]# fstrim -v /mnt/SSD/
fstrim: /mnt/SSD/: the discard operation is not supported

[root@nas ~]# hdparm -I /dev/sdm | grep -i trim
           *    Data Set Management TRIM supported (limit 1 block)
           *    Deterministic read data after TRIM

[root@nas ~]# mount | grep SSD
/dev/md127 on /mnt/SSD type xfs (rw,relatime,attr2,inode64,sunit=1024,swidth=4096,noquota)

[root@nas ~]# cat /proc/mdstat
Personalities : [raid10]
md127 : active raid10 sdp1[0] sdr1[7] sdn1[6] sdm1[5] sdk1[4] sdl1[3] sdq1[2] sdo1[1]
      937195520 blocks super 1.2 512K chunks 2 near-copies [8/8] [UUUUUUUU]
      bitmap: 7/7 pages [28KB], 65536KB chunk

unused devices: <none>
Comment 1 Dave Carroll 2016-09-27 16:51:43 UTC
Hi Badalyan,

We are aware of the issue, and this is on our list of topics for a future release.

I'd like to put this is acknowledged.

Thanks, -Dave
Comment 2 Badalyan Vyacheslav 2016-10-28 22:50:18 UTC
Long. I sold and took a LSI

Note You need to log in before you can comment on or make changes to this bug.