資源描述:
《porting the arla file system to windows ntnew》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、PortingtheArla?lesystemtoWindowsNTMagnusAhltorpRoyalInstituteofTechnologyahltorp@nada.kth.seLoveH¨ornquist-Astrand?RoyalInstituteofTechnologylha@nada.kth.seAssarWesterlundSwedishInstituteofComputerScienceassar@sics.seAbstractThispaperdescribeshowweportedtheArla?lesystemtoWindow
2、sNT/2000.Win-dowsisverydifferentfromtheplatforms(different?avorsofUnix)thatArlawaswrittenforbefore.Arlaconsistsofacomplexuserlanddaemon(arlad)andarathersimplekernel-module(xfs).ArladneededverylittleworktobeabletoworkonWindowsbecauseweusedCygwin.TheWindowskernel-modulewaswritten
3、fromscratchunderin?uencefromtheearlierUnixkernel-modules.Sinceeverthingwasdifferentittookverylongtimetocompletetheworkwithxfs.Aproblemisthatthereislittleexamplecodeavailabletobeusedasreferenceandinspiration.1IntroductionWritingakerneldriverforanewoperatingsystemisquiteanadventu
4、re.Theba-sicprincipleofhowacomputeroperatesisthesame,butalmosteverythingelsehaschanged.Anewoperatingsystemisanewparadigmandtherearenewcommoncon-structsthatoneneedstolearn.Oftenthisfeelingthataconstructwouldbemucheasiertocreatewiththepreviousoperatingsystembubbletothesurfaceofco
5、nsciousness.Butthereisalsothisnew(sometimesscary)thoughtenteringyourmind:“Wow,thismightbeuseful,almostbeautiful.”.2AFSandCodaAFS[8]wasdevelopedatCarnegieMellonUniversity(CMU).AFSwascreatedaspartofaprototypecomputingenviromentforUniversitiesinacollaborativeeffortbetweenIBMandCar
6、negieMellon.ScalabilityisoneofthemainpropertiesofAFS.Itwasdesignedtohandlemorethen5000concurrentworkstations.OtherimportantfeaturesofAFSislocationtrans-parency,compatibilitywithexistingoperatingsysteminterfaces,andusermobility.Securityisanimportantdesignconsideration,andthemech
7、anismsforitdonotassumethattheworkstationsorthenetworkaresecure.Coda[7]isdesignedwiththesameprinciplesasAFS,butwithemphasisofveryhighavailability.Thisisdonebyusingoptimisticwritingregardingconsistency.3TheArchitectureofArlaTheArlaclientisdividedintotwocomponents,akernelmodule(xf
8、s)andauser-leveldaemon(arlad),see?gure1.Thekernelmodul