[lustre-devel] [PATCH v4] staging: lustre: mdc: manage number of modify RPCs in flight

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Nov 15 02:03:06 PST 2016


On Mon, Nov 14, 2016 at 05:27:00PM +0000, James Simmons wrote:
> 
> > On Mon, Nov 14, 2016 at 04:59:48PM +0000, James Simmons wrote:
> > > 
> > > > On Thu, Nov 10, 2016 at 10:51:13AM -0500, James Simmons wrote:
> > > > > From: Gregoire Pichon <gregoire.pichon at bull.net>
> > > > > 
> > > > > This patch is the main client part of a new feature that supports
> > > > > multiple modify metadata RPCs in parallel. Its goal is to improve
> > > > > metadata operations performance of a single client, while maintening
> > > > > the consistency of MDT reply reconstruction and MDT recovery
> > > > > mechanisms.
> > > > > 
> > > > > It allows to manage the number of modify RPCs in flight within
> > > > > the client obd structure and to assign a virtual index (the tag) to
> > > > > each modify RPC to help server side cleaning of reply data.
> > > > > 
> > > > > The mdc component uses this feature to send multiple modify RPCs
> > > > > in parallel.
> > > > 
> > > > Is this a new feature?  Why should we take this now and not just wait
> > > > until the code is out of staging?
> > > 
> > > Yes on the server side. So the problem on our meta data servers couldn't
> > > handle writing mulitiple bits of data to the back end disk at ths same
> > > time.
> > > 
> > > One client side the issue was the metadata operations were being 
> > > serialized by a mutex in the MDC layer. That is what this patch fixed.
> > > So for the client it would be a performance improvement patch. 
> > 
> > So, it's a "performance" patch, which isn't functionality, so why should
> > we merge this to staging now?  Why aren't people working on the known
> > coding issues to get this out of staging instead of working on
> > performance stuff?
> 
> Because the primary goal which the people at my company, not Intel by 
> the way, wanted was to get this to what is running in production 
> environments so people would actually use the staging client. When it was 
> old and broken no one would touch it with a 10 foot pole. The currently 
> supported verison in production is lustre 2.8.0 so we are only about 30 
> patches away from reaching the goal. I'm going to respond to your other
> email in length about leaving staging. It would be really nice for the
> user base if we can reach that goal.

Ugh, ok, I'll take this, but PLEASE start working to get this tree out
of staging and stop working on adding new features.  The longer you
delay, the more you have to deal with this external/internal tree mess.

greg k-h


More information about the lustre-devel mailing list