Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
[SSI] openssi/kernel/cluster/ssi/vproc reopen.c,1.3,1.4 reopen.x,1.1,1.2: msg#00021
|
Subject: |
[SSI] openssi/kernel/cluster/ssi/vproc reopen.c,1.3,1.4 reopen.x,1.1,1.2 |
Update of /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/vproc
In directory sc8-pr-cvs1:/tmp/cvs-serv5934/cluster/ssi/vproc
Modified Files:
Tag: OPENSSI-RH
reopen.c reopen.x
Log Message:
cluster/ssi/vproc/reopen.x
- added definitions for passing around rmtscm structures
net/socket.c
- convert file pts to fbdata info before calling the sendmsg op
net/unix/af_unix.c
- convert fbdata info to file ptrs before queuing on receiving
socket
cluster/ssi/util/rmtsock.c
cluster/ssi/util/rmtsock.svc
- add a callback routine to rmtsock_recvmsg for reopening files
on node where recvmsg() is called
- fix a bug that improperly freed data that needed to be returned
to the recvmsg() caller
- pass around rmtscm structure, complete with fbdata information
- remove checks preventing remote sendmsg and recvmsg
- ASSERT that ERFB_TRYAGAIN is not returned from any RPC
cluster/ssi/ipc/rmtunix.c
cluster/ssi/ipc/unixnm.svc
- pass around rmtscm structure, complete with fbdata information
- remove checks preventing remote sendmsg
- add routines for converting file ptrs to fbdata and vice versa
cluster/ssi/vproc/reopen.c
- removed a silly performance hack that prevented a file from being
exported and imported on the rmtfb server node
cluster/ssi/ipc/unixnm.c
- include some extra files for building ICS client and server
routines that pass around rmtscm structures
net/unix/garbage.c
- comment some stuff that might need to be clusterized
Index: reopen.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/vproc/reopen.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** reopen.c 28 Aug 2003 23:24:18 -0000 1.3
--- reopen.c 9 Sep 2003 03:02:47 -0000 1.4
***************
*** 567,571 ****
fb_datap->svrnode = cli->rfb_server;
fb_datap->fileid = cli->common.rfb_id;
- fb_datap->ino = inode->i_ino;
rmtfb_putcli(cli);
}
--- 567,570 ----
***************
*** 589,592 ****
--- 588,592 ----
}
+ fb_datap->ino = inode->i_ino;
fb_datap->flags = file->f_flags;
if (!isreg)
Index: reopen.x
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/vproc/reopen.x,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** reopen.x 5 Jun 2003 22:39:45 -0000 1.1
--- reopen.x 9 Sep 2003 03:02:47 -0000 1.2
***************
*** 32,35 ****
--- 32,37 ----
%#include <linux/file.h>
%#include <linux/fs.h>
+ %#include <linux/socket.h>
+ %#include <net/scm.h>
%
#endif /*RPC_HDR*/
***************
*** 46,49 ****
--- 48,57 ----
%}
%
+ %bool_t
+ %xdr_ucred(XDR *xdrs, struct ucred *objp)
+ %{
+ % return xdr_opaque(xdrs, (void *)objp, sizeof(*objp));
+ %}
+ %
#endif /*RPC_XDR*/
***************
*** 121,125 ****
#ifdef RPC_HDR
%#endif /* TYPEDEF_FB_DATAP_T */
! %
%int reop_export_path(
% struct dentry *dentry,
--- 129,159 ----
#ifdef RPC_HDR
%#endif /* TYPEDEF_FB_DATAP_T */
! #endif /* RPC_HDR */
!
! struct rmtscm_fp_list
! {
! arch_int zero; /* ignorant base code will read a zero count */
! arch_ulong magic;
! arch_int count;
! fb_datap_t fb[SCM_MAX_FD];
! };
! %#define RMTSCM_FP_MAGIC 0x0CEA9B4E
!
! struct rmtscm_cookie
! {
! struct ucred creds; /* Skb credentials */
! struct rmtscm_fp_list *fp; /* Passed files */
! arch_ulong seq; /* Connection seqno */
! };
!
! #ifdef RPC_HDR
! %#ifndef TYPEDEF_RMTSCM_COOKIEP_T
! %#define TYPEDEF_RMTSCM_COOKIEP_T
! #endif /* RPC_HDR */
!
! typedef struct rmtscm_cookie *rmtscm_cookiep_t;
!
! #ifdef RPC_HDR
! %#endif /* TYPEDEF_RMTSCM_COOKIEP_T */
%int reop_export_path(
% struct dentry *dentry,
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
|
| |