Module Name: src Committed By: pooka Date: Wed Aug 5 14:11:33 UTC 2009
Modified Files: src/sys/uvm: uvm_extern.h uvm_pager.c Log Message: kill uvm_aio_biodone1(). only user was lfs and that uses nestiobuf now. To generate a diff of this commit: cvs rdiff -u -r1.156 -r1.157 src/sys/uvm/uvm_extern.h cvs rdiff -u -r1.95 -r1.96 src/sys/uvm/uvm_pager.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/uvm/uvm_extern.h diff -u src/sys/uvm/uvm_extern.h:1.156 src/sys/uvm/uvm_extern.h:1.157 --- src/sys/uvm/uvm_extern.h:1.156 Wed Aug 5 14:10:33 2009 +++ src/sys/uvm/uvm_extern.h Wed Aug 5 14:11:32 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_extern.h,v 1.156 2009/08/05 14:10:33 pooka Exp $ */ +/* $NetBSD: uvm_extern.h,v 1.157 2009/08/05 14:11:32 pooka Exp $ */ /* * @@ -721,7 +721,6 @@ void uvm_setpagesize(void); /* uvm_pager.c */ -void uvm_aio_biodone1(struct buf *); void uvm_aio_biodone(struct buf *); void uvm_aio_aiodone(struct buf *); void uvm_aio_aiodone_pages(struct vm_page **, int, bool, Index: src/sys/uvm/uvm_pager.c diff -u src/sys/uvm/uvm_pager.c:1.95 src/sys/uvm/uvm_pager.c:1.96 --- src/sys/uvm/uvm_pager.c:1.95 Mon Mar 30 16:36:36 2009 +++ src/sys/uvm/uvm_pager.c Wed Aug 5 14:11:32 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_pager.c,v 1.95 2009/03/30 16:36:36 yamt Exp $ */ +/* $NetBSD: uvm_pager.c,v 1.96 2009/08/05 14:11:32 pooka Exp $ */ /* * @@ -39,7 +39,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_pager.c,v 1.95 2009/03/30 16:36:36 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_pager.c,v 1.96 2009/08/05 14:11:32 pooka Exp $"); #include "opt_uvmhist.h" #include "opt_readahead.h" @@ -254,28 +254,6 @@ } /* - * interrupt-context iodone handler for nested i/o bufs. - * - * => the buffer is private so need not be locked here - */ - -void -uvm_aio_biodone1(struct buf *bp) -{ - struct buf *mbp = bp->b_private; - - KASSERT(mbp != bp); - if (bp->b_error != 0) { - mbp->b_error = bp->b_error; - } - mbp->b_resid -= bp->b_bcount; - putiobuf(bp); - if (mbp->b_resid == 0) { - biodone(mbp); - } -} - -/* * interrupt-context iodone handler for single-buf i/os * or the top-level buf of a nested-buf i/o. */