xfs: Increase the default size of the reserved blocks pool
authorDave Chinner <david@fromorbit.com>
Thu, 4 Mar 2010 01:46:25 +0000 (01:46 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 5 Mar 2010 17:01:59 +0000 (11:01 -0600)
commit8babd8a2e75cccff3167a61176c2a3e977e13799
tree3d438e7ed84ad1f06a1a67fbb62725c92c6ad224
parent3ed3a4343b79a79d10e31f85f2d1afabcead76c6
xfs: Increase the default size of the reserved blocks pool

The current default size of the reserved blocks pool is easy to deplete
with certain workloads, in particular workloads that do lots of concurrent
delayed allocation extent conversions.  If enough transactions are running
in parallel and the entire pool is consumed then subsequent calls to
xfs_trans_reserve() will fail with ENOSPC.  Also add a rate limited
warning so we know if this starts happening again.

This is an updated version of an old patch from Lachlan McIlroy.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_mount.c