OSDN Git Service

e2freefrag: use 64-bit rbtree bitmaps
authorTheodore Ts'o <tytso@mit.edu>
Fri, 5 Oct 2012 03:30:23 +0000 (23:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 5 Oct 2012 03:30:23 +0000 (23:30 -0400)
commitea2d3788621cec5ed067280c7d228ec8897d2208
tree472e9d7564bb52589af98ea7cab86ab9a4e1d8de
parentc498cb11d3e72e41af760bd882675f44db8b77e7
e2freefrag: use 64-bit rbtree bitmaps

Enable the use of 64-bit bitmaps, so e2freefrag will work on file
systems with the 64-bit feature enabled.  In addition, enable the
rbtree-based bitmaps, which significantly saves the amount of memory
required (from 97 megs to 1.7 megs for an empty 3T file system) at the
cost of additional CPU overhead (but we will claw back some of the
additional CPU overhead in the next commit).

Addresses-Google-Bug: 7269948

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/e2freefrag.c