From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754204Ab0CDAcg (ORCPT ); Wed, 3 Mar 2010 19:32:36 -0500 Received: from bld-mail18.adl2.internode.on.net ([150.101.137.103]:42607 "EHLO mail.internode.on.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752331Ab0CDAca (ORCPT ); Wed, 3 Mar 2010 19:32:30 -0500 Date: Thu, 4 Mar 2010 11:31:53 +1100 From: Dave Chinner To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Alex Elder , xfs-masters@oss.sgi.com Subject: Re: [PATCH mmotm] xfs: needs LIST_SORT Message-ID: <20100304003153.GD14317@discord.disaster> References: <201003030305.o2335F1F015917@imap1.linux-foundation.org> <4B8EB545.8060806@oracle.com> <20100303232522.GC14317@discord.disaster> <4B8EF231.60008@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B8EF231.60008@oracle.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 03, 2010 at 03:35:13PM -0800, Randy Dunlap wrote: > On 03/03/10 15:25, Dave Chinner wrote: > > On Wed, Mar 03, 2010 at 11:15:17AM -0800, Randy Dunlap wrote: > >> From: Randy Dunlap > >> > >> xfs uses list_sort (library function), so it needs to select it. > >> Fixes these build errors: > >> fs/xfs/linux-2.6/xfs_buf.c:1918: undefined reference to `list_sort' > >> fs/xfs/linux-2.6/xfs_buf.c:1996: undefined reference to `list_sort' > >> fs/xfs/linux-2.6/xfs_buf.c:1950: undefined reference to `list_sort' > >> > >> Signed-off-by: Randy Dunlap > >> --- > >> fs/xfs/Kconfig | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> --- mmotm-2010-0302-1838.orig/fs/xfs/Kconfig > >> +++ mmotm-2010-0302-1838/fs/xfs/Kconfig > >> @@ -2,6 +2,7 @@ config XFS_FS > >> tristate "XFS filesystem support" > >> depends on BLOCK > >> select EXPORTFS > >> + select LIST_SORT > >> help > >> XFS is a high performance journaling filesystem which originated > >> on the SGI IRIX platform. It is completely multi-threaded, can > > > > Looks OK, but when and why did a config option get introduced for > > this? > > no idea. Hmmm - google finds it easily enough. It was the third patch in the second version of the list_sort() optimise series. I don't recall seeing that version and I can't find it in my archives, so maybe it got dropped somewhere along the way to me. > > FWIW, did UBIFS and DRM also get this select line added to them? > > I just checked and both of those already select LIST_SORT. > (in -mmotm) Thanks for checking, Randy. Cheers, Dave. -- Dave Chinner david@fromorbit.com