]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_scrub: create a bitmap data structure
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 2 Feb 2018 15:32:46 +0000 (09:32 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 2 Feb 2018 15:32:46 +0000 (09:32 -0600)
commit0cf6f68627469fcdab0756e668f5d15d6fab6ccd
tree7128d991f8485d70be5e1a7f4471d7e2ace873b3
parent4bbed4ecc2af9e9bff1764ec8e737418cf644aab
xfs_scrub: create a bitmap data structure

Create an efficient tree-based bitmap data structure.  We will use this
during the data block scan to record the LBAs of IO errors so that we
can report broken files to userspace.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
scrub/Makefile
scrub/bitmap.c [new file with mode: 0644]
scrub/bitmap.h [new file with mode: 0644]