Remove the buffer cache's B_PHYS flag. This flag was originally used as
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 28 Apr 2006 00:24:46 +0000 (00:24 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 28 Apr 2006 00:24:46 +0000 (00:24 +0000)
commit9fd739f49dccbd72d5ed317a7e0dc9e735010b1f
tree481af12b3996465e7f42eba6dc7f43988084b8eb
parent8dbc6e87d3fd3b08dcaad759daba5b0e78f0b8a4
Remove the buffer cache's B_PHYS flag.  This flag was originally used as
part of a severe hack to treat buffers containing 'user' addresses
differently, in particular by using b_offset instead of b_blkno.  Now that
buffer cache buffers only HAVE b_offset (b_*blkno is gone for good), there
is literally no difference between B_PHYS I/O and non-B_PHYS I/O once
the buffer has been handed off to the device.
12 files changed:
sys/bus/cam/cam_periph.c
sys/dev/disk/fd/fd.c
sys/kern/kern_physio.c
sys/kern/vfs_aio.c
sys/kern/vfs_bio.c
sys/sys/buf.h
sys/vfs/nfs/nfs_bio.c
sys/vfs/nfs/nfs_vnops.c
sys/vfs/nwfs/nwfs_vnops.c
sys/vfs/smbfs/smbfs_vnops.c
sys/vfs/specfs/spec_vnops.c
sys/vfs/ufs/ffs_rawread.c