[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-nfs
Subject:    Re: [QUESTION]about libmount library performance problems
From:       Karel Zak <kzak () redhat ! com>
Date:       2012-09-25 14:58:11
Message-ID: 20120925145811.GE22639 () x2 ! net ! home
[Download RAW message or body]

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  <kzak@redhat.com>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic