Skip to contentSkip to conversation

New: aacraid does not support TRIM in Raw (Pass Through) devices

Bug 172841 [email protected] 1 participant 4 messages Sep 24, 2016 – Dec 27, 2016 SCSI

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=172841

            Bug ID: 172841
           Summary: aacraid does not support TRIM in Raw (Pass Through)
                    devices
           Product: SCSI Drivers
           Version: 2.5
    Kernel Version: 4.7.4-1.el7.elrepo.x86_64
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DC395X
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 239601
--> https://bugzilla.kernel.org/attachment.cgi?id=239601&action=edit
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>

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 172841] aacraid does not support TRIM in Raw (Pass Through) devices

https://bugzilla.kernel.org/show_bug.cgi?id=172841

Dave Carroll <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Dave Carroll <[email protected]> --- 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

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 172841] aacraid does not support TRIM in Raw (Pass Through) devices

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=172841

Badalyan Vyacheslav <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |OBSOLETE
Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.