summaryrefslogtreecommitdiffstats
path: root/sys/dev/vn
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-05-03 07:47:46 +0000
committerphk <phk@FreeBSD.org>2000-05-03 07:47:46 +0000
commitc7feb175725898650e653125977fd06936707337 (patch)
treed4b04879f7ed3a3547183a5315db12b5c955e719 /sys/dev/vn
parent62efea1e92f2c29489a4040c037e38803f1a1c84 (diff)
downloadFreeBSD-src-c7feb175725898650e653125977fd06936707337.zip
FreeBSD-src-c7feb175725898650e653125977fd06936707337.tar.gz
Convert the vm_pager_strategy() interface to take a struct bio instead of
a struct buf. Don't try to examine B_ASYNC, it is a layering violation to do so. The only current user of this interface is vn(4) which, since it emulates a disk interface, operates on struct bio already.
Diffstat (limited to 'sys/dev/vn')
-rw-r--r--sys/dev/vn/vn.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c
index 0ce3c05..f8ba7e9 100644
--- a/sys/dev/vn/vn.c
+++ b/sys/dev/vn/vn.c
@@ -267,8 +267,6 @@ vnopen(dev_t dev, int flags, int mode, struct proc *p)
* for vnode-backed vn's, and the new vm_pager_strategy() call for
* vm_object-backed vn's.
*
- * Currently B_ASYNC is only partially handled - for OBJT_SWAP I/O only.
- *
* NOTE: bp->b_blkno is DEV_BSIZE'd. We must generate bp->b_pblkno for
* our uio or vn_pager_strategy() call that is vn->sc_secsize'd
*/
OpenPOWER on IntegriCloud