]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_scrub: record disk LBA size
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 17 Oct 2019 02:35:26 +0000 (22:35 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 17 Oct 2019 02:35:26 +0000 (22:35 -0400)
commit20e10ad4b9dfa361e5c1039e89896694ec55a79c
treec6c83da057ebcc9e38f06a53b442db7ed7f0c3da
parent15589f0affd5f9ae47eae415c6c681436defac5a
xfs_scrub: record disk LBA size

Remember the size (in bytes) of a logical block on the disk.  We'll use
this in subsequent patches to improve the ability of media scans to
report on which files are corrupt.

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/disk.c
scrub/disk.h