Index: reiser4progs-1.0.8/CREDITS =================================================================== --- reiser4progs-1.0.8.orig/CREDITS +++ reiser4progs-1.0.8/CREDITS @@ -71,3 +71,6 @@ is just amazing to watch his talent for Edward Shishkin wrote cryptcompress file plugin and other plugins related to transparent crypto and compression support. + +Ivan Shapovalov (aka Intelfx) implemented discard support, which is +useful for solid-state drives (SSDs). Index: reiser4progs-1.0.8/ChangeLog =================================================================== --- reiser4progs-1.0.8.orig/ChangeLog +++ reiser4progs-1.0.8/ChangeLog @@ -6,6 +6,23 @@ reiser4progs/COPYING. This file may be modified and/or distributed without restriction. This is not an invitation to misrepresent the history of reiser4progs. +2014-06-28 + 1.0.9 version +2014-06-28 + discard option to mkfs -- discard device at filesystem creation + time (for SSD drives) + + Fixup in librepair/twig_scan.c: cb_item_region_check(). +2013-05-03 + 1.0.8 version +2013-05-03 + Fixups in fsck.reiser4: repair a special kind of corruptions + appeared due to software bugs in earlier kernels. + + mkfs.reiser4 now enables intelligent compression with lzo1 + algorithm by default. If you want to create reiser4 without + compression, then override the default plugin set with the + "-o create=reg40" option. 2008-01-09 1.0.7 version. 2008-01-09 Index: reiser4progs-1.0.8/doc/mkfs.reiser4.8 =================================================================== --- reiser4progs-1.0.8.orig/doc/mkfs.reiser4.8 +++ reiser4progs-1.0.8/doc/mkfs.reiser4.8 @@ -52,6 +52,10 @@ universally unique identifier to be used .TP .B -s, --lost-found forces mkfs to create lost+found directory. +.TP +.B -d, --discard +tells mkfs to discard given device before creating the filesystem (for +solid state drives). .SH PLUGIN OPTIONS .TP .B -p, --print-profile Index: reiser4progs-1.0.8/configure.in =================================================================== --- reiser4progs-1.0.8.orig/configure.in +++ reiser4progs-1.0.8/configure.in @@ -15,7 +15,7 @@ AH_TEMPLATE([LIBREISER4_MIN_INTERFACE_VE LIBREISER4_MAJOR_VERSION=1 LIBREISER4_MINOR_VERSION=0 -LIBREISER4_MICRO_VERSION=8 +LIBREISER4_MICRO_VERSION=9 LIBREISER4_INTERFACE_AGE=0 LIBREISER4_BINARY_AGE=0 @@ -432,7 +432,7 @@ AC_CHECK_SIZEOF(off_t, 64, [ ]) OLD_LIBS="$LIBS" -AC_CHECK_LIBAAL(aal, 1.0.5, ,exit) +AC_CHECK_LIBAAL(aal, 1.0.6, ,exit) AAL_LIBS="$LIBS" LIBS="$OLD_LIBS" @@ -440,7 +440,7 @@ AC_SUBST(AAL_LIBS) if test x$enable_libminimal = xyes; then OLD_LIBS="$LIBS" - AC_CHECK_LIBAAL(aal-minimal, 1.0.5, ,exit) + AC_CHECK_LIBAAL(aal-minimal, 1.0.6, ,exit) AAL_MINIMAL_LIBS="$LIBS" LIBS="$OLD_LIBS" Index: reiser4progs-1.0.8/librepair/twig_scan.c =================================================================== --- reiser4progs-1.0.8.orig/librepair/twig_scan.c +++ reiser4progs-1.0.8/librepair/twig_scan.c @@ -19,7 +19,7 @@ static errno_t cb_item_region_check(blk_ /* This must be fixed at the first pass. */ if (start >= ts->bm_met->total || count > ts->bm_met->total || - start >= ts->bm_met->total - count) + start > ts->bm_met->total - count) { ts->stat.bad_unfm_ptrs++; return RE_FATAL;