ext4: how to make sure the LBA contiguous allocation across a set of files

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

 



Hallo
I am recently encountering an issue with the ext4 usage case. I want
not only sequentially LBA allocation in a single file, but also expect
that the LBA sequential allocation between the two files, which means
that the last LBA of the previous file should be adjacent to the first
LAB of the block of the next file.

But from my testing, the sequential LBA of block allocation is easily
met, but the LBA sequential allocation between files is not to ext4.
The gab in LBA between two seq write (two files) is very huge,
sometimes the gap is over 2GB space. I notice ext4 never allocates the
LBA of the block between two files sequentially on my usage case.

who knows the reason of this? and if there is a configuration of ext4
related to this scenario? 
or please tell me which ext4 function I should study, and see if I can
find the reason.

thanks in advance for any suggestions.

Thanks,
Lee
 




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux