[XFS] Fix up the calculation of the reservation overhead to hopefully
authorTim Shimmin <tes@sgi.com>
Fri, 2 Sep 2005 06:41:43 +0000 (16:41 +1000)
committerNathan Scott <nathans@sgi.com>
Fri, 2 Sep 2005 06:41:43 +0000 (16:41 +1000)
commit32fb9b57aef35b82434cfb4c9de18b484fc3ec88
tree6905e66c1ef26d321fdf2cd1fc9421ebde67937b
parentd52b44d07a43b723ac2fbf1bf4053031f723676c
[XFS] Fix up the calculation of the reservation overhead to hopefully
include all the components which make up the transaction in the ondisk
log. Having this incomplete has shown up as problems on IRIX when some v2
log changes went in. The symptom was the msg of "xfs_log_write:
reservation ran out. Need to up reservation" and was seen on synchronous
writes on files with lots of holes (and therefore lots of extents).

SGI-PV: 931457
SGI-Modid: xfs-linux:xfs-kern:23095a

Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/xfs_log.c