Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758032Ab3GWUwb (ORCPT ); Tue, 23 Jul 2013 16:52:31 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:40168 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756398Ab3GWUwa (ORCPT ); Tue, 23 Jul 2013 16:52:30 -0400 Date: Tue, 23 Jul 2013 13:52:29 -0700 From: Greg Kroah-Hartman To: "Dilger, Andreas" Cc: Peng Tao , "linux-kernel@vger.kernel.org" , Peng Tao Subject: Re: [PATCH 02/48] staging/lustre/obdclass: restore lu_ref Message-ID: <20130723205229.GA11261@kroah.com> References: <20130723193712.GA9385@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1264 Lines: 30 On Tue, Jul 23, 2013 at 08:31:15PM +0000, Dilger, Andreas wrote: > On 2013/07/23 1:37 PM, "Greg Kroah-Hartman" > wrote: > > >On Tue, Jul 23, 2013 at 12:06:23AM +0800, Peng Tao wrote: > >> lu_ref.[ch] were mistakenly removed by coan2. Add them back and guard > >> with CONFIG_LUSTRE_DEBUG_LU_REF_CHECK. > > > >Ick, why? Why not use the in-kernel infrastructure for this type of > >thig, _iff_ you really need it. > > > >Why do you need this at all, isn't the reference code fully debugged by > >now, given that this has been running for years? I would only expect to > >see something like this in new code that is still being developed. > > Lustre is still being developed, so it is useful to be able to enable this > debugging to catch any new problems that are introduced. Ok, then use the in-kernel infrastructure for this type of thing, don't roll your own and add custom stuff that will later just have to be ripped out and converted to use the in-kernel stuff. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/