Re: Inode and Block Allocation Policy

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

 



On 2012-06-25, at 11:56 AM, Nelson, John R wrote:
> i have a quick question about the block allocation in EXT4. I know that EXT4 trys to allocate the files blocks in the files inodes Block Group. But what does EXT4 do when say you have a 100GB Virtualbox image? Does the block allocator just keep allocating blocks in the groups next to the group the files inode is in?

Yes.

> Now say that the block group has no blocks but tons of free inodes, does the ext4 allocator use another block group to allocate the inode in or does it use the same block group the directorys inode is in despite no free blocks?

It checks the free blocks in addition to the free inodes.

Cheers, Andreas





--
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