Re: ext4: indirect block allocations not sequential in 3.4.67 and 3.11.7

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

 



On Wed, Jan 15, 2014 at 03:32:05PM -0500, Benjamin LaHaise wrote:
> I tried a few tests setting goal to different things, but evidently I'm 
> not managing to convince mballoc to put the file's data close to my goal 
> block, something in that mess of complicated logic is making it ignore 
> the goal value I'm passing in.

It appears that ext4_new_meta_blocks() essentially ignores the goal block 
specified for metadata blocks.  If I hack around things and pass in the 
EXT4_MB_HINT_TRY_GOAL flag where ext4_new_meta_blocks() is called in 
ext4_alloc_blocks(), then it will at least try to allocate the block 
specified by goal.  However, if the block specified by goal is not free, 
it ends up allocating blocks many megabytes away, even if one is free 
within a few blocks of goal.

		-ben
-- 
"Thought is the essence of where you are now."
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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