linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Large no.of extents for a single small file with a fresh RAID5 setup
@ 2017-02-18  2:07 Lakshmipathi.G
       [not found] ` <678a9608-8f42-119c-7fd3-69fbae31bfab@cn.fujitsu.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Lakshmipathi.G @ 2017-02-18  2:07 UTC (permalink / raw)
  To: linux-btrfs

Hi,

With RAID5, using 3 loop-back devices each has 4GB. On a fresh setup, created a 2mb file.
While checking no.of extents,it shows like:

# ./btrfs-debugfs -f /mnt/file2m.txt 
(257 0): ram 110592 disk 145227776 disk_size 114688
(257 110592): ram 4096 disk 145461248 disk_size 4096
(257 114688): ram 114688 disk 145342464 disk_size 118784
(257 229376): ram 712704 disk 145620992 disk_size 716800
(257 942080): ram 4096 disk 145096704 disk_size 4096
(257 946176): ram 737280 disk 146407424 disk_size 741376
(257 1683456): ram 413696 disk 147193856 disk_size 413696
file: /mnt/file2m.txt extents 7 disk size 2113536 logical size 2097152 ratio 0.99

Is this expected behaviour? Is there any mount option to minimize no.of extents for
a smaller file?

Cheers.
Lakshmipathi.G

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-21 10:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-18  2:07 Large no.of extents for a single small file with a fresh RAID5 setup Lakshmipathi.G
     [not found] ` <678a9608-8f42-119c-7fd3-69fbae31bfab@cn.fujitsu.com>
2017-02-20 14:07   ` Lakshmipathi.G
     [not found]     ` <af2aba3e-467d-6546-e9a0-e8bcc460fbd2@cn.fujitsu.com>
2017-02-21  9:22       ` Lakshmipathi.G
     [not found]         ` <1b567b5e-8035-33ce-ddd2-2e19065044c6@cn.fujitsu.com>
2017-02-21 10:14           ` Lakshmipathi.G

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).