]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: fix -l su minval
authorJan Tulak <jtulak@redhat.com>
Tue, 21 Jun 2016 02:52:22 +0000 (12:52 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 21 Jun 2016 02:52:22 +0000 (12:52 +1000)
commit2942ff49bdb6df08fb56674215b31c07cfc7c1fd
tree8496446c674256aa4acb1154472e0ecace2138e5
parent2be9e93986840038d880e282ead1ac81eb269251
mkfs: fix -l su minval

-l su should be in range BBTOB(1) <= L_SU <= XLOG_MAX_RECORD_BSIZE,
because the upper limit is imposed by kernel on iclogbuf: stripe
unit can't be bigger than the log buffer, but the log buffer can
span multiple stripe units. L_SUNIT is changed in the same way.

Signed-off-by: Jan Tulak <jtulak@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
mkfs/xfs_mkfs.c