[PATCH] XFS: fix the description of 'allocsize=' mount option

Dave Chinner david at fromorbit.com
Thu Feb 27 00:42:21 CST 2014


On Wed, Feb 26, 2014 at 01:38:59PM +0900, sat wrote:
> Hi Dave,
> 
> >Actually, it isn't. The initial size of dynamic prealloc is
> >determined by a set of heuristics based on file size, filesystem
> >geometry and the existing extents on the file. It uses a default
> >of 64k if no optimisation heuristics trigger.
> 
> I see. I should have read the code more carefully.
> 
> ---
> From: Satoru Takeuchi <takeuchi_satoru at jp.fujitsu.com>
> Subject: [PATCH] XFS: remove the description about the default value of "allocsize=" mount option
> 
> The end-of-file preallocation size is dynamic by default.
> So there is no static default size specified by "allocsize="
> mount option and the description about the default size
> should be removed.
> 
> Signed-off-by: Satoru Takeuchi <takeuchi_satoru at jp.fujitsu.com>
> Cc: Dave Chinner <david at fromorbit.com>
> Cc: Rob Landley <rob at landley.net>

Looks good.

Reviewed-by: Dave Chinner <dchinner at redhat.com>

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list