All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 0/1] reiser4: iterate over extents in discard_atom
@ 2014-07-20 12:47 Edward Shishkin
  0 siblings, 0 replies; only message in thread
From: Edward Shishkin @ 2014-07-20 12:47 UTC (permalink / raw)
  To: reiserfs-devel@vger.kernel.org, Ivan Shapovalov

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-20 12:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-20 12:47 [patch 0/1] reiser4: iterate over extents in discard_atom Edward Shishkin

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.