lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m3slfjzw6i.fsf@bzzz.home.net>
Date:	Wed, 13 Dec 2006 17:51:01 +0300
From:	Alex Tomas <alex@...sterfs.com>
To:	Valerie Clement <valerie.clement@...l.net>
Cc:	Alex Tomas <alex@...sterfs.com>, linux-ext4@...r.kernel.org
Subject: Re: [RFC] ext4-locality-groups patch

>>>>> Valerie Clement (VC) writes:

 VC> Alex Tomas wrote:
 >>>>>>> Valerie Clement (VC) writes:
 >> 
 VC> Hi Alex,
 VC> I did the following test:
 VC> # mkfs /dev/sdc1
 VC> # mount -t ext4dev -o extents,mballoc,delalloc /dev/sdc1 /test
 VC> # dumpe2fs -h /dev/sdc1
 VC> # cp linux.tar /test
 VC> # tar xf /test/linux.tar
 VC> # dumpe2fs -h /dev/sdc1
 >> 
 VC> The "Free blocks" and "Free inodes" counters in the dumpe2fs output
 VC> did not change after running the cp and tar commands.
 >> 
 >> sync should help, I think.

 VC> No, I've just tried, it does not change anything.
 VC>   Valérie

not sure ....

[root@tom ~]# mke2fs -m0 -j /dev/sda1 >&/dev/null
[root@tom ~]# mount -t ext4dev -o extents,mballoc,delalloc /dev/sda1 /test
[root@tom ~]# dumpe2fs /dev/sda1 >/tmp/before
dumpe2fs 1.39.cfs1 (29-May-2006)
[root@tom ~]# dd if=/dev/zero of=/test/f bs=1M count=20
20+0 records in
20+0 records out
[root@tom ~]# dumpe2fs /dev/sda1 >/tmp/after1
dumpe2fs 1.39.cfs1 (29-May-2006)
[root@tom ~]# sync
[root@tom ~]# dumpe2fs /dev/sda1 >/tmp/after2
dumpe2fs 1.39.cfs1 (29-May-2006)
[root@tom ~]# diff -pu /tmp/before /tmp/after1 
--- /tmp/before 2006-12-13 14:39:42.541828787 +0300
+++ /tmp/after1 2006-12-13 14:39:59.602086138 +0300
@@ -45,9 +45,9 @@ Group 0: (Blocks 0-32767)
   Reserved GDT blocks at 2-245
   Block bitmap at 246 (+246), Inode bitmap at 247 (+247)
   Inode table at 248-752 (+248)
-  15607 free blocks, 16149 free inodes, 2 directories
+  15607 free blocks, 16148 free inodes, 2 directories
   Free blocks: 17161-32767
-  Free inodes: 12-16160
+  Free inodes: 13-16160
 Group 1: (Blocks 32768-65535)
   Backup superblock at 32768, Group descriptors at 32769-32769
   Reserved GDT blocks at 32770-33013
[root@tom ~]# diff -pu /tmp/after1 /tmp/after2 
--- /tmp/after1 2006-12-13 14:39:59.602086138 +0300
+++ /tmp/after2 2006-12-13 14:40:05.592176495 +0300
@@ -45,8 +45,8 @@ Group 0: (Blocks 0-32767)
   Reserved GDT blocks at 2-245
   Block bitmap at 246 (+246), Inode bitmap at 247 (+247)
   Inode table at 248-752 (+248)
-  15607 free blocks, 16148 free inodes, 2 directories
-  Free blocks: 17161-32767
+  10487 free blocks, 16148 free inodes, 2 directories
+  Free blocks: 17161-22527, 27648-32767
   Free inodes: 13-16160
 Group 1: (Blocks 32768-65535)
   Backup superblock at 32768, Group descriptors at 32769-32769
[root@tom ~]# 


try to repeat with a single file?

thanks, Alex
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ