Whamcloud - gitweb
e2freefrag: use GETFSMAP on mounted filesystems
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 15 May 2017 18:37:11 +0000 (11:37 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 30 May 2017 02:29:15 +0000 (22:29 -0400)
commit82424fc6bbe364ba64e4196bd099ebeab942d66b
treeff686a0e9921c49745e9fc1895dc2d063b6a1c4c
parent09703204f70c5e3174a99e3b4e1bd85a3870390b
e2freefrag: use GETFSMAP on mounted filesystems

Use GETFSMAP to query mounted filesystems for free space information.
This prevents us from reporting stale free space stats if there happen
to be uncheckpointed block bitmap updates sitting in the journal.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
configure
configure.ac
lib/config.h.in
misc/e2freefrag.c
misc/fsmap.h [new file with mode: 0644]