On Wednesday 16 July 2014 at 15:24:02, Ivan Shapovalov wrote: > 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(-) ...and yes, these patches should be considered nothing but a payload for testing whatever you use for systematic full-system backups :) -- Ivan Shapovalov / intelfx /
Attachment:
signature.asc
Description: This is a digitally signed message part.