reiser4: discard before dealloc: first approximation.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | reiser4: discard support: perform discards and deallocations after writing logs.fs/ fs/ fs/ | +21 | 0 replies | |
| 2/2 | reiser4: discard support: proof-of-concept for "discard before dealloc".fs/ fs/ fs/ +2 more | +54 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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