Fri Dec 16 10:57:43 2011 UTC ()
Document a bug when processes hang on uvn_fp2. FWIW, hung process exhibit
this stack backtrace:
sleepq_block
mtsleep
uvn_findpage
uvn_findpages
genfs_getpages
puffs_vnop_getpages
puffs_vnop_checkop
VOP_GETPAGES
uvn_get
uvm_fault_internal
trap
copyin
uiomove
ubc_uiomove
puffs_vnop_write
puffs_vnop_checkop
VOP_WRITE
vn_write
dofilewrite
sys_write
syscall


(manu)
diff -r1.5 -r1.6 src/usr.sbin/perfused/perfused.8

cvs diff -r1.5 -r1.6 src/usr.sbin/perfused/perfused.8 (expand / switch to unified diff)

--- src/usr.sbin/perfused/perfused.8 2011/05/10 12:16:18 1.5
+++ src/usr.sbin/perfused/perfused.8 2011/12/16 10:57:43 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: perfused.8,v 1.5 2011/05/10 12:16:18 njoly Exp $ 1.\" $NetBSD: perfused.8,v 1.6 2011/12/16 10:57:43 manu Exp $
2.\" 2.\"
3.\" Copyright (c) 2010 Emmanuel Dreyfus. All rights reserved. 3.\" Copyright (c) 2010 Emmanuel Dreyfus. All rights reserved.
4.\" 4.\"
5.\" Redistribution and use in source and binary forms, with or without 5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions 6.\" modification, are permitted provided that the following conditions
7.\" are met: 7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright 8.\" 1. Redistributions of source code must retain the above copyright
9.\" notice, this list of conditions and the following disclaimer. 9.\" notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\" notice, this list of conditions and the following disclaimer in the 11.\" notice, this list of conditions and the following disclaimer in the
12.\" documentation and/or other materials provided with the distribution. 12.\" documentation and/or other materials provided with the distribution.
13.\" 13.\"
14.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 14.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
@@ -114,21 +114,29 @@ This is used when @@ -114,21 +114,29 @@ This is used when
114.Nm 114.Nm
115is started from 115is started from
116.Xr libperfuse 3 . 116.Xr libperfuse 3 .
117.It Fl s 117.It Fl s
118Enable debug output only when receiving 118Enable debug output only when receiving
119.Li SIGINFO . 119.Li SIGINFO .
120.El 120.El
121.Sh ERRORS 121.Sh ERRORS
122The program logs to the syslog daemon as facility 122The program logs to the syslog daemon as facility
123.Dq daemon . 123.Dq daemon .
124For detailed debugging use the 124For detailed debugging use the
125.Fl d 125.Fl d
126(debug) option. 126(debug) option.
 127.Sh BUGS
 128When
 129.Nm
 130runs in the foreground (using the
 131.Fl f
 132flag), some processes using the FUSE filesystem will
 133sometime hang on
 134.Sq uvn_fp2 .
127.Sh SEE ALSO 135.Sh SEE ALSO
128.Xr mount 2 , 136.Xr mount 2 ,
129.Xr perfuse_mount 3 , 137.Xr perfuse_mount 3 ,
130.Xr puffs 4 138.Xr puffs 4
131.Sh AUTHORS 139.Sh AUTHORS
132The program was written by 140The program was written by
133.An Emmanuel Dreyfus 141.An Emmanuel Dreyfus
134.Aq manu@NetBSD.org . 142.Aq manu@NetBSD.org .