[SSI] openssi/kernel/include/cluster/gen reopen.x,1.6,1.7
Roger Tsang <[email protected]>
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/include/cluster/gen
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23689/include/cluster/gen
Modified Files:
Tag: OPENSSI-FC
reopen.x
Log Message:
CFS:
- Fix possible server token table hash key race with PFS file handle data.
- Further avoid ssi_get_super() to reduce contention. We don't cross mount points.
- Switch to Linux get_empty_filp() to get unused file structure for svrcfstok structure.
- Regression:
- Possible inode leak when out of memory doing export ops get_dentry. (#ifdef CFS_EXPORT_OPS)
- Possibly missed drop_super() while performing export ops get_dentry. (#ifdef CFS_FH_TO_DENTRY_ANON)
IPC:
- Fix uninitialized spin lock in kern_ipc_perm structure (in SSI context).
- Fix uninitialized linked list pointers in unixnm_svr_entry and unixnm_cache_entry structures.
- SHM dentry lookup bug fixes:
- Error -ENOENT in CFS (negative dentry) due to not validating against PFS.
- Fix SHM negative dentry lookup could cause future memory corruption.
- Did not increment inode count when instantiating dentry.
- Bad dentry reference count side-effect due to incorrect return value for Linux namespace architecture.
IPVS:
- Fix uninitialized linked list pointers in ipvs_dirinfo and portweight_list structures.
SSI:
- Fix dentry race calling __d_path() outside dcache lock. (#ifdef SSI_DCACHE_RACE_FIX)
- Fix uninitialized linked list pointers in structures rmtfb_cmn, ssidev_hash, fifonm_svr_entry, fifonm_cache_entry, and ssipty_svr_
entry.
VPROC:
- Fix possibly missed drop_super() during process migration exporting of file descriptors.
- Fix partially initialized proc_root_readdir_cookie structure.
- semundo_load_msg() handle process sysvsem.undo_list->proc_list race take two. (#ifdef VPROC_UNLOAD_SETSCHED_SMP)
- Regression:
- Process migration traversing rmtfb path while importing SHM fd's; caused by fb_svrnode macro. (#ifdef REOP_EXPORT_PATH_SVRNODE)
Index: reopen.x
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/cluster/gen/reopen.x,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- reopen.x 3 Feb 2009 06:18:13 -0000 1.6
+++ reopen.x 19 Feb 2009 08:01:02 -0000 1.7
@@ -114,9 +114,9 @@
filockdata_list_t lckdata_info;
};
-%#ifdef REOP_EXPORT_PATH_SVRNODE
%#ifdef SSI_SOCK_REOP_TYPE
struct fb_data {
+ clusternode_t fb_svrnode;
arch_ulong fileid;
arch_ulong ino;
loff_t pos;
@@ -132,23 +132,7 @@
};
%#else
struct fb_data {
- arch_ulong fileid;
- arch_ulong ino;
- loff_t pos;
- arch_uint flags;
- struct fown_struct f_owner;
-#ifdef NOTYET
- fbtokinfo fbtok; /* fbtok information */
-#endif
- struct pathdata *path;
- arch_char *rfb; /* needed for clean-up */
- mode_t f_mode;
-};
-%#endif /* !SSI_SOCK_REOP_TYPE */
-%#define fb_svrnode path->svrnode
-%#else
-struct fb_data {
- clusternode_t svrnode;
+ clusternode_t fb_svrnode;
arch_ulong fileid;
arch_ulong ino;
loff_t pos;
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H