Patches 1 and 2 are a re-send of v1 with some cleanup and fixes discovered after enabling debug mode. Next patches constitute new code since v1. Ivan Shapovalov (5): reiser4: discard support: make space_allocator's check_blocks() reusable. reiser4: discard support: initial implementation using extent lists. reiser4: discard support: enable discard functionality through a mount option. reiser4: discard support: add assertions to all code written within this feature. reiser4: discard support: downgrade all reiser4_log() to reiser4_debug(). fs/reiser4/Makefile | 1 + fs/reiser4/block_alloc.c | 38 ++- fs/reiser4/block_alloc.h | 14 +- fs/reiser4/debug.h | 4 + fs/reiser4/dformat.h | 2 + fs/reiser4/discard.c | 484 ++++++++++++++++++++++++++++++ fs/reiser4/discard.h | 38 +++ fs/reiser4/forward.h | 1 + fs/reiser4/init_super.c | 2 + fs/reiser4/plugin/space/bitmap.c | 81 +++-- fs/reiser4/plugin/space/bitmap.h | 2 +- fs/reiser4/plugin/space/space_allocator.h | 4 +- fs/reiser4/super.h | 4 +- fs/reiser4/txnmgr.c | 19 ++ fs/reiser4/txnmgr.h | 5 + fs/reiser4/znode.c | 9 +- 16 files changed, 653 insertions(+), 55 deletions(-) create mode 100644 fs/reiser4/discard.c create mode 100644 fs/reiser4/discard.h -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html