kill uvm_aio_biodone1(). only user was lfs and that uses nestiobuf now.

This commit is contained in:
pooka 2009-08-05 14:11:32 +00:00
parent 5bd015d57e
commit 1252aada83
2 changed files with 3 additions and 26 deletions

View File

@ -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_page_physload(paddr_t, paddr_t, paddr_t,
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,

View File

@ -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"
@ -253,28 +253,6 @@ uvm_pagermapout(vaddr_t kva, int npages)
UVMHIST_LOG(maphist,"<- done",0,0,0,0);
}
/*
* 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.