man page. Also fix suffix handling for data su/sw options
(disallow unit suffixes on -d sunit,swidth,sw and
-l sunit). Add "s" (512-byte sectors) as valid suffix.
+ - Automatically select v2 logs if a log stripe unit is
+ specified.
xfsprogs-2.1.1 (04 July 2002)
- Build infrastructure updates so that configure options can be
suboption to specify a version 2 log enables the
.B sunit
suboption, and allows the logbsize to be increased beyond 32K.
+Version 2 logs are automatically selected if a log stripe unit
+is specified. See \f3sunit\f1 and \f3su\f1 suboptions, below.
.IP
The
.B sunit
block size.
The equivalent byte value must be a multiple of the filesystem block
size.
+Version 2 logs are automatically selected if the log \f3su\f1
+suboption is specified.
.IP
The
.B su
The suboption value has to be specified in bytes,
(usually using the \f3s\f1 or \f3b\f1 suffixes).
This value must be a multiple of the filesystem block size.
+Version 2 logs are automatically selected if the log \f3su\f1
+suboption is specified.
.TP
.B \-n
Naming options.
usage();
}
+ /* if lsu or lsunit was specified, automatically use v2 logs */
+ if (lsu || lsunit) {
+ fprintf(stderr, "log stripe unit specified, using v2 logs\n");
+ logversion = 2;
+ }
+
calc_stripe_factors(dsu, dsw, lsu, &dsunit, &dswidth, &lsunit);
/* other global variables */