All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Shishkin <edward.shishkin@gmail.com>
To: "reiserfs-devel@vger.kernel.org" <reiserfs-devel@vger.kernel.org>,
	Ivan Shapovalov <intelfx100@gmail.com>
Subject: [patch 0/1] reiser4: iterate over extents in discard_atom
Date: Sun, 20 Jul 2014 14:47:32 +0200	[thread overview]
Message-ID: <53CBBA64.9030909@gmail.com> (raw)

In this version we support all erase units (not only ones, which are 
powers of 2).
I put a restriction 1MiB for erase units just to filter possible 
garbage. We can
increase this boundary, if needed.
Alignments with (bdev_discard_alignment() % s_blocksize != 0) are still 
unsupported.

I have added mount options to specify erase unit and alignment in bytes. 
This is
only for debugging purposes (to emulate real situations). Usage is the 
following:

mount /dev/xxx -o discard,discard.unit=yyy,discard.offset=zzz /mnt

Thanks,
Edward.

                 reply	other threads:[~2014-07-20 12:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=53CBBA64.9030909@gmail.com \
    --to=edward.shishkin@gmail.com \
    --cc=intelfx100@gmail.com \
    --cc=reiserfs-devel@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.