|
|
[SSI] openssi/kernel/cluster/ssi/cfs cfs.x,1.5,1.6 cfs_ipcshm.c,1.2,1.3 cfs: msg#00139
|
Subject: |
[SSI] openssi/kernel/cluster/ssi/cfs cfs.x,1.5,1.6 cfs_ipcshm.c,1.2,1.3 cfs_mnthooks.c,1.4,1.5 cfsproc.c,1.1.2.5,1.1.2.6 |
Update of /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/cfs
In directory sc8-pr-cvs1:/tmp/cvs-serv7084/openssi/kernel/cluster/ssi/cfs
Modified Files:
Tag: OPENSSI-RH
cfs.x cfs_ipcshm.c cfs_mnthooks.c cfsproc.c
Log Message:
M openssi/kernel/cluster/ssi/cfs/cfs_ipcshm.c
M openssi/kernel/cluster/ssi/cfs/cfs_mnthooks.c
M openssi/kernel/cluster/ssi/cfs/cfsproc.c
M openssi/kernel/cluster/ssi/cfs/cfs.x
M ci/kernel/include/cluster/nsc.h
M ci/kernel/include/cluster/rpc/xdr.h
Modified to set super block s_maxbytes field for CFS filesystems.
Index: cfs.x
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/cfs/cfs.x,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** cfs.x 7 Oct 2003 22:58:24 -0000 1.5
--- cfs.x 23 Oct 2003 23:22:47 -0000 1.6
***************
*** 792,795 ****
--- 792,796 ----
struct cfsdirok root;
arch_ulong uniqueid;
+ arch_ulonglong s_maxbytes;
int32_t ssidev;
opaque pfs_data<PAGE_SIZE>;
Index: cfs_ipcshm.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/cfs/cfs_ipcshm.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cfs_ipcshm.c 3 Oct 2003 23:25:47 -0000 1.2
--- cfs_ipcshm.c 23 Oct 2003 23:22:47 -0000 1.3
***************
*** 252,255 ****
--- 252,256 ----
mip->rpc_ops = &cfs_clientops;
csb->s_root = root;
+ csb->s_maxbytes = argp->s_maxbytes;
mip->mi_flags = 0;
Index: cfs_mnthooks.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/cfs/cfs_mnthooks.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** cfs_mnthooks.c 10 Oct 2003 00:37:06 -0000 1.4
--- cfs_mnthooks.c 23 Oct 2003 23:22:47 -0000 1.5
***************
*** 260,263 ****
--- 260,264 ----
csb->s_root = root;
csb->s_blocksize = psb->s_blocksize;
+ csb->s_maxbytes = psb->s_maxbytes;
csb->s_flags = (psb->s_flags & ~MS_CFS);
mip->mi_flags |= cfs_sb_convert_mount_flags(csb->s_flags);
***************
*** 323,326 ****
--- 324,328 ----
mip->rpc_ops = &cfs_clientops;
csb->s_root = root;
+ csb->s_maxbytes = argp->s_maxbytes;
mip->mi_flags = cfs_sb_convert_mount_flags(csb->s_flags);
***************
*** 408,411 ****
--- 410,414 ----
args.root.cdrok_locknumber = (void *)&(hp->sct_mhold);
args.uniqueid = shm_mnt->mnt_uniqueid;
+ args.s_maxbytes = sb->s_maxbytes;
args.ssidev = sb->s_ssidev;
args.pfs_data.pfs_data_len = 0;
***************
*** 467,470 ****
--- 470,474 ----
args.root.cdrok_locknumber = (void *)&(hp->sct_mhold);
args.uniqueid = mnt->mnt_uniqueid;
+ args.s_maxbytes = sb->s_maxbytes;
args.ssidev = sb->s_ssidev;
if ((args.pfs_data.pfs_data_val = mnt->mnt_sb->s_mnt_info))
Index: cfsproc.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/cfs/cfsproc.c,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -C2 -d -r1.1.2.5 -r1.1.2.6
*** cfsproc.c 7 Oct 2003 22:58:24 -0000 1.1.2.5
--- cfsproc.c 23 Oct 2003 23:22:47 -0000 1.1.2.6
***************
*** 1089,1092 ****
--- 1089,1093 ----
res->rmi_mntargs.root.cdrok_locknumber = (void *)&(hp->sct_mhold);
res->rmi_mntargs.uniqueid = mnt->mnt_uniqueid;
+ res->rmi_mntargs.s_maxbytes = sb->s_maxbytes;
res->rmi_mntargs.ssidev = sb->s_ssidev;
if ((res->rmi_mntargs.pfs_data.pfs_data_val = sb->s_mnt_info))
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
|
| |