[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd/nfs ChangeLog main.c mount.c mount.h nfs-s... [mmenal-soc2006-nfs-b
From: |
Manuel Menal |
Subject: |
hurd/nfs ChangeLog main.c mount.c mount.h nfs-s... [mmenal-soc2006-nfs-branch] |
Date: |
Mon, 03 Jul 2006 20:48:34 +0000 |
CVSROOT: /sources/hurd
Module name: hurd
Branch: mmenal-soc2006-nfs-branch
Changes by: Manuel Menal <mmenal> 06/07/03 20:48:33
Modified files:
nfs : ChangeLog main.c mount.c mount.h nfs-spec.h
nfs.c nfs.h ops.c rpc.c
Log message:
2006-07-03 Manuel Menal <address@hidden>
* README: New file.
* main.c (OPT_NFS_VERSION, OPT_MNT_TRANSP, OPT_NFS_TRANSP,
OPT_DEBUG): New option keys.
(startup_options): Add --nfs-version, --mount-transport,
--nfs-transport and --debug-file switches.
(parse_startup_opt): Parse OPT_NFS_VERSION, OPT_MNT_TRANSP,
OPT_NFS_TRANSP and OPT_DEBUG option keys.
* nfs.h: Renamed main_udp_socket to main_socket.
* mount.c (mount_root): Likewise.
* rpc.c (conduct_rpc, rpc_receive_thread): Likewise.
* main.c (main): Move main socket creation...
* mount.c (mount_root): ... here.
* nfs.h (mount_transport, nfs_transport): New variables.
* mount.c (mount_root): Use UDP or TCP for mount/NFS according
to
OPT_NFS_TRANSP and OPT_MNT_TRANSP.
* nfs.h (read_lock): New variable.
* main.c (read_lock): Initialize.
(main): Lock read_lock at startup.
* mount.c (mount_root): Lock/unlock when main_socket is
connected/disconnected.
* rpc.c (rpc_receive_thread): Lock/unlock before/after read().
* mount.c (mount_root): Use mount_version instead of MOUNTVERS
and
protocol_version instead of NFS_VERSION.
(mount_initialize_rpc): Likewise.
* nfs.c (nfs_initialize_rpc): Likewise.
* mount.h (MOUNTVERS): Removed macro.
* nfs-spec.h (NFS_VERSION): Likewise.
* nfs.h (xdr_encode_fhandle): Implement for NFSv3.
(xdr_decode_fhandle): Likewise.
* rpc.c (conduct_rpc): Return an error when the RPC was not
entirely
transmitted.
(rpc_receive_thread): Skip 0-character read().
* nfs.h (DEBUG): New macro.
(debug): New variable.
* main.c: Add debug statements.
(main): Ignore SIGPIPE for debugging purposes.
(main): Move netfs_init() call after the mount phase.
(initial_transmit_timeout): Change from 1 to 10 seconds.
* mount.c: Likewise.
* nfs.c: Likewise.
* ops.c: Likewise.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd/nfs/ChangeLog?cvsroot=hurd&only_with_tag=mmenal-soc2006-nfs-branch&r1=1.48&r2=1.48.4.1
http://cvs.savannah.gnu.org/viewcvs/hurd/nfs/main.c?cvsroot=hurd&only_with_tag=mmenal-soc2006-nfs-branch&r1=1.31&r2=1.31.4.1
http://cvs.savannah.gnu.org/viewcvs/hurd/nfs/mount.c?cvsroot=hurd&only_with_tag=mmenal-soc2006-nfs-branch&r1=1.27&r2=1.27.4.1
http://cvs.savannah.gnu.org/viewcvs/hurd/nfs/mount.h?cvsroot=hurd&only_with_tag=mmenal-soc2006-nfs-branch&r1=1.5&r2=1.5.4.1
http://cvs.savannah.gnu.org/viewcvs/hurd/nfs/nfs-spec.h?cvsroot=hurd&only_with_tag=mmenal-soc2006-nfs-branch&r1=1.2&r2=1.2.4.1
http://cvs.savannah.gnu.org/viewcvs/hurd/nfs/nfs.c?cvsroot=hurd&only_with_tag=mmenal-soc2006-nfs-branch&r1=1.27&r2=1.27.4.1
http://cvs.savannah.gnu.org/viewcvs/hurd/nfs/nfs.h?cvsroot=hurd&only_with_tag=mmenal-soc2006-nfs-branch&r1=1.18&r2=1.18.4.1
http://cvs.savannah.gnu.org/viewcvs/hurd/nfs/ops.c?cvsroot=hurd&only_with_tag=mmenal-soc2006-nfs-branch&r1=1.44&r2=1.44.4.1
http://cvs.savannah.gnu.org/viewcvs/hurd/nfs/rpc.c?cvsroot=hurd&only_with_tag=mmenal-soc2006-nfs-branch&r1=1.12&r2=1.12.4.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd/nfs ChangeLog main.c mount.c mount.h nfs-s... [mmenal-soc2006-nfs-branch],
Manuel Menal <=