diff options
| author | manu <manu@NetBSD.org> | 2010-09-15 01:51:43 +0000 |
|---|---|---|
| committer | manu <manu@NetBSD.org> | 2010-09-15 01:51:43 +0000 |
| commit | e9a8a6acc0a0a4b16fa436f090ac496a42fc6561 (patch) | |
| tree | c67652052a60be77db20dcb28a92403cf959509b /lib/libperfuse/debug.c | |
| parent | 812c2930866ec3d4deba7f508cf7530d264c9b9c (diff) | |
- Use SOCK_DGRAM instead of SOCK_STREAM, as the filesystem seems to
assume datagram semantics: when using SOCK_STREAM, if perfused sends
frames faster than the filesystem consumes them, it will grab multiple
frames at once and discard anything beyond the first one. For now the
code can work both with SOCK_DGRAM and SOCK_STREAM, but SOCK_STREAM
support will probably have to be removed for the sake of readability.
- Remeber to sync parent directories when moving a node
- In debug output, display the requeue type (readdir, write, etc...)
Diffstat (limited to 'lib/libperfuse/debug.c')
| -rw-r--r-- | lib/libperfuse/debug.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libperfuse/debug.c b/lib/libperfuse/debug.c index 786e858dc79..54572591675 100644 --- a/lib/libperfuse/debug.c +++ b/lib/libperfuse/debug.c @@ -1,4 +1,4 @@ -/* $NetBSD: debug.c,v 1.1 2010/08/25 07:16:00 manu Exp $ */ +/* $NetBSD: debug.c,v 1.2 2010/09/15 01:51:43 manu Exp $ */ /*- * Copyright (c) 2010 Emmanuel Dreyfus. All rights reserved. @@ -79,6 +79,8 @@ const struct perfuse_opcode perfuse_opcode[] = { { 0, "UNKNOWN" }, }; +const char *perfuse_qtypestr[] = { "READDIR", "READ", "WRITE", "AFTERWRITE" }; + const char * perfuse_opname(opcode) int opcode; |
