Skip to content

reiser4: discard before dealloc: first approximation.

Ivan Shapovalov reiserfs-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2reiser4: discard support: perform discards and deallocations after writing logs.fs/reiser4/block_alloc.c fs/reiser4/txnmgr.c fs/reiser4/wander.c+21 -170 replies
2/2reiser4: discard support: proof-of-concept for "discard before dealloc".fs/reiser4/block_alloc.c fs/reiser4/discard.c fs/reiser4/discard.h +2 more+54 -752 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [veryRFC] [PATCH 0/2] reiser4: discard before dealloc: first approximation.

This needs your version of discard algorithm, because blocks inside extents of discard set are now marked as allocated.

BTW, have you dropped the case with erase unit size < block size? This is probably OK, but configurations with nonzero alignments are then broken. Not worth handling these, I think, but nevertheless a warning could be useful ;)

Ivan Shapovalov (2):
reiser4: discard support: perform discards and deallocations after writing logs.
reiser4: discard support: proof-of-concept for "discard before dealloc".

 fs/reiser4/block_alloc.c | 48 +++++++++++++++++++-------------------
 fs/reiser4/discard.c     | 60 ++++++++++++++++++++++++++++++++++--------------
 fs/reiser4/discard.h     |  4 +++-
 fs/reiser4/txnmgr.c      | 35 ----------------------------
 fs/reiser4/txnmgr.h      | 13 ++---------
 fs/reiser4/wander.c      |  3 ++-
 6 files changed, 73 insertions(+), 90 deletions(-)
Signature · 1 line
2.0.1