All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-scsi@vger.kernel.org
Subject: [Bug 172841] New: aacraid does not support TRIM in Raw (Pass Through) devices
Date: Sat, 24 Sep 2016 00:38:22 +0000	[thread overview]
Message-ID: <bug-172841-11613@https.bugzilla.kernel.org/> (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: scsi_drivers-dc395x@kernel-bugs.osdl.org
          Reporter: v.badalyan@open-bs.ru
        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>

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

             reply	other threads:[~2016-09-24  0:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-24  0:38 bugzilla-daemon [this message]
2016-09-27 16:51 ` [Bug 172841] aacraid does not support TRIM in Raw (Pass Through) devices bugzilla-daemon
2016-10-28 22:50 ` bugzilla-daemon
2016-12-27 23:07 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-172841-11613@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.