Subject: CVS commit: syssrc/sys/compat/irix
To: None <source-changes@netbsd.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 03/28/2002 20:45:29
Module Name: syssrc
Committed By: manu
Date: Thu Mar 28 18:45:28 UTC 2002
Modified Files:
syssrc/sys/compat/irix: irix_swap.c
Log Message:
Fixed the swap block size problem: the swap block size as used in struct
swapent, or as seen in userland, is dbtob(1), which turns to be 512 for all
arch for now.
In struct swapdev, there is another field for block size. This value is private
to uvm_swap.c and is only used for swap I/O on regular files. It is equal to
the underlying device block size and it is not necessarily 512.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 syssrc/sys/compat/irix/irix_swap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.