Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx1.redhat.com ([209.132.183.28]:44995 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755583Ab2IYO62 (ORCPT ); Tue, 25 Sep 2012 10:58:28 -0400 Date: Tue, 25 Sep 2012 16:58:11 +0200 From: Karel Zak To: chenditang Cc: util-linux@vger.kernel.org, linux-nfs@vger.kernel.org, Chuck Lever Subject: Re: [QUESTION]about libmount library performance problems Message-ID: <20120925145811.GE22639@x2.net.home> References: <505FBE77.8030802@cn.fujitsu.com> <5061076C.2080707@cn.fujitsu.com> <506110BB.2070408@cn.fujitsu.com> <20120925101031.GB22639@x2.net.home> <20120925103142.GC22639@x2.net.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20120925103142.GC22639@x2.net.home> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Tue, Sep 25, 2012 at 12:31:42PM +0200, Karel Zak wrote: > > On Tue, Sep 25, 2012 at 10:02:35AM +0800, chenditang wrote: > > > Question)*:* merg the tow file are necessary for umount a dir? > > Ah, do you mean -- why we need to merge all the entries when we want > to work with only one mountpoint? That's good question ;-) I'll try > to improve the code... Improved: old version: time ./umount /tmp/mount/2255 real 0m1.254s user 0m1.002s sys 0m0.238s new version: time ./umount /tmp/mount/2244 real 0m0.332s user 0m0.111s sys 0m0.218s Karel -- Karel Zak http://karelzak.blogspot.com