On Thu, Feb 17, 2005 at 12:02:33AM +0000, Pedro Venda wrote:

> admin proc # cat slabinfo
...
> biovec-1           74224  74354     16  226    1 : tunables  120   60    0 : 
> slabdata    329    329      0
> bio                74212  74237     64   61    1 : tunables  120   60    0 : 
> slabdata   1217   1217      0

If you're using md, you need this patch to fix a bio leak:

http://linux.bkbits.net:8080/linux-2.6/diffs/drivers/md/[EMAIL PROTECTED]


Index: ac-dev/drivers/md/md.c
===================================================================
--- ac-dev.orig/drivers/md/md.c 2005-02-07 17:50:37.000000000 -0500
+++ ac-dev/drivers/md/md.c      2005-02-08 17:49:57.000000000 -0500
@@ -336,8 +336,6 @@
        struct completion event;
        int ret;
 
-       bio_get(bio);
-
        rw |= (1 << BIO_RW_SYNC);
 
        bio->bi_bdev = bdev;
-- 
It's a big galaxy, Mr. Scott.
                                                    -- Lieutenant Uhura
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
Noel Maddy <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to