All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ted Ts'o <tytso@mit.edu>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Eric Sandeen <sandeen@redhat.com>,
	linux-ext4@vger.kernel.org, Lukas Czerner <lczerner@redhat.com>
Subject: Re: Some interesting input from a flash manufacturer
Date: Tue, 6 Mar 2012 19:52:03 -0500	[thread overview]
Message-ID: <20120307005203.GB5717@thunk.org> (raw)
In-Reply-To: <yq1mx7tk1rn.fsf@sermon.lab.mkp.net>

On Tue, Mar 06, 2012 at 01:44:28PM -0500, Martin K. Petersen wrote:
> >>>>> "Ted" == Ted Ts'o <tytso@mit.edu> writes:
> 
> Ted> As far as the /sys/block/XXX/queue/* framework, certainly.  It's
> Ted> not clear, however, whether or not we should use entirely new
> Ted> parameters, or try to reuse the existing parameters.  For example,
> Ted> would it be better to use optimal_io_size for the flash page size,
> Ted> or the erase block size?
> 
> If we were to use the existing fields we'd probably set min_io to the
> flash page size and optimal_io to the erase block size.

But min_io currently means the smallest size that we're allowed to
write, correct?  And the flash page size could be 128k and 512 byte
writes might be perfectly OK; it's just that writes are more optimal
at 128k, and would be even more optimal at the erbase block size of 4
megs.  That's why I'm not sure it makes sense to use the existing
fields, since it will confuse file system utilities that are reading
those fields.

   	     	       	       	      - Ted

  reply	other threads:[~2012-03-07 16:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-02 21:00 Some interesting input from a flash manufacturer Theodore Ts'o
2012-03-02 21:04 ` Eric Sandeen
2012-03-02 23:11   ` Ted Ts'o
2012-03-06  1:12     ` Greg Freemyer
2012-03-06 18:44     ` Martin K. Petersen
2012-03-07  0:52       ` Ted Ts'o [this message]
2012-03-08  4:36         ` Martin K. Petersen
2012-03-06 18:42   ` Martin K. Petersen
2012-03-05  7:00 ` Lukas 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=20120307005203.GB5717@thunk.org \
    --to=tytso@mit.edu \
    --cc=lczerner@redhat.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=sandeen@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.