From: Theodore Ts'o <tytso@mit.edu>
To: Stephen Warren <swarren@wwwdotorg.org>
Cc: "Lukáš Czerner" <lczerner@redhat.com>,
"Chris Ball" <cjb@laptop.org>,
linux-ext4@vger.kernel.org, "Stephen Warren" <swarren@nvidia.com>
Subject: Re: [PATCH] mke2fs: restore verbose message for BLKDISCARD
Date: Fri, 8 Mar 2013 14:06:35 -0500 [thread overview]
Message-ID: <20130308190635.GC12008@thunk.org> (raw)
In-Reply-To: <20130308190019.GB12008@thunk.org>
Here's an idea. What if we set a timer when send the first probing
discard, and if it takes too long, we print an error message and then
try to recover.
More generally, if we can't trust a device's advertised discard
parameters, maybe it makes sense to create a userspace program that
benchmarks the device to determine various critical flash parameters,
including "does discard really work?" "Is it hopelessly slow"', and
"what is the erase block size"? This program can then send the
appropriate parameters to a filesystem's mkfs program.
- Ted
next prev parent reply other threads:[~2013-03-08 19:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-05 20:25 [PATCH] mke2fs: restore verbose message for BLKDISCARD Stephen Warren
2013-03-06 7:13 ` Lukáš Czerner
2013-03-07 19:47 ` Stephen Warren
2013-03-08 7:23 ` Lukáš Czerner
2013-03-08 17:18 ` Stephen Warren
2013-03-08 19:00 ` Theodore Ts'o
2013-03-08 19:06 ` Theodore Ts'o [this message]
2013-03-08 19:08 ` Chris Ball
2013-03-08 20:03 ` Stephen Warren
2013-03-08 20:12 ` Chris Ball
2013-03-11 14:08 ` Eric Sandeen
2013-03-11 14:18 ` Lukáš Czerner
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=20130308190635.GC12008@thunk.org \
--to=tytso@mit.edu \
--cc=cjb@laptop.org \
--cc=lczerner@redhat.com \
--cc=linux-ext4@vger.kernel.org \
--cc=swarren@nvidia.com \
--cc=swarren@wwwdotorg.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).