From: Mike Snitzer <snitzer@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Trim support on stripped volumes ?
Date: Wed, 25 May 2011 09:23:02 -0400 [thread overview]
Message-ID: <20110525132301.GD10145@redhat.com> (raw)
In-Reply-To: <1306311098.3911.5.camel@franck-VPCCW2S1E>
On Wed, May 25 2011 at 4:11am -0400,
Franck Routier (personnel) <alci@mecadu.org> wrote:
> Le mardi 24 mai 2011 � 09:14 -0400, Mike Snitzer a �crit :
>
> > When using -o discard, ext4 will log a warning if a discard failed (and
> > will disable discards).
> >
> > So ext4 is a great indicator for whether discards are working on your
> > striped LV volume.
> >
>
> Just out of curiosity, how does ext4 tell if discards is working or
> not ?
It checks the return code from ext4_issue_discard() -- which comes from
sb_issue_discard(). See: fs/ext4/mballoc.c:release_blocks_on_commit()
prev parent reply other threads:[~2011-05-25 13:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-24 9:20 [linux-lvm] Trim support on stripped volumes ? Franck Routier (personnel)
2011-05-24 9:51 ` Franck Routier (personnel)
2011-05-24 13:14 ` Mike Snitzer
2011-05-25 8:11 ` Franck Routier (personnel)
2011-05-25 13:23 ` Mike Snitzer [this message]
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=20110525132301.GD10145@redhat.com \
--to=snitzer@redhat.com \
--cc=linux-lvm@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.