[ ssic-linux-Bugs-1766275 ] Can't migrate if remote shm seg open - reop_export_path erro

"SourceForge.net" <[email protected]>
Newsgroups gmane.linux.cluster.ssic.devel
Message-ID <[email protected]>
Bugs item #1766275, was opened at 2007-08-02 17:44
Message generated for change (Settings changed) made by hughesj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=405834&aid=1766275&group_id=32541

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IPC
Group: v1.9.2
Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: John Hughes (hughesj)
Assigned to: Nobody/Anonymous (nobody)
Summary: Can't migrate if remote shm seg open - reop_export_path erro

Initial Comment:
If a process attaches to a remote shm segment then tries to migrate then we get "reop_export_path: Can't export unlinked file /SYSV7a6d2001 (deleted)" and the migration fails.



----------------------------------------------------------------------

Comment By: John Hughes (hughesj)
Date: 2007-08-03 12:50

Message:
Logged In: YES 
user_id=166336
Originator: YES

Whoops, poor coordination - just checked in a fix that does more or less
what Rogers patch below does.  Works for me.

----------------------------------------------------------------------

Comment By: Roger Tsang (rogertsang)
Date: 2007-08-03 06:12

Message:
Logged In: YES 
user_id=1246761
Originator: NO

Attached patch for kernel tests path for shared memory before trying to
export as a file.
File Added: cluster_ssi_vproc_reopen.c.patch

----------------------------------------------------------------------

Comment By: John Hughes (hughesj)
Date: 2007-08-02 17:48

Message:
Logged In: YES 
user_id=166336
Originator: YES

reop_export_path is testing for deleted file before shared memory seg. 
Code in reop_import_path looks for shared memory (in fact any file called
/SYSVxxxxxxxx) first.   Maybe fix by reordering code in reop_export_path.


----------------------------------------------------------------------

Comment By: John Hughes (hughesj)
Date: 2007-08-02 17:46

Message:
Logged In: YES 
user_id=166336
Originator: YES

(bug split off from 1764324)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=405834&aid=1766275&group_id=32541

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.