summaryrefslogtreecommitdiffstats
path: root/sys/fs/cd9660/cd9660_vnops.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-04 22:10:36 +0000
committerphk <phk@FreeBSD.org>2003-01-04 22:10:36 +0000
commit131885aa2f8d42ce9c721f66cd0c84ec7789ffc0 (patch)
treec7a5f4c248cdb6b6c66f82139acb14ed7ec6d6d0 /sys/fs/cd9660/cd9660_vnops.c
parenta307536f906cea2e4ba4d10d51b320520f1a30c1 (diff)
downloadFreeBSD-src-131885aa2f8d42ce9c721f66cd0c84ec7789ffc0.zip
FreeBSD-src-131885aa2f8d42ce9c721f66cd0c84ec7789ffc0.tar.gz
Temporarily introduce a new VOP_SPECSTRATEGY operation while I try
to sort out disk-io from file-io in the vm/buffer/filesystem space. The intent is to sort VOP_STRATEGY calls into those which operate on "real" vnodes and those which operate on VCHR vnodes. For the latter kind, the call will be changed to VOP_SPECSTRATEGY, possibly conditionally for those places where dual-use happens. Add a default VOP_SPECSTRATEGY method which will call the normal VOP_STRATEGY. First time it is called it will print debugging information. This will only happen if a normal vnode is passed to VOP_SPECSTRATEGY by mistake. Add a real VOP_SPECSTRATEGY in specfs, which does what VOP_STRATEGY does on a VCHR vnode today. Add a new VOP_STRATEGY method in specfs to catch instances where the conversion to VOP_SPECSTRATEGY has not yet happened. Handle the request just like we always did, but first time called print debugging information. Apart up to two instances of console messages per boot, this amounts to a glorified no-op commit. If you get any of the messages on your console I would very much like a copy of them mailed to phk@freebsd.org
Diffstat (limited to 'sys/fs/cd9660/cd9660_vnops.c')
-rw-r--r--sys/fs/cd9660/cd9660_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c
index 1fae0f7..0b892e6 100644
--- a/sys/fs/cd9660/cd9660_vnops.c
+++ b/sys/fs/cd9660/cd9660_vnops.c
@@ -731,7 +731,7 @@ cd9660_strategy(ap)
}
vp = ip->i_devvp;
bp->b_dev = vp->v_rdev;
- VOP_STRATEGY(vp, bp);
+ VOP_SPECSTRATEGY(vp, bp);
return (0);
}
OpenPOWER on IntegriCloud