summaryrefslogtreecommitdiffstats
path: root/sys/fs/ext2fs
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2013-04-06 22:21:23 +0000
committerjeff <jeff@FreeBSD.org>2013-04-06 22:21:23 +0000
commitfa887dba7b511d88568bd53f128474c5635f9264 (patch)
treef92f1ee66b920b82d9dc8a70d926782646206139 /sys/fs/ext2fs
parent440815b543293719279de0cbf109c7ab03f7caa0 (diff)
downloadFreeBSD-src-fa887dba7b511d88568bd53f128474c5635f9264.zip
FreeBSD-src-fa887dba7b511d88568bd53f128474c5635f9264.tar.gz
Prepare to replace the buf splay with a trie:
- Don't insert BKGRDMARKER bufs into the splay or dirty/clean buf lists. No consumers need to find them there and it complicates the tree. These flags are all FFS specific and could be moved out of the buf cache. - Use pbgetvp() and pbrelvp() to associate the background and journal bufs with the vp. Not only is this much cheaper it makes more sense for these transient bufs. - Fix the assertions in pbget* and pbrel*. It's not safe to check list pointers which were never initialized. Use the BX flags instead. We also check B_PAGING in reassignbuf() so this should cover all cases. Discussed with: kib, mckusick, attilio Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/fs/ext2fs')
-rw-r--r--sys/fs/ext2fs/ext2_alloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/ext2fs/ext2_alloc.c b/sys/fs/ext2fs/ext2_alloc.c
index 13cb391..fb94c20 100644
--- a/sys/fs/ext2fs/ext2_alloc.c
+++ b/sys/fs/ext2fs/ext2_alloc.c
@@ -794,8 +794,6 @@ ext2_clusteralloc(struct inode *ip, int cg, daddr_t bpref, int len)
goto fail_lock;
bbp = (char *)bp->b_data;
- bp->b_xflags |= BX_BKGRDWRITE;
-
EXT2_LOCK(ump);
/*
* Check to see if a cluster of the needed size (or bigger) is
OpenPOWER on IntegriCloud