From: Alex Zhuravlev Date: Wed, 25 Mar 2009 11:33:12 +0300 Subject: [Lustre-devel] WBC HLD outline In-Reply-To: <200903251117.48986.alexander.zarochentsev@sun.com> References: <200903240058.30343.alexander.zarochentsev@sun.com> <0B02BFB6-2461-48E7-A572-946898BAC9B0@sun.com> <200903251117.48986.alexander.zarochentsev@sun.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lustre-devel@lists.lustre.org >>>>> Alexander Zarochentsev (AZ) writes: AZ> On 24 March 2009 02:17:33 Robert Read wrote: >> Hi Zam, >> > MD update: a part of MD operation to be executed on one server, >> > contains one or more MDS/RAW operations. >> >> Why does the client need to to be more granular than an update? It >> seems MDS/Raw and update should be the same. AZ> well, better to say an update is MDS op if the operation touch only one AZ> MD server and MDS/Raw op in case of distributed operation. I think this just adds unneeded entity to the system. stating that we either have updates or operations is simpler. >> Isn't this essentially what the cmm is doing today? (Breaking down >> distributed operations into per-node updates?) Are you expanding on >> Alex's idea of creating a new generic MD server stack? AZ> I just doubt that cmm code reuse is worth MD stack relayering. Can it be AZ> done as a subtask later? I don't think CMM is right thing because it essentially breaks layering: instead of sending object creation request in terms of OSD API or index insert in terms of OSD API it introduces some intermediate thing which is neither operation nor update. >> You mean by keeping the original operation info in the undo logs? AZ> I meant the servers receive not updates but whole operations. If the AZ> client failed and didn't send an update to some of the servers, the AZ> operation can be completed w/o the client. It is an alternative to AZ> undoing of partial updates. same can be done with updates if you send them through single server. and you don't need to put additional cpu processing to parse operation into updates. thanks, Alex