DragonFly commits List (threaded) for 2012-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: Kernel - Completely remove DFLTPHYS
commit d83666e0134c4fe447b61f17ca7f22f4418b2d9b
Author: François Tigeot <ftigeot@wolfpond.org>
Date: Thu Mar 22 19:17:48 2012 +0100
Kernel - Completely remove DFLTPHYS
* There is no need to have two different macros define the maximum
allowed IO size for low-level operations; replace DFLTPHYS by
MAXPHYS in the entire kernel.
* Old drivers typically used DFLTPHYS without a second thought,
assuming it would always be the same value; they may have hard
limitations and break if bigger I/O sizes are suddenly used.
Be sure to explicitely limit their maximum allowed I/O size to
64KB and keep them working.
Summary of changes:
share/examples/scsi_target/scsi_target.c | 2 +-
share/man/man9/physio.9 | 2 +-
sys/bus/cam/cam_periph.c | 6 +++---
sys/bus/firewire/fwmem.c | 2 +-
sys/cpu/i386/include/param.h | 3 +--
sys/cpu/x86_64/include/param.h | 3 +--
sys/dev/disk/md/md.c | 2 +-
sys/dev/disk/nata/ata-disk.c | 2 +-
sys/dev/disk/nata/atapi-cd.c | 2 +-
sys/dev/disk/nata/atapi-fd.c | 2 +-
sys/dev/disk/nata/atapi-tape.c | 4 ++--
sys/dev/raid/ida/ida_disk.c | 2 +-
sys/kern/kern_physio.c | 4 ++--
sys/kern/vfs_mount.c | 2 +-
sys/vfs/devfs/devfs_vnops.c | 2 +-
sys/vfs/hpfs/hpfs_vnops.c | 4 ++--
sys/vfs/mfs/mfs_vfsops.c | 2 +-
17 files changed, 22 insertions(+), 24 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d83666e0134c4fe447b61f17ca7f22f4418b2d9b
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]