]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
[btr] Add a comment to btr_pool_available().
authorAndre Noll <maan@systemlinux.org>
Thu, 14 Jan 2010 22:58:00 +0000 (23:58 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 14 Jan 2010 22:58:00 +0000 (23:58 +0100)
buffer_tree.c

index 5571b4338fd841343034892c3591080806691734..4160646da483bff8c8b0eea6c754d05fe17cf895 100644 (file)
@@ -100,6 +100,10 @@ size_t btr_pool_unused(struct btr_pool *btrp)
        return btr_pool_size(btrp) - btr_pool_filled(btrp);
 }
 
+/*
+ * Return maximal size available for one read. This is
+ * smaller than the value returned by btr_pool_unused().
+ */
 size_t btr_pool_available(struct btr_pool *btrp)
 {
        if (!btrp->whead)