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.
|