From mboxrd@z Thu Jan 1 00:00:00 1970 From: Theodore Tso Subject: Re: very poor ext3 write performance on big filesystems? Date: Mon, 18 Feb 2008 10:35:01 -0500 Message-ID: <20080218153501.GE25098@mit.edu> References: <47B980AC.2080806@wpkg.org> <20080218141640.GC12568@mit.edu> <47B99E0C.8020706@wpkg.org> <20080218151632.GD25098@mit.edu> <20080218155725.GB26622@one.firstfloor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Tomasz Chmielewski , LKML , LKML To: Andi Kleen Return-path: Received: from www.church-of-our-saviour.org ([69.25.196.31]:49023 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752271AbYBRPfT (ORCPT ); Mon, 18 Feb 2008 10:35:19 -0500 Content-Disposition: inline In-Reply-To: <20080218155725.GB26622@one.firstfloor.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, Feb 18, 2008 at 04:57:25PM +0100, Andi Kleen wrote: > > Use cp > > or a tar pipeline to move the files. > > Are you sure cp handles hardlinks correctly? I know tar does, > but I have my doubts about cp. I *think* GNU cp does the right thing with --preserve=links. I'm not 100% sure, though --- like you, probably, I always use tar for moving or copying directory hierarchies. - Ted