All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Kasten <jens@kasten-edv.de>
To: dm-devel@redhat.com
Subject: trim support (discard)
Date: Sat, 08 Jan 2011 20:45:16 +0100	[thread overview]
Message-ID: <1294515916.5136.6.camel@jaschtschik-pc> (raw)

Hi list,

It is the first time the i write to this list.
I asked on the ext4 ml and they told me to ask here.

I use the kernel 2.6.37 with cryptsetup and lvm on a intel ssd. 
In the logfile after booting i see this entry:
EXT4-fs (dm-1): re-mounted. Opts: discard,errors=remount-ro
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: discard
EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: discard
EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: discard
EXT4-fs warning (device dm-1): ext4_issue_discard:2619: discard not
supported, disabling
EXT4-fs warning (device dm-3): ext4_issue_discard:2619: discard not
supported, disabling
EXT4-fs warning (device dm-3): ext4_issue_discard:2619: discard not
supported, disabling
EXT4-fs warning (device dm-3): ext4_issue_discard:2619: discard not
supported, disabling
EXT4-fs (sda1): re-mounted. Opts: discard,commit=0
EXT4-fs (dm-3): re-mounted. Opts: discard,commit=0
EXT4-fs (dm-2): re-mounted. Opts: discard,commit=0

The mount command shows:
/dev/mapper/System2-root_ssd on / type ext2
(rw,noatime,errors=remount-ro,barrier=1,stripe=32,data=ordered,discard)
and the corresponding entry from fstab:
UUID="635a1ad9-9ebb-4d1e-b8c3-30e11148bd92"     /                   ext4
noatime,discard,errors=remount-ro               0       1

So, no discard support so far.
Then i try the wiper.sh script and i get:
wiper.sh: Linux SATA SSD TRIM utility, version 3.1, by Mark Lord.
/dev/dm-1: unable to reliably determine the underlying physical device
name, aborting

Its there in near future the discard support on the LVM?

Viele Grüsse
Jens Kasten

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

             reply	other threads:[~2011-01-08 19:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-08 19:45 Jens Kasten [this message]
2011-01-09 13:28 ` trim support (discard) Milan Broz
2011-01-10  1:50   ` Jens Kasten

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=1294515916.5136.6.camel@jaschtschik-pc \
    --to=jens@kasten-edv.de \
    --cc=dm-devel@redhat.com \
    /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.