⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 progress

📁 openGFS , a kind of file system.
💻
字号:
I do believe it is time for a progress update on GNBD.  Most of theinteresting changes reflect towards the cluster goals of gnbd.  There isnow an ioctl that lets you send four different actions to any of theexisting gnbd devices.  These actions let you change the IP and port of theserver, disconnect form a server, connect, and a force-close. (Theforce-close exists mostly for debugging purposes)The single thing that makes this most interesting is that if you send adisconnect, or if contact to the server should die, processes accessingthat device do not die or return errors.  These processes are blocked, andhopefully, sometime soon, a connect will be issued and IO can continuewhere it had left off.Gnbd does not make decisions about the state of the cluster.  It lets othertools handle this, and just [attempts] to give a clean interface for doingit.  The idea being that gnbd is set up and connected to somewhere.Processes are working on the gnbd devices. If there is a loss of access tothe server, some other process (like, say heartbeat) will detect this, andeither find a new server that has the same data, or wait for the otherserver to return from death.The latest gnbd is in the OpenGFS cvs,<http://opengfs,sourceforge.net> On how to get thesources from there.  If enough people want, I'll pull out just gnbd, andmake its own tar ball.I have only just done basic testing of all of this.  I'm about to startgoing into more detailed testing, and would greatly appreciate if otherswould also play with gnbd.  It would also be nice if people could tell mewhat other features they would like to see. (Actually, if you have featurerequests, you can add them to the sourceforge bugtracker<http://opengfs.sourceforge.net/> bugs you find can go there too)And I'd love to give you all some really great documentation on how to usegnbd.  But alas, none exists.  Most things are explained pretty well in thesource, and if not, I'll be glad to answer questions.-------------------------------7/21/00 Ben Marzinski (marz0016@sistina.com)O.k. now that gnbd has been taken back out of the closet, there is another(growing) list of things to do.1. Massive overhaul on the kernel server. It currently messes up the process   table and only works on i386 machines through some gross hack. It currently   doesn't work on alphas.2. Find some workaround for the client server on one machine problem. Currently   if both the client and servr are on one machine, it will lock-up on any   nice sized IO request.These two problems together probably warrent a big reworking of both the clientand the server.3. Register gnbd block devices on /proc/partitions so that it is possible to use   them in pools4. Find bugs. Fix bugsand more to come.-------------------------2000/07/31gnbd devices now register on /proc/partitions. To do this, install the module,# insmod gnbd.oset the ip address and port# gnbdtool SetIPPort /dev/gnbdb <some ip address> <some port>yes, /dev/gnbdb used to be called /dev/gnbd1. Finally connect to the server# gnbdtool Connect /dev/gnbdbThis just brings up a momentary connection, so that the gnbd client can getthe size information off of the server.Then check /proc/partitions, and it should be there.I don't believe you can actually partition this device, nor do I know just whatbad things would happen if you actually succeeded.And more things to add to my already backlogged list5. Fix the states in /proc/gnbd (just for fun)6. Write up documentation-------------------------2000/08/08The process handling is much prettier now. The gross hack was removed, andeverything should work fine on all platforms. (knock on plastic) The next bunchof commits will probably be bux fixes for bugs that come up during hardcoretesting. It'll probably also involve beefing up /proc/gnbd (it the future itmight even contain information that is correct AND useful!).  There's still theissue with a client and server on the same machine, which I'm putting off aslong as possible on account of it being hard (I think.. anyone with brightideas is more than welcome to tell me)also look for real documentation soon!!!!-------------------------2001/09/01Became part of OpenGFS after sistina turned into the bad guys-------------------------2001/12/01	Christoph HellwigMoved into it's own package

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -