xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 785] xfs_io doesn't correctly reallocate struct getbm

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 785] xfs_io doesn't correctly reallocate struct getbmapx in bmap_f
From: bugzilla-daemon@xxxxxxxxxxx
Date: Thu, 10 Jul 2008 09:49:34 -0700
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=785





------- Additional Comments From moosh009@xxxxxxxxx  2008-07-10 09:49 CST 
-------
I think this diff is more correct.

xfsprogs/io/bmap.c
153c153
<   map_size = nflag ? nflag+1 : 32;    /* initial guess - 256 */
---
>   map_size = nflag ? nflag+1 : 32;    /* initial guess - 32 */
164c164
<  *    by nflag, or the initial guess number of extents (256).
---
>  *    by nflag, or the initial guess number of extents (32).
230,231c230,231
<       if (fsx.fsx_nextents >= map_size-1) {
<           map_size = 2*(fsx.fsx_nextents+1);
---
>       if (2*fsx.fsx_nextents > map_size) {
>           map_size = 2*fsx.fsx_nextents+1;




-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Bug 785] xfs_io doesn't correctly reallocate struct getbmapx in bmap_f, bugzilla-daemon <=