Re: [QUESTION]about libmount library performance problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux