PERFORCE change 169683 for review
Aditya Sarawgi
truncs at FreeBSD.org
Thu Oct 22 17:12:09 UTC 2009
http://p4web.freebsd.org/chv.cgi?CH=169683
Change 169683 by truncs at aditya on 2009/10/22 17:11:23
Ref: http://svn.freebsd.org/viewvc/base/head/sys/ufs/ffs/ffs_balloc.c?r1=8876&r2=13490
Affected files ...
.. //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/ext2_balloc.c#7 edit
Differences ...
==== //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/ext2_balloc.c#7 (text+ko) ====
@@ -219,7 +219,7 @@
break;
i += 1;
if (nb != 0) {
- brelse(bp);
+ bqrelse(bp);
continue;
}
if (pref == 0)
@@ -262,6 +262,8 @@
if (flags & B_SYNC) {
bwrite(bp);
} else {
+ if (bp->b_bufsize == fs->e2fs_bsize)
+ bp->b_flags |= B_CLUSTEROK;
bdwrite(bp);
}
}
@@ -290,6 +292,8 @@
if (flags & B_SYNC) {
bwrite(bp);
} else {
+ if (bp->b_bufsize == fs->e2fs_bsize)
+ bp->b_flags |= B_CLUSTEROK;
bdwrite(bp);
}
*bpp = nbp;
More information about the p4-projects
mailing list