summaryrefslogtreecommitdiff
path: root/hurd/shared.h
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-04-29 20:38:49 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-04-29 20:38:49 +0000
commit43f79ae165ee9996a5773f1c359f570e98e1b331 (patch)
treed5349d538e15effd4b49f9d254965614012c0503 /hurd/shared.h
parent5e53144222d3a2134822abeb8aa40d55561dd14f (diff)
entered into RCS
Diffstat (limited to 'hurd/shared.h')
-rw-r--r--hurd/shared.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/hurd/shared.h b/hurd/shared.h
index 3fa3068e..a63cdb91 100644
--- a/hurd/shared.h
+++ b/hurd/shared.h
@@ -65,6 +65,11 @@ struct shared_io
int use_read_size; /* read_size is meaningful */
off_t read_size;
+ size_t optimal_transfer_size; /* users should try to have the
+ arguments to io_prenotify, etc. be
+ multiples of this value if it is
+ nonzero. */
+
enum
{
/* This means that there isn't any data to be read */
@@ -89,10 +94,12 @@ struct shared_io
int use_prenotify_size; /* prenotify_size is meaningful */
int use_postnotify_size; /* postnotify_size is meaningful */
-
+ int use_readnotify_size; /* readnotify_size is meaningful */
+
off_t prenotify_size;
off_t postnotify_size;
-
+ off_t readnotify_size;
+
/* These are set by both the IO server and the user: */