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

List:       linux-ext4
Subject:    [Ext2-devel] [lkml FW]: ext3 reservation strangeness?!
From:       Karl Vogel <karl.vogel () seagha ! com>
Date:       2004-10-26 9:59:21
Message-ID: 6DED3619289CD311BCEB00508B8E133601A68E8D () nt-server2 ! antwerp ! seagha ! com
[Download RAW message or body]

Originally posted to LKML.. but this ML is better suited I guess.

-----Original Message-----
When copying a file on 2.6.9-mm1 with the ext3 reservation code,
I noticed that there were a lot of fragments. Doing the same when
the filesystem is mounted with 'noreservation' seems to produce
better results?! Or am I interpreting this incorrectly?

Example:

[root@kvo kvo]# ls -l t
-rw-r--r--  1 root root 8228490 Oct 23 14:45 t

Copying this file with reservation code active:

[root@kvo kvo]# mount -t ext3 -o commit=60,reservation /dev/sda1 /mnt
[root@kvo kvo]# cp t /mnt
[root@kvo kvo]# filefrag /mnt/t
/mnt/t: 129 extents found, perfection would be 1 extent
[root@kvo kvo]# rm -f /mnt/t
[root@kvo kvo]# umount /mnt

While doing the same with 'noreservation' produces only 2 extents:

[root@kvo kvo]# mount -t ext3 -o commit=60,noreservation /dev/sda1 /mnt
[root@kvo kvo]# cp t /mnt
[root@kvo kvo]# filefrag /mnt/t
/mnt/t: 2 extents found, perfection would be 1 extent
[root@kvo kvo]# rm -f /mnt/t


There was enough free diskspace available:

[root@kvo kvo]# df /mnt
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1             76904352  25383252  47614496  35% /mnt



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Ext2-devel mailing list
Ext2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ext2-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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