os_lock_file removal
Hi guys. I'm working on developing a cluster file system and I'd like to simulate concurrent shared storage access using uml and disk files. I traced down the file locking, and it seems that (assuming I have a cluster file system that keeps things up to date in the metadata of the filesystem) if I remove this function I should be able to have more than 1 instance accessing storage at the same time. I realize this is a bit dangerous, since it involves *all* block devices, but I don't see a much better way. COW is not what I'm looking for, and that seems to be the standard answer. Can anyone provide positive or negative feedback on this approach? Possibly a better approach? Thanks, Allan Graves
begin:vcard
fn:Allan Graves
n:Graves;Allan
email;internet:[email protected]
tel;work:603-8973276
x-mozilla-html:FALSE
version:2.1
end:vcard
Quoted 6 lines · Allan Graves
Hi guys. I'm working on developing a cluster file system and I'd like to simulate concurrent shared storage access using uml and disk files. I traced down the file locking, and it seems that (assuming I have a cluster file system that keeps things up to date in the metadata of the filesystem) if I remove this function I should be able to have more than 1 instance accessing storage at the same time.
Feel free to remove it if you personally guarantee that you will not run two UMLs on the same host file without using a clusterfs.
It's purely a safety measure - if you're doing development using scratch filesystems, it's not really benefitting you.
Jeff
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel