]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
misc: handle very large files with filefrag
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 7 Feb 2020 01:09:46 +0000 (18:09 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Mar 2020 23:26:09 +0000 (18:26 -0500)
commite08226c708a0d1ba0fa5f7ba4f6e240b94cd9fb3
tree9a4510656bcda60ecd04e35b93c04cc7e5ad8207
parent70303df16ca6fb5939b5091b9cef6fac378c87d7
misc: handle very large files with filefrag

Avoid overflowing the column-width calc printing files over 4B blocks.

Document the [KMG] suffixes for the "-b <blocksize>" option.

The blocksize is limited to at most 1GiB blocksize to avoid shifting
all extents down to zero GB in size.  Even the use of 1GB blocksize
is unlikely, but non-ext4 filesystems may use multi-GB extents.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Lustre-bug-id: https://jira.whamcloud.com/browse/LU-13197
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/filefrag.8.in
misc/filefrag.c