The following reply was made to PR kern/178388; it has been noted by GNATS.

From: Matthew Rezny <[email protected]>
To: [email protected], [email protected]
Cc:  
Subject: Re: kern/178388: [zfs] [patch] allow up to 8MB recordsize
Date: Tue, 7 May 2013 16:11:50 +0200

 The proposed patch is rather ugly. Is there some reason to not simply
 change the definition of SPA_MAXBLOCKSIZE?
 
 The point of defining a constant is it can then be changed in the place
 it's defined rather than in every place it's used. Having to go change
 every reference to it is error prone as missing a single reference could
 wreck havoc.
 
 Specifically, I call into question the effect this has on the
 definition of SPA_BLOCKSIZES. The reference to SPA_MAXBLOCKSIZE was not
 replaced by SPA_BIGBLOCKSIZE and thus SPA_BLOCKSIZES is insufficiently
 sized to represent all the possible block sizes that could be used.
 
 That one jumped out at me when I skimmed over the patch. I have not
 reviewed all the ZFS code to look for other unchanged references that
 are not part of the patch context.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to