On Sat, Dec 28, 2002 at 08:39:32PM +0100, [EMAIL PROTECTED] wrote:
> 22 is EINVAL, so likely cause is a bogus offset. Either unaligned or
> out of range. Unfortunately the above messages does not contain the
> offset of the I/O operation.
>
> Suggest you ammend one or more of the relevant printfs to also printout
> the offset at which the I/O operation was attempted.
You mean like this?
--- spec_vnops.c.orig Sat Dec 28 11:46:07 2002
+++ spec_vnops.c Sat Dec 28 14:46:46 2002
@@ -958,6 +958,9 @@
printf(
" nread: %d, reqpage: %d, pindex: %lu, pcount: %d\n",
nread, ap->a_reqpage, (u_long)m->pindex, pcount);
+ printf(
+ " offset: %llu\n",
+ offset);
/*
* Free the buffer header back to the swap buffer pool.
*/
--
Jos Backus _/ _/_/_/ Sunnyvale, CA
_/ _/ _/
_/ _/_/_/
_/ _/ _/ _/
jos at catnook.com _/_/ _/_/_/ require 'std/disclaimer'
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message