[ui] add a timer on the status bar

* also ensure that the user sees a report in case too many bad blocks were found
* also changed bad blocks threshold to 256
This commit is contained in:
Pete Batard 2011-12-08 12:14:21 +00:00
parent b006e6a837
commit 4ce6a1f0f1
6 changed files with 65 additions and 18 deletions

View file

@ -38,7 +38,7 @@ typedef struct ext2_struct_u32_iterate *ext2_u32_iterate;
#define EXT2_CHECK_MAGIC(struct, code) \
if ((struct)->magic != (code)) return (code)
#define EXT2_BAD_BLOCKS_THRESHOLD 32
#define EXT2_BAD_BLOCKS_THRESHOLD 256
#define EXT2_BLOCKS_AT_ONCE 64
#define EXT2_SYS_PAGE_SIZE 4096